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 its 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 its 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!

Justin Busa's Bio

82 Comments

  1. Jason Pelker on December 20, 2014 at 1:19 am

    I had to read this page several times to understand *why* this plugin was created. Once I got it, though, I have to say that it’s genius (like so many things you guys create).

    At this point, my only note is that it’s important to pass along this tool to the WordPress community. I just checked, and after a few days, there are only 4 downloads from the repository. This seems ridiculous for a tool that so many site owners could use.



    • Justin Busa on December 20, 2014 at 10:44 pm

      Hey Jason, thanks for the comment! I’m glad you see the value in a plugin like this. I was wondering at first if it would be worth it and if I should just bundle that functionality within the theme. After much thought it seemed to make sense as its own plugin since others could use it with their own themes.

      We actually only hit the repo Friday night and have already reached out to a few key people in the community to build awareness. Thanks for pointing that out!

      Justin



  2. Tammy on April 21, 2015 at 6:07 am

    I tried this plugin with Divi and the color settings in the customizer didn’t transfer.



    • Justin Busa on April 21, 2015 at 8:50 am

      Thanks for letting me know! I’ll test that out and see about getting a fix together soon.



    • Justin Busa on April 29, 2015 at 11:08 pm

      Hi Tammy,

      I just pushed out an update for this plugin that should work with Divi’s color settings now. Let me know if you run into any issues.

      Thanks!
      Justin



  3. Hướng Dẫn on May 7, 2015 at 9:30 pm

    where position backup custiome after active plugin?



    • Robby McCullough on May 8, 2015 at 9:09 am

      Hi Hướng. The import/export option will actually be in the customizer! Hope that helps.



  4. louie h on May 28, 2015 at 9:19 am

    Hey, I would love to use this plugin. I am developing a theme on blankslate but I keep getting this error when I try to import the .dat file that the plugin creates… “Error uploading settings! Please check that you uploaded a customizer export file!” . Any ideas what I am doing wrong?



    • Justin Busa on May 28, 2015 at 1:12 pm

      Hi Louie,

      Could you send me a copy of your export file? My email address is justin [at] fastlinemedia [dot] com.

      Thanks!
      Justin



      • Lewis Hornsby on May 30, 2015 at 5:16 am

        I forgot to tell you here that I sent the file to you via email. Many thanks



        • Justin Busa on June 1, 2015 at 9:28 am

          Thanks, Lewis! I’ll check that out today.



          • Tomas on January 26, 2017 at 9:09 am

            Any result for issue with importing settings? I have same message on my site:
            “Error uploading settings! Please check that you uploaded a customizer export file!”

            I am using Child Theme – if it matters…



          • Robby McCullough on January 26, 2017 at 10:02 am

            Hey Tomas. Did you use the updated version to create the export file as well?

            We might start asking that support questions go to WordPress.org so we have better notifications for questions and answers:

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



          • Tomas on January 27, 2017 at 12:47 am

            Ok, I move my question on https://wordpress.org/plugins/customizer-export-import/

            Yes, I make export and import in same (version 0.5) .



  5. Leo on June 15, 2015 at 5:04 pm

    Hey Guys,

    I am also experiencing this error on certain WordPress installations.

    Any updates on what is causing the error?



    • Justin Busa on June 16, 2015 at 9:15 am

      Hey Leo,

      I have an idea of what might be causing the issue but haven’t been able to recreate it so I can test my theory. Would it be possible for you to send me temporary admin and FTP access to test? If so, my email address is justin [at] fastlinemedia [dot] com.

      Thanks,
      Justin



      • Leo on June 16, 2015 at 2:47 pm

        Hey Justin,

        Its actually a customer of mine who is experiencing the issue. I got in touch with my client today and he said was able to get the file to import after he disabled the open_basedir on his server.

        Would the open_basedir be the cause of the issue?



        • Justin Busa on June 16, 2015 at 3:34 pm

          Thanks for the additional info! It does sound like open_basedir is causing the issue. I need to reconfigure some of the upload logic to work with that. I should be able to recreate it now that I know what the cause is. Thanks!



          • Leo on June 17, 2015 at 9:48 am

            Hey Justin, no problem, glad i could be of help. I will keep an eye out for the next update…great plugin by the way :]

            Cheers!



  6. pooja on September 8, 2015 at 9:59 pm

    hi, when i export the file i get the file in .dat format than i used to import that file in another location but it throws the error. i don’t no how to resolve this. will you help me to come out from these

    Thanks



    • Justin Busa on September 9, 2015 at 8:29 am

      Hi pooja, can you tell me what the error is?



  7. Nishank on September 11, 2015 at 2:07 pm

    I am getting the same error, when I try to import the .dat file that the plugin creates… “Error uploading settings! Please check that you uploaded a customizer export file!”
    I have sent you a copy of my export file at justin [at] fastlinemedia [dot] com.



    • Justin Busa on September 13, 2015 at 6:48 pm

      Nishank, I just pushed an update, 0.4, that should fix this. Can you give that a shot and let me know how it goes?



  8. sean on September 26, 2015 at 8:39 am

    If I’ve already created a child theme and made customizations to that child theme, is it possible to export those settings to a second child theme. (I need to create a second child theme because I used a Child-them plugin the first time and it’s messed up my site)



    • Justin Busa on September 27, 2015 at 3:38 pm

      Hi Sean,

      Yes, as long as it has the same parent theme, you should be able to create a second child theme and use the same settings.

      Justin



  9. muh.ulfah on September 30, 2015 at 7:53 am

    Hi Justin,

    I have tried your plugin, but regret to say that’s … amazing and it’s great tools 🙂
    Successfully completed to imported without any of errors.

    Best Regards,
    Muh.Ulfah



    • Robby McCullough on September 30, 2015 at 10:04 am

      Haha! Hi Muh.Ulfah! Thanks for the kind words. Glad everything’s working for ya 😉



  10. jp on October 17, 2015 at 4:21 am

    I’m probably the biggest dummy ever cause your plugin is well installed but i can’t find the Export/import window. Please help !



    • Robby McCullough on October 17, 2015 at 10:03 am

      Hey JP! It should show up as an option in the theme customizer. If you are in the WordPress admin area, go to Appearance > Customize, then you should see the import/export options in the sidebar.



      • Dominic Stichbury on April 11, 2016 at 8:10 am

        hi there, I’ve installed the app, but I can’t find the import/export customiser in that location. Anything else I could be missing? It’s installed and activated and I’m using Quidus theme, which recommends this very plugin!



        • Robby McCullough on April 11, 2016 at 9:24 am

          Hey Dominic. Hmm. If you’re in the the customizer, it should be the last option in the list (at least that’s where it is on my end).

          If you shoot us an email, maybe we can help troubleshoot. Are you sure the plugin is installed and activated?



  11. Ted on November 24, 2015 at 9:40 am

    I would like to use this on a multisite where the general public is able to sign up and create a blog. Customizer is one of the core features and it would be awesome if members could use this plugin to share their customizer creations. However, I’m concerned about any tech savvy vandals using it as a way to insert malicious code. Should I be concerned? An if so, are there any precautions I can take to keep it safe?



    • Robby McCullough on November 25, 2015 at 8:01 am

      Hey Ted! That’s a good question.

      Yes, I’ve never thought about it like this before, but since you can add Javascript code in the theme settings (and then theoretically import/export that code to other sites) it is possible that a user could hide malicious code in a export file.

      I think you would want to warn your users to only use exports from users they trust. Technically, the same security concerns exist in themes and plugins.



      • Ted on November 25, 2015 at 12:01 pm

        I don’t think any of the settings I’m using would allow Javascript, as they are basically colors, margins, borders, fonts and images. The standard site title and description (tagline) are the only fields that accept manual input, and I’m careful about applying validation in case somebody disables Javascript on their browser. My real concern is whether somebody with bad intention would be able to upload malicious code.

        Good tip about warning users to only use trusted users’ exports.



  12. Seextra on January 12, 2016 at 4:13 am

    I just installed it and found a very useful according to my requirements. Thanks



  13. Tony on February 13, 2016 at 1:08 am

    I am previewing a site trough afrihost which is realllly slow.
    Is there a folder I can upload my export.dat file to using ftp?

    cheers
    Tony



    • Justin Busa on February 15, 2016 at 8:44 am

      Hey Tony, sorry to hear that. Unfortunately, the importer only works with upload at this time.



  14. dhall on February 19, 2016 at 11:57 am

    I’ve been using this plugin for my Divi child-theme options and it works great (where noting else did). Do you plan on expanding this plugin to include pages, posts, and other xml files (example: Divi layouts)?



    • Robby McCullough on February 19, 2016 at 8:14 pm

      Hey Dhall! Glad to hear it worked for ya. For Beaver Builder Templates, we utilize the native WordPress import/export tool. We’re actually extending it work better with our templates, but we don’t have plans to implement anything for other XML files. Sorry. =(



  15. Johnny on February 21, 2016 at 8:13 am

    Hi BB
    I am using BB as a theme. Now I wanna activate the BB child theme and export the settings there.
    But when exporting the settings I get all the settings code in a new window. Not in a .dat file.
    Can this be a bug or …?
    The site is:
    http://tourdeodense.dk



    • Justin Busa on February 22, 2016 at 7:41 pm

      Hey Johnny, it sounds like it might be an issue with the browser not forcing the download. Have you tried a different browser?



  16. Octavi on February 26, 2016 at 6:35 am

    great work Justin, but when I importing the xml this message appears – Sorry, for security reasons, this file type is not allowed – . any ideas? thanks



    • Justin Busa on February 26, 2016 at 8:52 am

      Thanks, Octavi! This plugin actually doesn’t accept a WordPress XML export file. It only accepts the export files that it creates. Does that make sense?



      • Octavi on February 26, 2016 at 9:03 am

        EXPORT files it’s Ok, but I just want to IMPORT… I ‘m a little confused, if doesn’t accept import/export xml wordpress, what is the function of this plugin?



      • Octavi on February 26, 2016 at 9:09 am

        I use tools/wordpress/import and if I want to use my original setup your plugin to import the .dat document and restore old configuration…you think that’s the solution? thanks



        • Justin Busa on February 29, 2016 at 9:28 am

          Hi Octavi, that is correct. It works with the .dat file that you can export in the Customizer. Any XML files exported under Tools > Export need to be imported using Tools > Import. Does that make sense?



  17. Hilda on July 9, 2016 at 11:37 am

    Hi I installed this plugin to save my customization from Syndey theme to Sydney Pro, but when I go into the customization area nothing uploads, no header or anything just the title you are customising biothecary, but no menus or anything.



    • Robby McCullough on July 11, 2016 at 8:30 am

      Hi Hilda! Thanks for the message. If you built your page using a different tool, you won’t be able to customize it with Beaver Builder. Sorry. You could probably rebuild the page with Beaver Builder, though! 🙂 Hope that helps.



  18. EG on July 15, 2016 at 7:40 am

    Hi,

    I installed the plugin but I can’t find it. I’ve already activated it but I can’t see on the customize page. (WP 4.5.3 with Quidus theme.)

    Thanks in advance!



    • Justin Busa on July 15, 2016 at 8:32 am

      It should be located at the bottom of the WordPress Customizer in a tab that says Export/Import. Do you not see it there?



  19. Carina on July 16, 2016 at 7:53 am

    Hi Justin,
    thank you for this great tool!
    I hope this isn’t a stupi question… but after I imported all my settings, can I de-install the PlugIn again? Or do I lose my imports with it?
    Kind regards,
    Carina



    • Justin Busa on July 18, 2016 at 11:10 am

      Yep! You can definitely uninstall once you’re done without losing anything.



  20. Danielle on September 7, 2016 at 5:39 am

    Hi,

    I just made an export from our test website and want to import these settings into the new website. They are both using the same templates.

    However I get the following error: ‘Error importing settings! Please check that you uploaded a customizer export file.’

    How do I fix this and make sure I can import it from site A to site B?



    • Robby McCullough on September 7, 2016 at 11:06 am

      Hey Danielle! Do you have the customizer import/export plugin installed on both sites? You’ll want to download the export file from the theme customizer and also upload it using the theme customizer.

      Also, are the sites using the same theme?



      • Danielle on September 22, 2016 at 1:06 am

        Hi, sorry for the late reply.

        Yes I’ve installed this on both sites. I have exported it on Site A in the theme customizer, and tried to import it on Site B in the theme customizer. The template names are the same, but it still gives me an error (just tried it again). Any ideas?



  21. chiara on September 25, 2016 at 5:57 am

    hi jason
    i’d like to export the setting from a local wp website but i get stuck on the ftp configuration becouse being local obviuosly i don’t have a ftp user and password, do you have any suggestions for this case?
    thanks



    • Justin Busa on September 26, 2016 at 10:43 am

      Hi Chiara, it sounds like your file permissions aren’t setup in a way that WordPress can handle the upload without FTP info. That would happen if you try and install any plugin, not just this one. Try adding this to your wp-config.php file…

      define(‘FS_METHOD’, ‘direct’);



  22. chiara on September 25, 2016 at 8:21 am

    Hi
    Can you please confirm if I can export from a local WP website? When I try to install the plug in locally it asks for an FTP connection that I don’t have locally…



  23. Franck Cordhomme on November 15, 2016 at 9:59 am

    Hello and thank you for this plugin!

    I thought it would work with DIVI Version: 3.0.18 on WordPress 4.6.1 but according to my tests it does not work at all.

    Your last update is 1 year old.
    Did you leave out the continuation of the spport of this plugin yet very interesting?
    Would you have a solution ..?
    Maybe reply on my email ?

    Cordially



    • Robby McCullough on November 18, 2016 at 10:49 pm

      Hey Franck! Sorry for the trouble.

      Did you email us via our support page? We do our best to update and maintain the WordPress Customizer Import/Export Plugin, but it definitely takes a back seat to Beaver Builder. In the post above, there is a Github link. If you can, by chance, figure out what the compatibility issue is and submit a PR it would definitely streamline the process.



  24. guilherme on November 24, 2016 at 8:38 am

    This doesn’t works with my teme Qode from wordress/envato



    • Robby McCullough on November 26, 2016 at 1:30 pm

      Hm. Sorry to hear about that. Feel free to post an issue on the wp.org page or maybe contact the theme developer to see if it’s something they can look into.



  25. Mark on January 13, 2017 at 12:11 am

    When I try to upload the data file (.dat) created by the plugin, I get “Sorry, this file type is not permitted for security reasons.” I am attempting to transfer the settings from a parent theme to a child theme.



    • Justin Busa on January 13, 2017 at 10:39 am

      Hey Mark,

      It looks like WordPress 4.7.1 has a bug that is preventing certain file type uploads like SVG. I’m not 100% sure but I think it might be affecting this plugin as well. I’ll do some digging and see if there is something that can be done in the meantime.



      • Justin Busa on January 16, 2017 at 9:54 pm

        Hey Mark,

        This should be resolved in version 0.5 of the plugin. Can you update and let me know how it goes?

        Justin



  26. chris three on January 13, 2017 at 3:43 pm

    Hi.
    I am using a new WP 4.7 and trying to import a .DAT for the theme settings.

    Hi Ivan,

    Question,

    I am hosting on the Grid at MediaTemple

    Trying to install the .DAT via the customizer is not working.

    “colors-creative-export-black-and-white.dat This file type is not allowed. Please try another.”
    that’s the error to the media library.

    “Sorry, this file type is not permitted for security reasons.”
    in the customizer.

    How else can I upload or install the theme options?

    So WP does not allow .DAT?

    Can you advise on some solutions?



    • nico on January 16, 2017 at 2:55 am

      Same problem..



    • Robby McCullough on January 16, 2017 at 9:17 am

      Hey, guys. Sorry about the trouble. If you see Justin’s comment above, this is something we’re aware of and looking into.



    • Justin Busa on January 16, 2017 at 9:54 pm

      Hey Chris,

      This should be resolved in version 0.5 of the plugin. Can you update and let me know how it goes?

      Justin



  27. nico on January 16, 2017 at 2:16 am

    Hi
    I have a problem on a mutisite installation.
    On import a popup tell me that the file is not allowed (export.dat)
    I have tried to had dat file on network/settings.php allowed files but the import still not working.

    Any ideas?



    • Justin Busa on January 16, 2017 at 9:53 pm

      Hey Nico,

      It looks like there is an issue with WordPress 4.7.1 when trying to upload certain file types. I just pushed an update to the plugin that should fix the issue. Can you update it and let me know if it’s working for you now? Thanks!

      Justin



  28. Christine Rachet on January 23, 2017 at 3:50 am

    Hi ! and many thanks for your work !
    my site : WP 4.7.1, theme soledad up to date, your plugin 0.5

    When I try to upload the data file (.dat) created by the theme soledad to import thier parameters, I get “Sorry, this file type is not permitted for security reasons.”

    But when i save my settings from parent theme soledad and in import them to a child theme, this works well.
    The debug log says :
    [21-Jan-2017 16:33:18 UTC] PHP Fatal error: Class ‘SimplePie_Locator’ not found in /var/www/web6/web/blog/wp-includes/SimplePie/Registry.php on line 179

    can you help me ?



    • Robby McCullough on January 23, 2017 at 3:19 pm

      Hey Christine! Sorry for the trouble. Did you use the new version of the plugin for the export as well as the import? Can you try using it with a different theme to see if the issue is specific to the theme you’re using? Thanks. Let us know what you find.



      • Christine Rachet on January 24, 2017 at 6:06 am

        i use the same version of your plugin for the import/export function (with my own settings from parent theme to child theme). And this is working.
        But Soledad settings may have been exported with another version.
        and i can’t test with another theme because settings will not match with another theme.
        the way not working is when i import Soledad settings delivered with theme Soledad, whatever they are.



        • Robby McCullough on January 25, 2017 at 5:17 pm

          Hey Christine. Try grabbing the export file with the new version.

          I was asking if you could switch themes because, if you do that and there is still a problem, the issue might be due to a plugin conflict. And/or, if it solves the problem, there might be an issue with the theme.



          • Christine Rachet on January 26, 2017 at 7:40 am

            i asked the theme some help. Then it’s solved. it was :
            “it’s issues from your hosting blocked this file type.
            Please open wp-config.php file and add more this code:
            define(‘ALLOW_UNFILTERED_UPLOADS’, true);
            After this code:
            define(‘WP_DEBUG’, false);”

            thank you for your help



          • Robby McCullough on January 30, 2017 at 10:37 am

            Oh, good! Glad to hear it was resolved. Thanks for sharing the solution. That’s really helpful. 🙂



  29. Sebastian on January 28, 2017 at 2:19 am

    Hi Justin,

    tried the customizer import — but the .dat file upload fails with a WordPress error message stating that “this file type is not allowed for security reasons”.

    Then I tried extending the theme files’ functions.php to add upload support for .dat files, but without success (maybe because I had no idea which MIME type to associate with .dat files, so I declared “application/octet-stream”).

    Do you have a working solution to allow upload and import of .dat files for your importer?

    Thanks,
    Sebastian



    • Robby McCullough on January 30, 2017 at 10:36 am

      Hey, Sabastian. Sorry for the trouble.

      If you browse through the comments, there’s been a few folks having similar issues. If you haven’t already, try updating the plugin and then re-exporting the dat file. If that doesn’t work, you could try contacting your web host.

      Lastly, we’re going to close off the comments on this blog post and refer everyone to our WordPress.org support forum. The notifications there go to our development team, so it’ll be a bit easier to respond and track.

      https://wordpress.org/support/plugin/customizer-export-import



  30. Robby McCullough on January 30, 2017 at 10:39 am

    Hey, all. This comment thread started getting a lot of support questions and issues, but it’s very hard for us to keep track and respond here.

    We’re going to close the comments on this post and ask that you post questions or issues on the WordPress.org Plugin Page.

    Sorry for any inconvenience.

    https://wordpress.org/support/plugin/customizer-export-import



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

It would be totally gnaw-some if you could share this post with your friends.

Related articles

Best WordPress Black Friday deals

Best WordPress Black Friday Deals (2024)

Hey Beaver Builders! Are you looking for the best WordPress deals for this holiday season and Black Friday? We reached…

Read More...
Spotlight on 48in48 | Beaver Builder nonprofit website builder

48in48 Spotlight: Beaver Builder’s Nonprofit Website Builder

For the past ten years, Beaver Builder has been the go-to nonprofit website builder for 48in48. This incredible initiative brings…

Read More...
Bento Grid Design with Beaver Builder's Box Module

Bento Grid Design in WordPress with Beaver Builder’s Box Module

The Bento Grid Design seamlessly combines clean lines, balanced proportions, and intuitive organization, drawing inspiration from Japanese bento boxes. Beaver...

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.

Since 2014

Build Your Website in Minutes, Not Months

Join Over 1 Million+ Websites Powered By Beaver Builder.