Using Custom field to store date & retrieve the post based on criteria
Hi wp gurus,
In daily, there will be few posting done by me, and those posting is related to some events.
So the event will have a start date & end date, which is a range of date, and i will store this information in the custom field.
And I would like to present the event in different tab (page).
Example of my posting:
Start Date(yyyymmdd) End Date(yyyymmdd)
Post 1 20100818 20100827
Post 2 20100818 20100829
Post 3 20100819 20100901
So in my wordpress page, I will have 4 different menu tab.
Tab 1 – Current Event
Tab 2 – Event End Today
Tab 3 – Tomorrow Event
Tab 4 – Next week event (list all event fall on next week)
Tab 5 – Upcoming Event (list all future events where event date > today)
Appreciate your helps.
- The topic ‘Using Custom field to store date & retrieve the post based on criteria’ is closed to new replies.