Multilang for ‘Add_setting_field’ function
-
Hi @valexar!
I am trying to create right ‘wpm-config.json’, but I didn’t find examples for my case. Could you help me with advise, please?
I use WP ‘Add_setting_field’ function, so I have some new options. All of these options are text-inputs.
When I edit the values on these pages:
/wp-admin/options-general.php?edit_lang=ru
/wp-admin/options-general.php?edit_lang=de
/wp-admin/options-general.php?edit_lang=en
the values are the same for different languages.I use WP theme – twentyseventeen.
So I put ‘wpm-config.json’ to the root of my theme with text:{ "options": { "theme_mods_twentyseeventeen":{ "questions": {} } } }But it doesn’t work, I can’t understand what’s wrong.
@valexar, I hope you can help me. Thank you
The topic ‘Multilang for ‘Add_setting_field’ function’ is closed to new replies.