Title: Importing theme_mods?
Last modified: August 31, 2016

---

# Importing theme_mods?

 *  Resolved [ninetienne](https://wordpress.org/support/users/ninetienne/)
 * (@ninetienne)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/importing-theme_mods/)
 * Would be cool if we could import theme_mods and options. Any plans?
 * [https://wordpress.org/plugins/one-click-demo-import/](https://wordpress.org/plugins/one-click-demo-import/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/importing-theme_mods/#post-7387019)
 * Hi,
 * yes, there are plans to import theme options with the help of this plugin: [https://wordpress.org/plugins/customizer-export-import/](https://wordpress.org/plugins/customizer-export-import/)
 * This feature is scheduled for the next update… But I’ll update this ticket, when
   I make the actual update.
 * For now, you can “import” theme mods manually in the after import action of the
   plugin, like so:
 *     ```
       function ocdi_after_import_setup() {
       	// Set logo in customizer
       	set_theme_mod( 'logo_img', get_template_directory_uri() . '/assets/images/logo.png' );
       }
       add_action( 'pt-ocdi/after_import', 'ocdi_after_import_setup' );
       ```
   
 * I know this is not ideal, that’s why we will implement the theme mods importer
   as well…
 * Take care!
 *  Thread Starter [ninetienne](https://wordpress.org/support/users/ninetienne/)
 * (@ninetienne)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/importing-theme_mods/#post-7387029)
 * Yeah, setting the theme_mods manually is a pain, because I have hundreds of them
   😉
 * Would be great to use the third party plugin (which is awesome by the way).
 *  Thread Starter [ninetienne](https://wordpress.org/support/users/ninetienne/)
 * (@ninetienne)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/importing-theme_mods/#post-7387143)
 * Maybe you could have a look how this script does theme_mod import?
 * [https://github.com/FrankM1/radium-one-click-demo-install](https://github.com/FrankM1/radium-one-click-demo-install)
 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/importing-theme_mods/#post-7387145)
 * Hi,
 * that’s what we used before this plugin 🙂 Well, a slightly modified version of
   it.
 * I’ll have time to work on this at the end of the week, so thanks for the link…
 * Take care!
 *  Thread Starter [ninetienne](https://wordpress.org/support/users/ninetienne/)
 * (@ninetienne)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/importing-theme_mods/#post-7387146)
 * Thanks a lot!
 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/importing-theme_mods/#post-7387200)
 * Hi,
 * I’ve just make an update to the plugin (version 1.1.1). I implemented the customizer
   settings import with the help of this plugin [https://wordpress.org/plugins/customizer-export-import/](https://wordpress.org/plugins/customizer-export-import/).
 * If you want to use it, make an export file from the above plugin and use it in
   our plugin, more info on how to set it up in the updated FAQ section (“How to
   predefine demo imports?”).
 * I’ve tested it on our themes and it worked ok.
 * Please let me know, if it works ok for you too.
 * Take care!
 *  Thread Starter [ninetienne](https://wordpress.org/support/users/ninetienne/)
 * (@ninetienne)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/importing-theme_mods/#post-7387209)
 * I will keep you updated, when I’ve tested it out.
 * Thanks a lot!
 *  Thread Starter [ninetienne](https://wordpress.org/support/users/ninetienne/)
 * (@ninetienne)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/importing-theme_mods/#post-7387228)
 * Just tested it out. Working like a charm.
 * Thank you very much. Highly appreciated!
 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/importing-theme_mods/#post-7387231)
 * Hi,
 * no problem 🙂
 * I also tested it out some more, with our themes and it worked nicely.
 * Have a nice day!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Importing theme_mods?’ is closed to new replies.

 * ![](https://ps.w.org/one-click-demo-import/assets/icon-256x256.png?rev=2506685)
 * [One Click Demo Import](https://wordpress.org/plugins/one-click-demo-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/one-click-demo-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/one-click-demo-import/)
 * [Active Topics](https://wordpress.org/support/plugin/one-click-demo-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/one-click-demo-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/one-click-demo-import/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/importing-theme_mods/#post-7387231)
 * Status: resolved