- This topic has 2 replies, 2 voices, and was last updated 4 years, 7 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The topic ‘remove a post from blog page’ is closed to new replies.
Home › Forums › Claremont Pro › remove a post from blog page
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
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.
Much appreciated. Thank you Andy