Retrieve posts by post_status ??? (1 post)

  1. writegnj
    Posted 3 years 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


No tags yet.