I have created a custom Taxonomy (wordpress) that I call in with echo
. How do I only call it in only if the term has a value? (hide empty)
My code:
<div class="storleken"><span class="sku_wrapper">
<span class="sku" itemprop="sku">
<?php echo get_the_term_list( get_the_ID(), 'storlek' ); ?>
</span></span></div>