WordPress.org

Ready to get started?Download WordPress

Forums

Retrieve posts by post_status ??? (1 post)

  1. writegnj
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.