Post date vs. event date in WordPress

If I’m creating a WordPress site, what should I do when I have a blog that manages events to keep date events? For instance, in my own case, I’m making a travel blog where some histories have a real date (when I visit some place), but are published in a later date (when I’m at home). I’d like to show the real date but if I set this real date as the post date, the post order is a chaos (I have events that are directly hidden and never showed in the home page, because the date is not among the latest 10 posts).

What should I do? Is there any plugin to help with that? Or maybe I can change my theme listing the posts in a different manner, but how?

1 Answer
1

I’m not sure about a plugin, but you can definitely add custom meta that allows you to set the event date, or even an event daterange (my preferred way of handling this is an event date and a duration, cuts down on calculations in the backend and is generally easier to understand, but ymmv). This allows you to keep your post dates in order while maintaining event dates, and also allows you to query by either of them using WP_Query, should you have that need.

Leave a Comment