Title: Using a date query
Last modified: January 31, 2017

---

# Using a date query

 *  Resolved [suge1w](https://wordpress.org/support/users/suge1w/)
 * (@suge1w)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/using-a-date-query/)
 * Hello,
 * Great plugin!
 * I’m trying to display all posts that contain a certain taxonomy modified between
   6 months ago and now. How would I do this?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/using-a-date-query/#post-9020616)
 * I’m going to assume the taxonomy is ‘color’ and the taxonomy term is ‘blue’.
 * `[display-posts taxonomy="color" tax_term="blue" date_query_after="-6 months"
   date_column="post_modified"]`

Viewing 1 replies (of 1 total)

The topic ‘Using a date query’ is closed to new replies.

 * ![](https://ps.w.org/display-posts-shortcode/assets/icon-256x256.jpg?rev=2940963)
 * [Display Posts - Easy lists, grids, navigation, and more](https://wordpress.org/plugins/display-posts-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/display-posts-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/display-posts-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/display-posts-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/display-posts-shortcode/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/using-a-date-query/#post-9020616)
 * Status: resolved