Support

Account

Home Forums Add-ons Gallery Field View gallery image taxonomy in taxonomy custom page Reply To: View gallery image taxonomy in taxonomy custom page

  • When getting values from a taxonomy term you must supply the correct post id. See the “Get a value from other places” section of get_field() https://www.advancedcustomfields.com/resources/get_field/

    
    <?php 
    $queried_object = get_queried_object();
    $post_id = $queried_object->taxonomy.'_'.$queried_object->term_id;
    $images = get_field('carousel_slider_quarzite', $post_id);
    ...