Hide specific categories from posts

Posted in: Newsmag
Post count: 45

Hi,

I know this is impossible with standard settings. But I need to set wordpress to hide some specific categories, which be needed only for setting blocks in homepage.
This is possible with css/php code?

Thank you and Regards!

Post count: 6535

Hi

You can exclude a specific category being displayed in a block from a specific page from block settings like here: http://screencast.com/t/gkfJ9LjGIMt Also if you’re using the pagebuilder + latest as page template the exclude option can be found here: http://screencast.com/t/8zq3mEUh To get the category id follow this link: http://screencast.com/t/sgYkxFE5Cb

Hope this help.
Thanks!

Post count: 45

Hi,

Thank you for helping me. But I don’t mean on block, I mean within a post. For example: I have the categories “Attualità” and “Primo Piano”. I want hide “Primo Piano” within posts.

Best Regards!

DA

Post count: 6535

Hi

Unfortunately this task require many changes in theme files and I can’t provide a solution now. The function which must be edited it’s located in td_module_single_base.php here: http://screencast.com/t/lDD4NrX8Mpr Please consider that this is a comnplex task which require php knowledge if you need this and you’re not aware of the steps you need to take in this regard my advance is to look for a developer to help you with this.

Thanks!

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