How to Export a WordPress Theme: 3 Methods for Exporting a Theme From the WordPress Dashboard

If you have a WordPress website, you may need to export its theme for various reasons, such as creating a new site or sharing the file with other users.

Even though it’s a simple process, there are different ways to export a theme in WordPress.

Thus, this article will explain why and when to export a WordPress theme and provide three effective methods to do it.

Why and When to Export a WordPress Theme

The most common reasons you may need to export a WordPress theme are:

  • Creating a backup of the WordPress theme before customizing it. If the changes cause issues, import the backup theme file to revert them.
  • Using the same theme for multiple websites. Using the exported file, you can install the same WordPress theme on many websites. This is especially useful for installing custom WordPress themes unavailable in the official library.
  • Applying changes on the live site. After customizing the theme on a staging environment, deploy the changes to the live website by exporting them. This simplifies the theme deployment process, improving your web development workflow.
  • Using the theme on a new domain or WordPress installation. Exporting a theme eases the site migration process when moving to a new WordPress host, for example. You can easily download your theme and apply it to the new WordPress site.
  • Sharing a custom theme. Share your customized WordPress theme by exporting it as a .zip file. Other users can download and install it via the WordPress dashboard.

Method 1. Exporting a WordPress Theme Manually

Manually exporting a WordPress theme is the simplest method. You can do so from the WordPress dashboard without any additional tools.

Here are the steps to export a WordPress theme manually as a .zip file:

  1. On your dashboard, navigate to the sidebar and select AppearanceThemes.
  2. Ensure the theme you want to export is active, then click Customize. Otherwise, hover over the WordPress theme and click Activate.
Themes menu on the WordPress dashboard, highlighting the "Customize" button next to the active theme.
  1. Click the three-dot icon on the top right corner of your screen.
  2. From the drop-down menu, find the Tools section and click the Export button.
Tools menu, highlighting "Export"

Once the export process is complete, import and install your WordPress theme on the desired website. There are different ways to install a WordPress theme, but we will use the dashboard:

  1. Open your WordPress dashboard and navigate to the sidebar → AppearanceThemes.
  2. On the top of the page, click Add New Upload Themes Choose File.
  3. From the pop-up window, locate and select your exported theme .zip file. Click Open to confirm.
  4. Click the Install Now button and wait for the installation process.
  5. Click Activate to immediately use it on your live website.

In addition to themes, the built-in WordPress tool lets you export your site’s blog posts, pages, and media library.

Method 2. Exporting a WordPress Theme Using a Plugin

Alternatively, export your website theme using a WordPress plugin such as UpdraftPlus. This plugin exports WordPress themes as .zip files, which is ideal for backup and sharing purposes.

The steps to export a WordPress theme using UpdraftPlus are as follows:

  1. Download and install the plugin.
  2. After activating it, navigate to your WordPress sidebar and select SettingsUpdraftPlus Backups.
  3. On the Backup/Restore tab, click Backup Now.
Backup/Restore menu of the UpdraftPlus plugin, highlighting the "Backup Now" button.
  1. From the pop-up window, click the three-dot icon next to Include your files in the backup.
  2. Check the Themes and Include your files in the backup boxes. Click Backup Now.
UpdraftPlus – Perform a backup window
  1. Scroll down to the Existing Backup section.
  2. Click the theme exported earlier Download to your computer.

Method 3. Exporting WordPress Theme Customizer Settings

You may also use the Customizer Export/Import WordPress plugin to export the theme customizer settings and apply them to another website.

This method is great for applying settings to a child theme, as it automatically inherits its parent’s codes and files but not the theme options.

However, this plugin only exports theme modifications stored in your WordPress database, including colors, layout settings, and header media. You can’t download other site data, such as navigation menus, widgets, or the site title.

To export the theme customizer settings, follow these steps:

  1. Download and install the Customizer Export/Import plugin.
  2. Navigate to your WordPress sidebar → AppearanceCustomize.
  3. On the theme customization screen, select Export/Import from the sidebar.
  4. Under the Export section, click the Export button.
Customizing Export/Import window, highlighting the "Export" button
  1. On the Save As window, choose your desired directory and click Save to confirm.

Customizer Export/Import exports the WordPress customizer settings as a .dat file. Since WordPress websites don’t support this export file format by default, install the plugin on the other site to import the theme.

Here are the steps to import the WordPress theme customizer settings:

  1. From your WordPress sidebar, select Appearance Customize.
  2. On the theme customization screen, select Export/Import from the sidebar.
  3. Under the Import section, click Choose File.
  4. On the pop-up window, locate and select the export file. Press the Open button to confirm.
  5. Check the Download and import image files? box. This keeps the imported theme’s logo, photo, header, and other image files.
  6. Confirm by clicking Import.
Import page on the WordPress theme customizer, highlighting the "Import" button.
  1. After the preset is applied, click the Save & Publish button to deploy the changes.

Conclusion

As a WordPress user, you may want to export your WordPress theme for backup, sharing, and installation purposes.

Thus, in this article, we have explained three different ways to export a WordPress theme and how to import it from one website to the other:

  • Manually via the WordPress dashboard
  • Using the UpdraftPlus plugin
  • Using the Customizer Export/Import plugin to export the theme customizer settings

We hope this article will help export your WordPress website theme to a new domain or website installation without issues. Also, feel free to read our full WordPress overview if you’re looking for some clues to start your own website with this CMS.

If you have any questions or suggestions, leave us a comment below.

Author
The author

Aris B.

Aris is a Content Writer specializing in Linux and WordPress development. He has a passion for networking, front-end web development, and server administration. By combining his IT and writing experience, Aris creates content that helps people easily understand complex technical topics to start their online journey. Follow him on LinkedIn.