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.