WordPress.org

Support

Support » Plugins and Hacks » Query 2 categories for 2 different X amount of days

Query 2 categories for 2 different X amount of days

  • I am trying to query posts for 2 different categories. The first category I want to pull posts that are 30 days old. The second category I want to query posts that are only 14 days old. I found code to do a filter_where but it queries the posts for one amount of days for both categories.

  • The topic ‘Query 2 categories for 2 different X amount of days’ is closed to new replies.