I've got this in my theme
<article <?php post_class('archiveMain'); ?>>
But for tags and categories it adds tag- or category- before the slug, any way to remove that?
Example: tag-sales would just be sales, category-webinar, just webinar
|
I've got this in my theme
But for tags and categories it adds tag- or category- before the slug, any way to remove that? Example: tag-sales would just be sales, category-webinar, just webinar |
|||||||||
|
|
You can filter
But be aware this could result in collisions with other class names, in |
|||||||||
|