Support

Account

Home Forums Front-end Issues Field value not showing on archive page

Solving

Field value not showing on archive page

  • I’m new to ACF, but inherited a job using it. I have a custom taxonomy with an ACF image field, but it won’t display on the archive page for the individual taxonomies. I’m using the following above the loop. The Queried Object ID gives the correct number.

    <?php print_r(the_field('countrys_image', get_queried_object_id())); ?>

  • 
    <?php print_r(the_field('countrys_image', 'term_'.get_queried_object_id())); ?>
    
  • That’s great, thanks. Unfortunately, I can’t see if it works as the client’s changed their mind on what they want, so not using the archive page now!

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

You must be logged in to reply to this topic.