Support

Account

Home Forums ACF PRO Acf front end for Repeater which has taxonomy as subfield Reply To: Acf front end for Repeater which has taxonomy as subfield

  • Hi @madhan2085

    I’m afraid the the_sub_field() function is not an appropriate function to use with the taxonomy field. Kindly use the get_sub_field() function like this instead:

    $the_product_cat = get_sub_field(‘product_category’);
    print_r($the_product_cat);

    These pages should give you more idea about it: https://www.advancedcustomfields.com/resources/taxonomy/, https://www.advancedcustomfields.com/resources/get_sub_field/.

    I hope this helps 🙂