My client wants to display on his site information about trade shows at which his company will be exhibiting. I know there are lots of event plugins out there, but most of the ones I know about would be overkill for our needs. So, I created a must-use custom Events plugin for this client. One of the requirements was to show both current and past events and to segregate them on the main events “landing” page.
Sometimes it’s hard to see the forest for the trees. In this post in my series on custom post types, I take a step back to discuss the larger issue of custom content – of which the custom post type is, of course, the foundational component.
Custom post types and custom fields are powerful WordPress features that can initially seem intimidating. This is the second in a series of blog posts describing when, why, and how to use them.
Custom post types and custom fields are powerful WordPress features that can initially seem intimidating. This is the first in a series of blog posts describing when, why, and how to use them.
Custom fields in WordPress (meta-data) can be extremely handy for controlling how you display your blog posts. In this article, I describe how I used custom fields — together with modifying the WordPress loop for the site’s front page — to solve a not uncommon problem: When blog posts about events from the far past show up in the “Recent Posts” section of a site’s home page, visitors might react negatively. It’s a little like letting newspapers pile up in your driveway when you’re on vacation: people might think you’re lazy or not home. Deleting such posts isn’t the answer.