exclude 1 post from a category (from display)

Posted in: Newspaper
Post count: 5

Hello there,
Could you please guide or share me a tip on how I could exclude (the display of) one post from the very same category.
I have a category called Latest News. I would like to remove one post from that category to display in the homepage but is ok to display in the internal or sub pages.

Thanking you..
Regards,
Sam.

Post count: 5

I found a temporary solution 🙂

Post count: 16

What was the solution?

Post count: 16

Actually this might work:

Post ID filter – Specific posts can be filtered to your block by using the post ID. You can get the post IDs by accessing the Wp-Admin > Posts section, hover the post title and check the link displayed in the browser’s left-bottom area. The IDs can be extracted from this URL. In order to exclude posts from a Big grid, just add a ‘-’ symbol in front of each ID.

Example, if your post id is 191 you can filter it from a post grid by listing it as “-191” and for multiple just add a comma; “-191,-134” etc. Hope it helps.

  • This reply was modified 4 years by dwinter8.
  • This reply was modified 4 years by dwinter8.
Post count: 27744

Hello @epotala,

Depends, if you want to exclude a post from a block, you can set offset posts -> https://i.imgur.com/tNn4oqL.png Start the count with an offset. If you have a block that shows five posts before this one, you can make this one start from the 6’th post (by using offset 5) or you can try the solution suggested by @dwinter8.

Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.