• Hello.

    I’m trying to add a translation for the theme settings. I put the file wpm-config.json in the root folder of my theme and added the following code to it

    {
        "options": {
            "theme_mods_mytheme": {
                "work_time" : {}
            }
        }
    }
    

    “mytheme” is name of my theme folder and “work_time” is name of setting in Customizer config.

    When I save the value for the default language, the field for the additional language is cleared. When I save for additional language, it is entered in the main language.

    Does the plugin not support the theme settings or am I doing something wrong?

    Thank you for your work!

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem with theme mods’ is closed to new replies.