Running Wordpress Admin Functions from a Cron Job

Running Wordpress Admin Functions from a Cron Job

The quick version?  Include wp-load.php and wp-admin/admin-functions.php in a file in the plugin directory, and point your cron there.  For those of you with nothing important to do, a long winded explanation: I ran into a project a few days ago where the client needed a simple plugin put together – read an xml file, pull [...]

Moving a Wordpress Blog to a New URL

Moving a Wordpress Blog to a New URL

This probably isnt something that comes up too often for the average user – your URL is your identity – so switching them isnt a great choice.  In client work, however, this comes up all the time – development work takes place locally on your computer WAMP/MAMP, or on your server, where the client can [...]

Widgetizing a Wordpress Plugin: Example Widget Code

Widgetizing a Wordpress Plugin:  Example Widget Code

So, every time I need to write a widget for a client, or for a site I’m working on, I have to fire up google. Even though its something I do relatively often, I just can’t seem to remember what exactly I need to hook into, and how to build the actual widget function. Fortunately, this information [...]

Using a Page as Your Posts Page in Wordpress

Using a Page as Your Posts Page in Wordpress

About a year ago, I put together a website for a client – it was for a medium sized company who needed a mostly static CMS for their website.  They wanted to be able to edit all of their pages themselves, but they also wanted a blog style section for news items. Naturally, I suggested Wordpress [...]