Automatic Updating

So not sure how often it does do this but according to WordPress you are able to add some filters so that updates automatically happen.  It is best to add these into your child’s functions.php file. add_filter( ‘auto_update_core’,...

Changing The Site URL

So there are times that I go through needing to setup a dev environment and I find that I want to only have to edit the wp-config.php file as to the site’s URL. This allows me to login to the admin area without having to worry about what is in the database for...

Clean Up Orphaned postmeta Data

Sometimes you run into a time where you need to go into the database and delete items from the posts table.  So after doing this you could have a lot of extra data getting stored in the postmeta table that is no longer needed.  This is a simple MySQL command that can...

Creating a Testimonial System using WordPress Creation Kit

First step is to create the Post Type under the Post Type Creator.  Under Supports: you should only leave title checked off.  For post_type in the example I am giving I used ‘wpcmsninja_reviews’ but you can set this to whatever you would like, just need to...

Cron Jobs and WordPress

Occasionally you find the need to have scheduled tasks run in WordPress. Ideally this should be done using WordPress Cron which allows you to tie in with visits to the website as to things being run periodically. The main commands that you will be needing are the...