Many websites include an “In The News” section — content related to articles, videos, podcasts, etc., that other publishers have published about them. It might be called “News”, “Press”, “Media” or something else. In this post, I explain how and why I converted a blog-based “In The News” section to a custom post type and why this is a good use case for custom post types.
Custom Fields
How to Create a Simple Custom Events Plugin
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.
Dive Into WordPress Custom Post Types – Part 3
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.
Dive Into WordPress Custom Post Types – Part 2
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.
Dive Into WordPress Custom Post Types – Part 1
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.
Use Custom Fields to Hide Stale Posts
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.