Single PHP file to send push notification via OneSignal REST API

Here’s a single php file where you can send a push notification using your OneSignal account via REST API. It’s simple and straightforward using the code example at OneSignal.com. This one is more complete as the code example is just the curl_setopt code. But what if you don’t know how to POST the code from… Continue reading Single PHP file to send push notification via OneSignal REST API

Formidable Calendar Custom Time Slots Per Hour of the Day

Formidable form building is one of the best and most extensive, fully customisable, WordPress plugin out there. You can create all types of forms you can think of. From a simple contact form, to a complex booking form, or even a full-featured user database with lots of filters and search features. But even if Formidable… Continue reading Formidable Calendar Custom Time Slots Per Hour of the Day

Worpress error on line 2 at column 6: XML declaration allowed only at the start of the document

The error on line 2 at column 6: XML declaration allowed only at the start of the document on my WordPress feed is really annoying. I spent more than 10 hours trying to fix this error myself. I’m really frustrated because I’ve tried all the solutions I found online but to no avail. I’m almost… Continue reading Worpress error on line 2 at column 6: XML declaration allowed only at the start of the document

Modify the WordPress Tag Cloud Widget Easily

There are numerous ways of how to modify the WordPress tag cloud widget, but there’s an easy way to modify it. I searched about how to modify such, and landed on different blogs sharing different methods to modify the widget. I also landed on this page which tells everyone to modify the WordPress core. But… Continue reading Modify the WordPress Tag Cloud Widget Easily

Change your PHP handler from mod_php (DSO) to suPHP

Finally, I decided to change my server’s PHP handler to suPHP from mod_php. It’s more secure and I can update my plugins and WordPress files automatically without annoying permission errors. Here’s what my php config looks like after the update: php.conf updated to: # This file was automatically generated by the Cpanel PHP Configuration system… Continue reading Change your PHP handler from mod_php (DSO) to suPHP