Can I exclude Private posts from the Post Grid?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #625710
    Burton Robertson
    Participant

    Trying to use the post grid to list some posts but want exclude certain posts be Tag , Category and/or if the are marked as private.

    Is this possible? How do I do this ?

    Thanks for any help anyone can give.

    #627065
    J. Davis
    Keymaster

    Hi Burt,

    Thank you for your question. You can achieve this by using post queries. You can add it when you switch to Query Type > Custom query in Posts Grid.

    posts grid custom query

    You should add them in format shown under the form like:
    post_status=private&tag=news&cat=1 and if you want to exclude Private posts use post_status=publish&tag=news+sport&cat=1

    Best regards,
    John

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.