Help w/ get_posts Date Parameters?
-
I need to display three groups of posts on a page based on date. I’m currently using get_posts() and would prefer to work with it. The three groups are:
1. Upcoming Entries: entries with today’s date or after
2. Past Entries: entries with yesterday’s date or earlier
3. All Entries: display all entries (I already have this)Can this be done with parameters? Or do I need to use filters? How do I go about doing this? Any help will be greatly appreciated. Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Help w/ get_posts Date Parameters?’ is closed to new replies.