Hide category from recent posts

Posted in: Newspaper
Post count: 35

Hi,

I know how to hide a category of posts from a particular block through the filter. But how do I remove a certain category from recent posts from the home page and from the articles page (blog)?

  • This topic was modified 7 years by pablo ™.
Post count: 35449

Hi,

If you want to hide a specific category on blocks you can use a custom css ,
for example I want to hide the category Travel -> https://www.screencast.com/t/sCinDIlcM
-> https://www.screencast.com/t/p6jk08Lu4E -> https://www.screencast.com/t/ICb5keRVOkK -> https://www.screencast.com/t/HTYRjgZw0c
.td-module-image a[href$="/travel/"],
.td-meta-info-container a[href$="/travel/"],
.single .td-category a[href$="/travel/"]
{
display: none;
}

All you need to do is to change the category in code and the background color will apply on that category.

Thank you for your understanding!

Post count: 35

Hi, Calin.

Thank you for your help. But my question is how to make category x articles not appear in recent articles from home and not just hide the category tag. You understood? Sorry my english is not very good.

Post count: 35449

Hi,

For this please check our documentation for Block settings and filters -> https://forum.tagdiv.com/block-settings-guide/ -> https://www.screencast.com/t/J00VmqVlohM -> https://www.screencast.com/t/5gi63RPQB -> https://www.screencast.com/t/FGGnZNON

Hope this will help you better!
Thanks.

Post count: 35

Okay, Calin. Thank you for your help. But it’s like I already said: in recent articles from home and blog there is no filter function. When I’m on the tagdiveditor, recent articles are not highlighted when I hover over them.

Post count: 35449

Hi,

Sorry, was may mistake, the filter for recent articles is a feature that is not integrate in the current version of theme, sorry for the moment you can not filter the recent articles the only way to do this is with custom work; unfortunately, we cannot provide custom work at the moment, sorry!

Thank you for your understanding and sorry for the inconvenience!

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