Hi I was wondering if it is possible to use parametric search to filter a view by post status.
So...
I create a view that shows posts that are Published, Draft and Pending. The user can then use a filter on the front end to filter down the list to for example show only Draft Posts.
Where:
- You can adjust your number of post status with "values" and "display_values" attributes. Feel free to adjust yourselt.
2)
Edit your current theme's functions.php file and add the following code. To filter the posts by post status we need to use view's filter wpv_filter_query :