Home Forums Front-end Issues Get fields for specific tags outside the loop


Get fields for specific tags outside the loop

  • Hello! I’m having a problem getting some fields in tag.php page (the view of single and specific tag). The codes I’ve and don’t work are:

    <?php the_field('av_year', $tag); ?>

    <?php the_field('av_year', 'term_'.$tag->term_id); ?>

    The string is blank and don’t show the date asigned to field. If anybody can help me I’ll be very grateful. Thanks! 🙂

  • Don’t know if you were ever able to solve your issue, but there is not enough information to really help. From what I can see there is not reason that would not work and too many possibilities for why it does not depending on the rest of the code on the page.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.