{"id":825794,"date":"2017-12-30T16:00:58","date_gmt":"2017-12-30T16:00:58","guid":{"rendered":"https:\/\/www.lafactory.com\/blog\/divi-plugin-highlight-migrate-divi-theme-settings\/"},"modified":"2022-12-10T13:49:31","modified_gmt":"2022-12-10T13:49:31","slug":"divi-plugin-highlight-migrate-divi-theme-settings-3","status":"publish","type":"post","link":"https:\/\/www.lafactory.com\/blog\/en\/divi-plugin-highlight-migrate-divi-theme-settings\/","title":{"rendered":"Divi Plugin Highlight: Migrate Divi Theme Settings"},"content":{"rendered":"\n
One of the many advantages of Divi is the ability to import and export your theme settings. This means you can build a site in one location, such as an offline server or test site, and then move those settings to another site. There are lots of ways to move your settings and some are easier than others. One of the easiest methods is to use a plugin called Migrate Divi Theme Settings.<\/p>\n
Migrate Divi Theme Settings is a third-party plugin that lets you easily backup or migrate theme options and customizer settings, including both the Theme Customizer and the Module Customizer, with a single click. You can backup or move your data, design elements, and development work of Theme Settings and Customizer.<\/p>\n
This is great for those who like to try out different theme settings without losing them, and for Divi child theme developers who want to give users multiple options or an easy way to upload options. You can purchase Migrate Divi Theme Settings from the developer\u2019s website<\/a>. Let\u2019s take a look at what the plugin can do.<\/p>\n Upload and activate the plugin as normal on each of the sites you plan to use your settings. No other setup is required in order to backup or migrate your theme from one WordPress installation to another. You\u2019ll have to add a file to your child themes\u2019 php in order to include the plugin within your child theme package. We\u2019ll take a look at that process later.<\/p>\n In the dashboard, go to Divi<\/em>, Migrate Settings<\/em>. Here you can import or export your Divi theme settings.<\/p>\n There are three ways to use Migrate Divi Theme Settings:<\/p>\n Anything that uses the get_theme_option() is included within the file.<\/p>\n For the Theme Customizer this includes settings such as colors, fonts, Theme option settings will also match except for the name of the site, tagline, homepage settings, menus, widgets, etc.<\/p>\n For the Theme Options this includes settings such as URL\u2019s for the logo, favicon, social networks, ads, etc., which will have the address from the imported theme options. Features that are enabled or disabled will match. Categories and pages to exclude in the Navigation tab will match if you have the same pages and categories on both sites. The layout tab will match the theme\u2019s meta items to display for post info. Code for ads and integration will match.<\/p>\n It didn\u2019t overwrite my username and API key or import my custom CSS in the theme options. This will not include content such as pages, posts, users, media, layouts, and menus. However, if you create a child theme with this data, Migrate Divi Customizer Settings will migrate the theme options and customizer settings for the child theme.<\/p>\n To export your theme settings click the button labeled DOWNLOAD DATA in the section on the right. A filed named divi-settings-backup will automatically download to your computer. I recommend renaming this file using your favorite naming conventions.<\/p>\n This is a backup of your theme\u2019s settings including the Theme Customizer, Module Customizer, and Theme Option settings. All of the theme\u2019s data is included when you make the backup. This not only includes settings, but also includes API keys. I recommend removing all keys before making backups with this plugin.<\/p>\n Unless this is a new site with no design elements you want to keep, make a backup before importing files to the website. To import, first install and activate the plugin on the new site and navigate to the plugin\u2019s menu, then click the button labeled Choose File in the section on the left. This will open a window where you\u2019ll navigate to the file. Click on the file and select Open<\/em>. Click the button labeled UPLOAD FILE.<\/p>\n A message will appear when the upload is complete. You\u2019re theme settings will changed to match the imported file. It\u2019s that simple.<\/p>\n This plugin can be coded into your child themes. It comes with a file that you can copy and paste to your child themes\u2019 php file to embed the code. Anyone installing your child theme would simply upload the themes\u2019 settings as in shown in the example above. This feature requires the Unlimited Sites license.<\/p>\n Unzip the downloaded file (the plugin file). Within the zipped file is a text document called functions-php-copy-and-paste.<\/p>\n Copy all of the text. Open the child theme\u2019s php file and paste the text between the opening and closing tags.<\/p>\n For this example I created a blank child theme using the free child theme builder<\/a> tool at Divi.Space. I then unzipped the file and opened the Functions php file.<\/p>\n I\u2019ve added a space to my child theme\u2019s php file just above the last php tag. I\u2019m pasting the code into that location.<\/p>\n After uploading and activating the child theme, Migrate Divi Theme Settings is now added to the Divi menu in the dashboard, only this time it isn\u2019t a plugin that the user can uninstall. Instead, it\u2019s part of the child theme.<\/p>\n The user can now upload the customizer and theme option file you\u2019ve provided for them. This is a great way to provide multiple styles and options and let the user choose which they want to use. You could show multiple styles of the child them, each with a different name, and then name the file based on the child theme\u2019s style. Each of the styles would be a file within the download package or they could be downloadable as separate files which you could even add to later.<\/p>\n Documentation is provided at the developer\u2019s website<\/a>. There\u2019s also a short READ ME file within the zipped file. Although, the information is short because there really isn\u2019t much to cover. An example of adding the code to a child theme would be nice, but if you can make child themes you probably wouldn\u2019t need anything more than is mentioned within the functions copy and paste file. Just be sure to read the comments within that file.<\/p>\n There are four different licenses:<\/p>\n It includes 1 year of support and automatic updates.<\/p>\n Migrate Divi Theme Settings is simple to use. It doesn\u2019t require any setup and is intuitive. I think beginners wouldn\u2019t have any problems using this plugin. The interface for import and exporting files is labeled well and easy to understand.<\/p>\n There isn\u2019t much I would change with this plugin. I\u2019d like to see it retain the CSS in the Custom CSS field within the Divi Theme Options. I\u2019d also like to see a version for Extra. This is one of the easiest methods I\u2019ve seen to backup or migrate theme settings. If you\u2019re looking for a settings migration plugin that\u2019s easy to use, Migrate Divi Theme Settings might be the plugin you need.<\/p>\n We want to hear from you. Have you tried Migrate Divi Theme Settings? Let us know what you think in the comments. <\/strong><\/p>\n Featured Image via hanss \/ shutterstock.com<\/em><\/p>\n<\/div>\n Divi Plugin Highlight: Migrate Divi Theme Settings<\/a><\/p><\/blockquote>\nInstalling Migrate Divi Theme Settings<\/h2>\n
<\/p>\n
Using Migrate Divi Theme Settings<\/h2>\n
<\/p>\n
\n
Exporting Your Settings<\/h2>\n
<\/p>\n
Import Your Settings<\/h2>\n
<\/p>\n
<\/p>\n
Include Migrate Divi Theme Settings Within Your Child Themes<\/h2>\n
<\/p>\n
<\/p>\n
<\/p>\n
<\/p>\n
<\/p>\n
License and Documentation<\/h2>\n
\n
Final Thoughts<\/h2>\n