Showing tags without links
-
Hi,
I’ve seen there are already some discussions about that, but any one has his own little customization and considering I’m not good at php it’s easier for me to ask about my specific case.
I have a portfolio section where I need to show some tags without any link to the blog page)
This is how it is at the moment:
<div class="col-md-3"> <?php $tags = get_the_term_list($post->ID, 'portfolio_tag', '<p><i class="fa fa-check"></i>', '</p><p><i class="fa fa-check"></i>', '</p>'); if ($tags) { echo '<div class="portfolio-tags">'; echo do_shortcode('[tw_item_title title="' . tw_option("translate_portfolio_side") . '"]'); echo $tags; echo '</div>'; }
How can I show them without links? Thank you for your help
- The topic ‘Showing tags without links’ is closed to new replies.