Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
2  
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  
+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
add comment

Your Answer

 
discard

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.