Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Jamie

    (@codente)

    If you are using a different theme on the new site, it won’t work. It must be an export from the same theme.

    The theme folder name must also be the same on the exported site and imported site or you will get an error.

    If you are exporting from/to the same theme and the folder names are the same, can you tell me what theme (with a link to it) you are trying to export/import the settings to?

    Thread Starter Johan Jonk Stenstr?m

    (@jonkastonka)

    What I’m doing in exporting when I use one theme, and then I activate a child theme, and try to import. It usually works, I’ve been using this plugin like that for years. Are you saying that it doesn’t work like that anymore?

    Plugin Support Jamie

    (@codente)

    It should work if going from a parent to child theme assuming the parent theme is the same on both sites.

    But otherwise, the folder name would need to be the same if it’s for a parent theme.

    I just tested it and it seems to be working fine in our testing. What theme are you trying to use it with?

    Also, you could try an older version of the plugin if you’d like but we haven’t changed anything in a while. You can get other versions on this screen at the bottom: https://www.ads-software.com/plugins/customizer-export-import/advanced/

    Thread Starter Johan Jonk Stenstr?m

    (@jonkastonka)

    Yes, the parent theme is the same. We’re using Shopkeeper as our theme today and have built a child theme for it.

    Any old version you’d recommend?

    Plugin Support Jamie

    (@codente)

    Not in particular no since we haven’t changed anything in a while. Just mentioned that because you said it used to work. If this is the first time you’re using it with this theme, it could be something specific to this theme though I don’t know what that would be without being able to test it.

    Thread Starter Johan Jonk Stenstr?m

    (@jonkastonka)

    I did not mean on the same site. It usually works.

    I’m having the exact same issue. Using Vantage 1.15.3 as the exported Customizer settings. Then I updated Vantage to 1.20.21. Then I installed and activated a child theme for Vantage.

    I tried redoing the child theme process by renaming the folder inside the .zip theme and deleted the “-child” at the end of it to match the folder name “vantage”. However, it still didn’t work.

    I also tried deleting all empty lines from the DAT file, but to no avail.

    Are there folder names inside the DAT file itself that matter? Or the name of the DAT file?

    Plugin Support Jamie

    (@codente)

    I just tried your steps (I think) and things worked fine for me. I did not get an error.

    Steps:

    – Install v1.15.3 of Vantage Theme
    – Export settings
    – Update Vantage Theme
    – Install Child theme
    – Import theme settings

    It imported without error for me. I’ll check on your question though about the folder names inside the DAT file or the name of the DAT file.

    Jamie,

    Thanks, not sure what the issue is then. I had less to change than I expected so my site is back to normal now.

    Thread Starter Johan Jonk Stenstr?m

    (@jonkastonka)

    I solved it by using WP-CLI instead: https://developer.www.ads-software.com/cli/commands/search-replace/

    Do a backup of the newly installed themes automatically created theme mods:
    update wp_options set option_name = ‘theme_mods_[BACKUP_NAME_FOR_NEW_THEME]’ where option_name=’theme_mods_[AUTOMATICALLY_CREATED_NEW_THEME]’;

    Rename the old theme’s options to the new theme:
    update wp_options set option_name = ‘theme_mods_[NEW_THEME]’ where option_name=’theme_mods_[OLD_THEME]’;

    Duplicate the options from the new theme back to the old theme so that you can revert to the old theme:
    insert into wp_options (option_name, option_value) select ‘theme_mods_[OLD_THEME]’, option_value from wp_options where option_name=’theme_mods_[NEW_THEME]’;

    Johan, great to know, thank you! I’ll come back to this thread if I need to update things in the future.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.