Hide category Badge on categories

Posted in: Newspaper
Post count: 56

Hi, how can i hide the category badges near the title on categroy/archive pages? I saw teh settings in the panel – but i will show the badges everywhere – just NOT on the categeroy/archive pages…

And i also think, linking to the same category back – this is not great for SEO

thx

  • This topic was modified 10 years by newtag.
Post count: 22421

Hello,
We looked into this a bit and it is an interesting thing to look into. For now You can use this function and add it inside the module files you use on your category pages:
<?php if (td_util::get_option('tds_category_module_3') == 'yes' and !is_category()) { echo $this->get_category(); }?>
You can simply replace the code for the category tag on modules and it will remove the category tag on category pages for that specific module: http://screencast.com/t/vyPnZPKrux
However, this is a temporary solution as there will be cases with category pages that have posts from a sub-category. Then the category tag will not have the same url as the current category page viewed but the category tag will still not be present due to this modification. This will be more complicated to do so I will add this to our update list and I will pass this onto our development team so they can provide a proper solution to this problem. We will post the solution when it is found and we will implement it in a future update of the theme.
Thank you for your message.

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