Support

Account

Home › Forums › ACF PRO › Getting ACF field from a taxonomy in a page with WP_query › Reply To: Getting ACF field from a taxonomy in a page with WP_query

  • I created a taxonomy ‘marques-produit’ for my CPT ‘produits’. I used ACF to add the field image ‘logo_marque’ on my taxonomy.
    Now I want to display on my front page the field ‘logo_marque’ for every label like this
    <img src="<?php echo esc_url($logo['url']); ?>" alt="<?php echo esc_attr($logo['alt']); ?>" />
    Thank you