How To Proceed A Widgets Import In WordPress https://visualmodo.com/wordpress-widgets-import-guide/ 🚛🛬🛸📦 #WordPress #Guide #Tutorial #Widgets #Import #Export

Sometimes when moving WordPress sites, you may need to save and reuse widget settings from one WordPress installation to another. If a site has just a few widgets, then you can probably do that manually. However, if there are many widgets in multiple sidebars and widget areas, then you need a better solution. In this article, we will show you how to proceed a Widgets Import

WordPress Widgets Import

The WordPress widgets menu (Appearance – Widgets) is where the magic happens. You pick, choose, and customize whichever widgets will grace your blog’s sidebars and footers. And once you have those chosen and set up perfectly — which may take a good, long time — you don’t want to do it again. Especially if you used a lot of custom code snippets or anything else that had to be copy/pasted it over and over.

WordPress Widgets Import Guide
WordPress Widgets Import Guide

 

Ready To Go

Once you have that perfect, head over to the WordPress.org plugin repository and grab yourself the plugin called Widget Importer & Exporter. Obviously install it and activate it, too.

Now you will have a new menu item at Tools – Widget Importer & Exporter. You can access it either in the dashboard sidebar or the Installed Plugins page. Regardless, when you get there, you’ll see buttons for the two things this plugin does best: Import Widgets and Export Widgets. The plugin doesn’t have any other set up than that. Just click and go.

Now, the important part to notice is that under Export Widgets (#2, above), the plugin states that it will create an export file for all active widgetsThat means only the widgets that are currently displayed inside a sidebar, footer, or another widgetized area will be exported. So you don’t have to deal with blank copies of the 20 default widgets you may not be using.

Clicking the Export Widgets button will generate a .wie file for your URL that you can save wherever you want.

The .wie filetype is for this plugin only. You can easily see how it exports the data, however, by opening the file in a code editor. WordPress keeps widget data as a serialized array in the database, so that’s what you’re looking at here. Technically, you can go in and find and move this stuff manually using SQL, but I doubt you’d want to.