Displaying a list of posts based on their status
-
Is it possible to display a list of posts based on their status? Drafts, Trash, custom post status? In the admin panel it looks like this (you can see the link /wp-admin/edit.php?post_status=pending . But I am trying to achieve the same list in the user panel in the frontend. I have not found how to set the request parameters. Tell us how to do it. Now it is possible to display only posts with the status “published”. But this is not enough
- The topic ‘Displaying a list of posts based on their status’ is closed to new replies.