This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Widget Saver

Description

A plugin that adds “Add”, “Save”, “Restore” and “Delete” buttons to the Widgets configuration page with the following
functionality:

  • Add: Adds a new named widget layout and saves the current widget layout against the new layout name.
  • Save: Saves the current widget layout against the selected layout name.
  • Restore: Restores the previously saved widget layout. If the theme name shown next to the layout name in the
    drop-down matches the current theme, widgets will be restored to the sidebar they were located in when the layout was
    saved.
  • Delete: Deletes the selected widget layout – does not modify the current layout of the widgets.

Note that the behaviour has changed from version 1 – widget layouts are not automatically restored when themes are
switched. Layout choice is now a manual step since it is possible to save multiple widget layouts for a given theme.
Once a theme has been activated, use the “Layouts” drop-down to select a previously saved layout that matches the
current theme.

The reset button has been removed as it was too easy to remove all widgets with one click.

Typical Usage

This plugin is useful for trying different widget layouts, making it easy to revert back to a previous layout if the
current layout is not working. It can also be useful when switching between themes. Different themes will offer different
sidebar areas, and often there is not a direct mapping from one theme’s sidebars to another. This plugin can be used
to save a widget layout for each theme. When the themes are switched, the appropriate widget layout can then be restored
saving the time it usually takes to drag each widget from an inactive sidebar into the correct sidebar.

A typical process would be as follows:

  1. Type your own layout name into the text field, and click “Add” to add and save the current widget layout. This name
    is now available in the “Layouts” drop-down.
  2. Rearrange the widgets, move them to different sidebars, or move them into the inactive widgets box.
  3. Type a new layout name, and click “Add” to add a second widget layout.
  4. Select the layout name you created in step 1 from the drop-down, and click “Restore”. Your widgets will be
    repositioned to match this layout.
  5. Select your layout name from step 3, and click “Restore”. Your widgets will now be repositioned to match your
    second layout.

FAQ

Is widget content saved

No. Only widget layout is saved. Widget layout is the widget’s sidebar location, as well as its order within the sidebar.

I removed a widget from a sidebar, and now it is not being restored

Widgets that are deleted can not be restored because widget content/settings are not saved. Dragging a widget back into
the “Available Widgets” area effectively deletes the widget. In order to remove a widget
from view, but keep its content, drag it into the “Inactive Widgets” area. This will ensure that the widget ‘instance’
is not deleted, and can be restored in different layouts.

Changelog

2.0.0

  • Updated to be compatible with WordPress 3.4.2.
  • Added ability to save multiple named layouts per theme.
  • Removed reset button for resetting widgets.
  • Removed auto-restore on theme activation.

1.0.1

  • Corrected readme.txt.

1.0.0

  • Initial version.

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code