Title: post_status not filtering
Last modified: July 17, 2022

---

# post_status not filtering

 *  [Owen Parry](https://wordpress.org/support/users/cu3a/)
 * (@cu3a)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/post_status-not-filtering/)
 * I’m using LH Archived Post Status with Display Posts as it recommends the combination.
   LH allows the post_status to be set to ‘archive’ and I have checked this is correct
   in the WP database for posts.
 * Display Posts suggests that a shortcode of [display-posts post_status=”archive”]
   should return only those with that status but in fact I get all posts returned.
 * I can use a custom post type like [display-posts post_status=”archive” post_type
   =”news” ] and get all the ‘news’ posts but still not filter by ‘archive’
 * So is post_status working or not, please?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpost_status-not-filtering%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘post_status not filtering’ 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/)

## Tags

 * [post_status](https://wordpress.org/support/topic-tag/post_status/)

 * 0 replies
 * 1 participant
 * Last reply from: [Owen Parry](https://wordpress.org/support/users/cu3a/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/post_status-not-filtering/)
 * Status: not resolved