Do you want to import or export theme customizer settings in WordPress?
If you have multiple WordPress sites, then exporting and importing theme customizer settings will allow you to use the same configuration for the theme on both sites.
In this article, we will show you how to easily import / export WordPress theme customizer settings.
Why Import / Export WordPress Theme Customizer Settings?
Some paid and free themes have more settings available in the customizer, while others have just a few basic options.
This will allow you to move theme customizer settings from one WordPress website to another without having to move the content and database.
You may also want to export the customizer settings if you have created a custom child theme that you want to share with others or if your theme has an error and you have to delete it.
Then, once you’ve fixed that issue, you can easily import your theme customizer settings back again.
That being said, let’s take a look at how to easily import / export theme customizer settings in WordPress.
How to Import / Export Theme Customizer Settings in WordPress
First, you need to install and activate the Customize Export/Import plugin on both sites where you want to export/import. For more details, see our step-by-step guide on how to install a WordPress plugin.
Upon activation, visit the Appearance » Customize page from the WordPress dashboard of the website you want to export from.
From here, you have to click on the ‘Export/Import’ panel in the left column to open further settings.
Next, click the ‘Export’ button to download your customizer settings and send them to your browser in a .dat file.
The plugin will export all your theme options that are defined as theme mods or stored as options in the WordPress database. This means you can export things like color settings, layout directions, header media, etc.
Now, to import customizer settings, head over to the WordPress site where you want to import these settings.
From here, visit the Appearance » Customize page from the WordPress admin sidebar and click on the Export/Import panel.
After that, click on the ‘Choose file’ button under the ‘Import’ section to select the file you exported earlier.
You also need to check the box next to the ‘Download and import image files?’ option to import the header and other image files.
Next, click on the ‘Import’ button to start uploading the customizer settings from your export file.
Once it is finished, you can review your changes in the customizer and then click on the ‘Save & Publish’ button to make those changes live.
Keep in mind that the plugin only exports theme settings saved using theme customizer and does not export site data like menus, widgets, images, and more. You will have to manually set up those changes.
We hope this article helped you learn how to import/export theme customizer settings in WordPress. You may also want to see our beginner’s guide on how to use the WordPress theme customizer like a pro and our checklist of things you must do before changing WordPress themes.