I have added tags to my Custom Post Type. Now I want to use them to create a isotope portfolio, I can load all tags with this code: <?php $args = array( 'post_type' => 'portfolio', ...
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: ...
Want to add post tag name to body class - I am successful in using the code below to add category to body class - //adds new body class for post category add_filter('body_class', ...