hide draft / unpublished posts from query
-
I am looking for a solution to hide draft / private posts from displaying under current research studies on the link provided. Is there a way to exclude draft and private posts from a query for relationship fields.
Preference would be not to touch the plugin’s code because it’ll be overridden if I update it later on. Can i add a function in my own code (e.g., in my functions.php) to achieve the same result?
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘hide draft / unpublished posts from query’ is closed to new replies.