Use has_term()
to determine if a post has a specific term.
<?php if ( has_term( 'Members', 'portfolio_category' ) ) : ?>
<!-- Output icon here. -->
<?php endif; ?>
Use has_term()
to determine if a post has a specific term.
<?php if ( has_term( 'Members', 'portfolio_category' ) ) : ?>
<!-- Output icon here. -->
<?php endif; ?>