customizer-export-import

WordPress Customizer Export/Import Plugin

Many theme authors (ourselves included) are adopting the WordPress Customizer because of its powerful live editing and customization options. We hope all themes will eventually adopt the customizer as having a standard interface for theme settings will drastically lower the learning curve of working with a new theme.

While the customizer is wildly powerful, it lacks the ability to export/import your settings. Enter our new WordPress Customizer Export/Import plugin:

Download: https://wordpress.org/plugins/customizer-export-import/

Contribute: https://github.com/fastlinemedia/customizer-export-import

We’ve been spending a lot of time in the customizer lately as we work on migrating the Beaver Builder’s theme settings experience over to it. In doing so, we realized one thing. The customizer standardizes a lot of the complexities of working with theme settings, but it’s missing a good export/import piece. Instead of baking that functionality into our theme, we decided to abstract it into a plugin that anyone with a theme that supports the customizer could use!

Additionally, theme developers wishing to adopt the customizer no longer need to worry about writing custom export/import functionality. Just direct your users to install and activate this plugin and they will be good to go!

Customizer Import/Export plugin

Export Your Own Presets

One of the biggest benefits of this plugin, is the ability to export and reuse your own theme presets on any number of sites or share them with others. Your theme may or may not have it’s own presets built in, but now, that doesn’t matter. Tweak your theme until it’s perfect, export the settings, and the next time you need that style, it will be available to you at the click of a button!

How It Works

Exporting your customizer settings is drop dead simple. Just click the export button from within the customizer and a file will automatically begin downloading with your settings. Export files are named after your theme and can only be used to import settings for the theme or child theme that they came from. For developers reading this, export files contain a serialized dump of mods retrieved using the get_theme_mods function. It’s that simple!

Importing your customizer settings is just as simple. Choose the export file you would like to import, select whether you would like to download and import images as well (similar to importing posts), and finally, click the import button. Once your settings have been imported, the page will refresh and your new design will be displayed.

Theme Support

The only requirement to use this plugin is that your theme uses the WordPress customizer to handle its settings. If it doesn’t, the plugin will still work, but your exports will be void of any settings.

We’ve tested it with many popular themes that use the customizer including Genesis, Make, and Twenty Fifteen, and it works great! It’s impossible for us to test everything, so let us know if you run into an issue and we’ll look into it for a future release.

What It Doesn’t Do

This simple plugin does a lot, but there are a few things that it currently doesn’t do. It doesn’t export any settings that aren’t stored in the database as theme mods, which means that it doesn’t currently export widgets or settings such as the built-in “Site Title & Tagline”.

Additionally, any custom settings created by theme developers that are defined as options instead of mods, won’t be exported. We’re not yet sure if that functionality is necessary and will be keeping an eye on feedback to see if it’s something we want to implement in the future.

Going Forward

The Customizer Export/Import plugin is still a baby and probably has a few rough edges or is lacking important functionality. We’d love to hear your feedback as to how we could improve it, or better yet, see theme developers actively contributing to the repo on GitHub! Don’t hesitate to let us know if you’re interested in contributing as we would gladly have others on board.

The WordPress customizer has grown by leaps and bounds since it’s inception and is only going to get better as time goes on. I’m excited to see how this plugin is received and hope that many of you can find a good use for it. Have you had any experience with the customizer yet? Do you think this plugin will be a valuable addition to your toolbox? Let us know in the comments below!

 

Just like your Netflix account, it's okay to share...

Justin Busa's Bio


Our Newsletter

Our newsletter is personally written and sent out about once a month. It's not the least bit annoying or spammy. We promise.

Try Beaver Builder Today

Just like your Netflix account, it's okay to share...

Related articles

How to create a customer survey for your WordPress blog.

How to Create a Customer Survey for Your WordPress Site

It’s difficult to succeed in business without keeping up with your customers. Otherwise, how can you offer a product or…

Read More...
How to change link colors in WordPress

How to Change Link Colors in WordPress (4 Methods)

When you’re designing a website, it’s important to think about its color palette. If you create links with unappealing hues,…

Read More...
Page Builders vs Block Editor: which one should you use on your WordPres site?

Page Builders vs Block Editor: Which Should You Use for Your WordPress Website?

Are you trying to decide between using Page Builders vs Block Editor? Choosing the best editing software during the website…

Read More...

Join the community

We're here for you

There's a thriving community of builders and we'd love for you to join us. Come by and show off a project, network, or ask a question.