how to filter categories on homepage sidebar

Posted in: Newspaper
Post count: 11

Hi, I really need to filter some categories from homepage sidebar (mainly).
For exaple, take a look at this picture https://www.marraiafura.com/devnewspaper/wp-content/uploads/2018/01/how-to-hide-categories.png
Please let me know how to get it

Post count: 20688

Hi,

That would be the popular categories element, at the moment it does not have options to filter the categories that are displayed. It will show the categories with most posts.
If you would like to maybe exclude categories, you could do so in the code, using the category IDs like this
https://www.screencast.com/t/MOg3ewnvLJ
That would work, if you would like to try this suggestion.

Thanks

Post count: 11

Thanks Simon, I’ve just tried and it works fine. Just another suggest if you can. I’m going to get a child theme, does it work at the same? Anyway, now I try.

Post count: 20688

Hi,

Indeed, this customization can be made through a child theme. Files from the shortcodes folder can be modified through a child theme
https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thanks

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