WordPress Basics: get recent featured images by category

Sometimes you want to have an image slider which not only contains the most recent images on your site but does so by category to ensure that all of the categories on your site are included: First get the categories: By default thisĀ returns the categories in alphabetical order and ignores any empty ones. That’s fine […]

WordPress hacking: display only future posts

I recently inherited a WordPress site which uses a future posts plugin to allow you to publish posts with dates in the future. ThisĀ is great and a very simple solution for sites that list events but don’t need complex calendar functionality. However, it had no way of automatically removing events listings which were now in […]