How to prevent show a category's posts in related article

Posted in: Newspaper
Post count: 3

Hi.
How to prevent show a category’s posts in related article?
For example , i have a category with this name —> “xyz”
and i have a post that is in “xyz” category and also is in another category with this name —> “a”
i want to always prevent to show “xyz” category in related article.
How can i do it?
where is code of this part?

Post count: 22421

Hello Mohammad,

Unfortunately there is no option in the theme for that yet. You can control a few settings from the theme panel: https://forum.tagdiv.com/related-articles/
But in order to select the category displayed you need to change the core files of the theme: http://screencast.com/t/VIB4HaZnoyQC and http://screencast.com/t/Ln4hAoWvncFD

Thank you.

Post count: 3

Hello Bogdan,

This file does not exist in my template : http://screencast.com/t/VIB4HaZnoyQC
How to ignore a category in related post in your template code? where is the code of this part?
I know php,js,css…. i want to know place of related code.
I have found More Article Box code, and that code is exactly i need, because that code use only primary category to show related article.

Best regards.

Post count: 22421

Hello Mohammad,

There is another topic on this issue here:
https://forum.tagdiv.com/topic/related-posts/

I hope it helps!

Thank you!

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