I’m wondering if you could help with some code I’m struggling with.
I’ve got an ACF Image Field on the Post Category Taxonomy. I need to add it into the post loop so the category image shows up instead of the featured image. Here’s the code that I have in:
$current_term = get_queried_object(); $author_image = get_field('author_image', $current_term ); echo do_shortcode('[image_shortcode id="'.$author_image.'" image_size="original"]');
It’s working on the Category Archive page, but not on the Tags Archive page. Let me know your thoughts.