Answer the question
In order to leave comments, you need to log in
How to display the entire value of a custom field with a check of these values?
There is a custom taxonomy Service and 6 services are nested in it.
On the page output through the loop these services.
$terms = get_field('service');
if( $terms ): ?>
<?php foreach( $terms as $term ): ?>
<?php $r++; ?>
<li class="cat-item cat-item-3"><a href="<?php echo get_term_link( $term ); ?>"><?php echo $term->name; ?></a></li>
<?php endforeach; ?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question