WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 5 down vote accepted

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.

share|improve this answer
Absolutely. Post custom meta data is the appropriate place for "Event" meta data such as event date. – Chip Bennett Jan 23 '12 at 17:05
+1 I'd add that for more involved event management a plug-in would make more sense (and be more efficient). For the purpose in the question, meta data would be the way to go. – Stephen Harris Jan 23 '12 at 17:17
Perfect. I didn't used custom fields before. Using "custom field suite" makes it easier to users. – Ivan Jan 23 '12 at 19:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.