Support

Account

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

  • Hi @pagol

    Thanks for testing it out.

    It means there’s nothing wrong with ACF. The only problem now is how to get the product category ID on the product category page. By searching the internet, I found this solution. Maybe you can try it like this:

    $product_cat_object = get_queried_object();
    the_field('side_box_title', 'product_cat_' . $product_cat_object->term_id);

    Hope this helps.