Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

taxonomy acf

<?php 
$term = get_field('taxonomy_field_name');
if( $term ): ?>
    <h2><?php echo esc_html( $term->name ); ?></h2>
    <p><?php echo esc_html( $term->description ); ?></p>
<?php endif; ?>
Source by www.advancedcustomfields.com #
 
PREVIOUS NEXT
Tagged: #taxonomy #acf
ADD COMMENT
Topic
Name
2+2 =