exclude current post

Posted in: Newspaper
Post count: 89

How do I exclude the current post from sidebar post modules? I mean I don’t want a post to show in sidebar that I am already currently reading.

Post count: 20688

Hi,

From what I know there were and are plans for quite a while to implement this in the theme, but it wasn’t up to this point unfortunately. Currently the viewed post is not excluded from the widgets, so it will appear there. You could try the solution from this topic
https://forum.tagdiv.com/topic/sidebar-block1-customization/
Enter that code in the mentioned file – http://prntscr.com/nl14ch

Or you could use a maybe a random sort for the block widgets in the sidebar, to reduce the chances that the current post is displayed there. Sorry for the inconvenience.

Thanks

Post count: 89

Can you please provide this code in the code field?

Thanks

Post count: 35449

Hi,

Please check our documentation for unique articles ->https://forum.tagdiv.com/unique-articles/ -> https://www.screencast.com/t/78UWoHiaeVq7

Thank you!

Post count: 89

This feature is just for pages not for posts :/

Post count: 35449

Hi,

This option automatically removes duplicate posts from the page. if this is not what you need you can check our documentation for filter tab -> https://forum.tagdiv.com/block-settings-guide/

Thank you!

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