[Support request] Hide posts

Home Forums Support Hide posts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1021385
    Kle

    Hi there,

    Is there a way on GP to hide posts from appearing in the home page/recent posts feed but live nonetheless?

    #1021499
    David
    Staff
    Customer Support

    Hi there,

    you can use the pre_get_posts() function in WordPress to change the loop query.
    What determines which posts are to be removed? e.g specific taxonomy, author, post IDs etc.

    #1022054
    Kle

    Thank you David, I don’t have previous experience with pre_get_posts(), will look into that.

    #1022059
    David
    Staff
    Customer Support

    If you need some assistance then let us know what ‘conditions’ are required to hide / show posts. e.g cat / tag / individual posts.

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