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.
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!