Support

Account

Home Forums Backend Issues (wp-admin) adding an options page with sharing values between language

Solved

adding an options page with sharing values between language

  • Hello everyone,

    I added a acf_add_options_page on my backend admin.
    I added also some fields on it.

    My problem is thoses fields aren’t shared their values between language.

    The fields are : a day (monday, tuesday, etc … ) and an hour to allow authorise purchase on the website.

    I don’t want to ask to my client to change thoses values in each language on the website. I would like having shared values.
    If she’s modifying a value in french, it needs to be changed in English, Spanish, …

    Is it possible ?

    thanks

  • Hi @jlgouwy

    Thanks for reaching out to us.

    Here is a simple solution that should work for such a setup.

    https://gist.github.com/senlin/4fd15ba7a19533ceb9fe

    Let me know how it goes.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘adding an options page with sharing values between language’ is closed to new replies.