Author Archives: Craig Lotter

About Craig Lotter

Craig Lotter is an established web developer and application programmer, with strong creative urges (which keep bursting out at the most inopportune moments) and a seemingly insatiable need to love all things animated. Living in the beautiful coastal town of Gordon's Bay in South Africa, he games, develops, takes in animated fare, trains under the Funakoshi karate style and for the most part, simply enjoys life with his amazing wife and daughter. Oh, and he draws ever now and then too.

WordPress PHP: Get the Month and Year of the Newest Post on Your Blog

wordpress-logo

To retrieve the month and day of the newest post on your blog via PHP (which you could of course include in a function) is relatively simple – in essence all that you are doing is putting in a call … Continue reading

Posted in PHP, Wordpress | Tagged , , , , , , , | Leave a comment

Ubuntu: Simple Folder Backups with Grsync

grsync-icon

Making backups of important folders should become a routine for everyone, simple as that. Back up to another internal drive, back up to a flash disk, back up to an external drive, or back up to an remote source, it … Continue reading

Posted in Ubuntu | Tagged , , , , , | Leave a comment

WordPress: How to Disable Comments on Pages

wordpress-logo

Some WordPress themes come packed with an option to turn on or off comments on pages. However, a lot don’t, and more often than not, you don’t actually want a long comment list on a page, as that is usually … Continue reading

Posted in PHP, Wordpress | Tagged , , , , | Leave a comment

WordPress PHP: How to add URL Querystring Parameters to Your Plugin

wordpress-logo

WordPress is set up such that unknown URL GET parameters are ignored, a nice security/navigation feature to be sure, but an annoying one if you are developing a plugin that needs to allow for GET variables in order to control … Continue reading

Posted in PHP, Wordpress | Tagged , , , , , , , | Leave a comment

WordPress PHP: Get the Month and Year of the Oldest Post on Your Blog

wordpress-logo

To retrieve the month and day of the oldest post on your blog via PHP (which you could of course include in a function) is relatively simple – in essence all that you are doing is putting in a call … Continue reading

Posted in PHP, Wordpress | Tagged , , , , , , , | Leave a comment