WordPress.org

Forums

Query 2 categories for 2 different X amount of days (1 post)

  1. akawero
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic