Support

Account

Home Forums ACF PRO Display Image for each entry on Tag Archive Reply To: Display Image for each entry on Tag Archive

  • I’m not sure I can help you because I’ve never seen this and don’t know what’s causing the conflict, probably one of those filters you have in place.

    
    $image = get_field('sponsor-logo');
    if (intval($image) == $image) {
      $image = wp_get_attachment_image_src(intval($image), 'full');
      $image = $image[0];
    }
    

    If you’re not too deep into the project to change I’d use a custom taxonomy instead of tags. Even when I’m not using the blog I never touch the standard WP category or tag taxonomies. Custom post type always get custom taxonomies, saves a lot of headaches.