• Resolved csakebon

    (@csakebon)


    Hi,

    First of all, thanks for this great plugin, very helpful!

    However, I have a pretty important issue with it: I’m using the Jupiter theme (https://artbees.net/themes/jupiter/), and after installing Polylang, my modifications of the Theme Options aren’t taken into account anymore.

    After checking the DB, I noticed that Polylang created in the wp_options table entries named “jupiter_options_XX” with XX being all the languages I installed, and an option named “jupiter_options_all”. The problem is,through WP admin, I can modify only jupiter_options_all, but it’s still the initial options (“jupiter_options”) which are taken into account.

    Do you know how I can either tell WP to take the “jupiter_options_all” into account, or tell WP admin to modify “jupiter_options” as it was initially?

    Thanks!

    https://www.ads-software.com/plugins/polylang/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Chrystl

    (@chrystl)

    Hello

    “jupiter_options_XX

    Polylang does not create tables.
    As Polylang uses some WPML API, your theme maybe believe that WPML is present and creates tables for wpml like “jupiter_options_XX”.

    Your theme maybe test something like ICL_LANGUAGE_CODE (implemented by Polylang) to detect the presence of WPML, but you should confirm this behavior with your theme author.
    But difficult to say as your theme is not free available.

    Further: wpml-config.xml and pll_register_string pll__.

    Thread Starter csakebon

    (@csakebon)

    After checking for ICL_LANGUAGE_CODE, it’s indeed the theme that handles this localized options creation by testing this variable ; so I just had to disable that to get it to work again. Thanks a lot for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Theme options not working anymore’ is closed to new replies.