Title: Retrieve posts by post_status ???
Last modified: August 20, 2016

---

# Retrieve posts by post_status ???

 *  [writegnj](https://wordpress.org/support/users/writegnj/)
 * (@writegnj)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/retrieve-posts-by-post_status/)
 * added a menu with category that shows all the posts in that category.
 * I want this page to display posts by post_status = ‘publish” ONLY. Right now,
   it displays private posts too when user logged into the site(private posts from
   the user logged in).
 * How do I make a page with publish posts ONLY?
 * thanks in advance.

The topic ‘Retrieve posts by post_status ???’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [writegnj](https://wordpress.org/support/users/writegnj/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/retrieve-posts-by-post_status/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
