Hi, I have a custom field to insert an special image in products (woocommerce) , i use WPML for translation. This image should be the same for every languages, i tried to copy the acf group and field in all langages without any success. Maybe i should just retrieve the main langage info in the template ? i have this code:
<div id=”bandeau-produit” class=”mx-0 mb-3″ style=”background-image:url(<?php echo get_field(‘bandeau_image’) ?>)”>
is there a way to retrieve the french version whatever the langage ?
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users