Home Forums Claremont Pro remove a post from blog page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10120
    Boris Gutierrez
    Participant

    How can I specify a specific post to NOT show on the blog page..I still want it to show on the category page.

    Thanks

     

    #10125
    Andy
    Keymaster

    You can hide a specific post from view with a bit of custom CSS.

    This will hide the post with ID 123 from the blog page only:

    .blog article.post-123 {
        display: none;
    }

    …or this will hide the post from everywhere (blog page, search results, tag archives, date archives etc) but leaving it visible only on the category page:

    body:not(.category) article.post-123 {
        display: none;
    }

    As always, the code should be added to Customize > Additional CSS.

    #10135
    Boris Gutierrez
    Participant

    Much appreciated.  Thank you Andy

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘remove a post from blog page’ is closed to new replies.