Thanks John, yes I saw that but it still doesn’t really explain how to set up the various languages in the ACF admin area and how to get the correct langauge to show on the front end.
I am experiencing similar issues. there is no error on the front end but no map either. Backend shows the map nicely. Anyone had a fix for this?
my staging/testing version has no issue and is using Version 5.3.0 ! I’ll roll back to this version on my dev site and see what happens.
I can just repeat this code and replace
qualiteutilise_0_qualite with qualiteutilise_1_qualite
to get the second line but feel this is not the way forward.
Daron thanks i haven’t had time yet to check this out. but i appreciate your help and will let you know how it goes.
To make it clearer this
<?php if( $qualite ): ?>
<?php foreach( $posts as $post ):
echo '<dd class="filtr" data-filter=".'. $post->ID .'">'. get_the_title( $post->ID ) .'</dd>';
?><?php endforeach; ?>
<?php endif; ?
>
is giving me multiple copies of the same. How can i strip the duplicates out? I have been looking at array_unique and DISTINCT but I can’t figure out how to implement this here.
I have currently implemented some jquery that removes the duplicates but i am not exactly happy about that solution. Any pointers. Thanks
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.