Support

Account

Home Forums Front-end Issues Get field on index outside loop Reply To: Get field on index outside loop

  • 
    the_field('av_slider', $tag->term_id)
    

    should be

    
    the_field('av_slider', $tag)
    

    OR

    
    the_field('av_slider', 'term_'.$tag->term_id)
    

    https://www.advancedcustomfields.com/resources/adding-fields-taxonomy-term/