get custom field in specific language
-
i use qtranslate x + advanced custom fields + ‘Advanced Custom Fields: qTranslate’.
so i have multilanguage custom fields, i.e., 1 custom field, which i fill with two languages.
my question is, can i somehow, when writing a page template in php use the german version custom field, if the englisch version is empty?
i would expect something like this:
if (get_field('description','en') == '') then echo (get_field('description','en')
i know that
get_field
does not work like this, but this should be possible somehow? how?thanks!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘get custom field in specific language’ is closed to new replies.