How to exclude current post from Flex Block 5 on single post page

Posted in: Newspaper
Post count: 12

Hi Support team,

I have single post page with Flex Block 5 on right hand side (https://prnt.sc/w8lhes) showing latest articles.
How can I exclude current article from that block ?

Thanks

Post count: 27744

Hello misija,

If you only want to remove the duplicate posts from Flex Block 5, then you can use the unique article option, follow this guide-> https://forum.tagdiv.com/unique-articles/ ->https://www.screencast.com/t/VwzpaBvdM5, or can use the setting on the Flex Block the Offset posts-> start the count with an offset => https://www.screencast.com/t/GH0OH60B.

Hope that helps you!

Thank you!

Post count: 12

Thanks for fast reply. Unique article on page is ok. But what about single post template ?
Please check this: https://prnt.sc/w98vqf
I can’t use offset since I don’t know where article is. Is there an option to use Post Id Filter like -currentPostId https://prnt.sc/w98y5i ?

Thanks

Post count: 27744

Hi,

Unfortunately, the theme doesn’t have the option to exclude the current post from the Flex Blocks inside Single Post Template.
You have a Single Post Template with a sidebar where the post from the block is sorted to the latest news, this can include the current post.

Thank you!

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