WordPress.org

Support

Support » How-To and Troubleshooting » Retrieve posts by post_status ???

Retrieve posts by post_status ???

  • writegnj
    Participant

    @writegnj

    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.