Switching a WordPress theme can change more than just the appearance of your website. One common problem is losing or rearranging your widget configuration. This happens because widgets and widget areas are often closely connected to the theme you are using. If you have carefully configured your sidebar, footer, and other widget areas, recreating the same setup manually on another website can be time consuming. Fortunately, there is an easy way to export your widget settings from one WordPress site and import them into another.
This is particularly useful when you use the same theme on multiple websites and want to maintain a consistent widget configuration across all of them.
Note: This article explains with the classic theme like Astra or GeneratePress. If you are using a block-based theme, the interface will be different using the Site Editor and template parts rather than the traditional Widgets screen.
Why Don’t Widgets Automatically Transfer When You Change a Theme?
WordPress widgets are not completely independent of the theme. A theme determines which widget areas are available and what those areas are called.
For example, one theme might provide:
- Main Sidebar
- Footer 1
- Footer 2
- Footer 3
Another theme might have:
- Sidebar
- Footer Left
- Footer Center
- Footer Right
When you switch themes, WordPress cannot simply place every existing widget into the new theme’s widget areas because the corresponding areas may not exist. This is why you may find that your widgets appear under an inactive or previously used widget area after changing themes. The same issue can occur when moving your widget configuration to another website.
Why Export and Import Widgets?
Suppose you have Website A using your preferred WordPress theme. You have spent time configuring the sidebar and footer with specific widgets, including:
- Search
- Categories
- Recent Posts
- Custom HTML
- Navigation menus
- Social links
- Newsletter or promotional widgets
Now you create Website B and install the same theme. Instead of manually adding and configuring every widget again, you can export the widget settings from Website A and import them into Website B. This can save considerable time, especially if you manage multiple websites using the same theme. It is also useful when:
- Setting up a staging website.
- Creating a new website based on an existing site.
- Migrating a widget configuration.
- Testing a redesigned website.
- Maintaining several websites with the same theme.
- Rebuilding a website after a fresh WordPress installation.
The most important requirement is that the destination website should use the same theme, or at least a theme with compatible widget areas. If you export widgets from one theme and import them into a completely different theme, the widget areas may not match. You should also make sure that any plugins required by your widgets are installed on the destination website.
Exporting Widgets Settings from Source Site
WordPress does not provide a standard built-in tool specifically for exporting and importing widget configurations between separate websites. A practical solution is to use a widget import/export plugin. Let’s create a sample site with 2 sidebar widgets and 3 footer widgets as shown below.

- Login to the WordPress Dashboard of the source website and go to “Plugins > Add Plugin”.
- Search for “Widget Importer & Exporter” plugin, install it, and activate it.

- Go to “Tools > Widget Importer & Exporter” section.
- Click “Export Widgets” button to download the .wie file.
- This file contains all details related to your widget types, settings, titles, content, positions, assigned widget areas, and widget order.

Keep the original file somewhere safe until you have successfully imported the settings into the destination website.
Import Widgets Settings on Destination Site
Now open the destination WordPress website. Install and activate the same theme and customize the footer similar to the source website. If you heavily customized the source site, we recommend exporting the entire customizer settings and import it on the destination site before you import the widgets.
- Install and activate the same “Widget Importer & Exporter” plugin.
- Go to “Tools > Widget Importer & Exporter” section.
- Click the “Choose File” button and select the .wie file downloaded from the source site.
- Click the “Import Widgets” buttons to start the import process. The plugin will read the configuration and recreate the widgets in the available widget areas.

- You will see the “Imported Results” showing the status of each imported widget.

- Once the process finishes, go to “Appearance > Widgets” section to see the widgets displayed in the theme’s available widget areas.

- Open any posts on a new tab and check the sidebar and footer areas.

As you can see in the below screenshot, 2 sidebar and 3 footer widgets are imported successfully from the source to destination site.
Important Things to Check After Importing
Do not assume that a successful import means everything is ready. Visit the actual website and check the sidebar, footer, and other widget areas. Pay particular attention to:
- Widget order
- Widget titles
- Custom HTML
- Images
- Links
- Plugin-based widgets
- Navigation menus
- Theme-specific widgets
- Mobile appearance
- Empty or inactive widget areas
Also clear your website cache if changes do not immediately appear on the front end.





