Home › Forums › General Issues › How to display default language Options field, when no WPML translation exists › Reply To: How to display default language Options field, when no WPML translation exists
Thanks but I dont think this works… we want to run have_rows() in the current language the user is on, because there could be options added in that language, in which case we want to show them. Only when there are no values in that language do we want to show the english. This is because WPML is not copying the site options so they are all blank.
So putting the language change before have_rows() wont work, because it will always return the english wont it?
I was hoping to find some conditional that says if the value does not exist to get the value from the english.
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.