• So I downloaded ACF, made a couple of field groups, edited those fields in both a post and a category, pasted the following code in both my single.php and archive.php
    <?php the_field('name-of-my-field'); ?>

    In the post works perfectly, but in the category archive page it doesn’t show up. What am I doing wrong?

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom fields in archive.php’ is closed to new replies.