Support

Account

Home Forums ACF PRO get value from taxonomy term Reply To: get value from taxonomy term

  • this is my url for one product category page ../wp-admin/edit-tags.php?action=edit&taxonomy=product_cat&tag_ID=7&post_type=product from there i take ID 7 and put there. so code will be like now <?php the_field('side_box_title', '7'); ?>

    but nothing is come. remember this is woocommerce product category page

    few code from that page

    <?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
    
    <h1 class="page-title">  <?php woocommerce_page_title(); ?></h1>
    <?php endif; ?>
    <?php
                /**
                 * woocommerce_archive_description hook
                 *
                 * @hooked woocommerce_taxonomy_archive_description - 10
                 * @hooked woocommerce_product_archive_description - 10
                 */
                do_action( 'woocommerce_archive_description' );
            ?>
            </div>
     <div class="cat-left-pan">
     <div class="cat-widget">
    <?php the_field('side_box_title', '7'); ?>
     </div>