Title: Widget Saver
Author: zorgbargle
Published: <strong>2010 年 7 月 31 日</strong>
Last modified: 2012 年 9 月 22 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/widget-saver.svg)

# Widget Saver

 作者：[zorgbargle](https://profiles.wordpress.org/zorgbargle/)

[下载](https://downloads.wordpress.org/plugin/widget-saver.2.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/widget-saver/#description)
 * [评价](https://cn.wordpress.org/plugins/widget-saver/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/widget-saver/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/widget-saver/#developers)

 [支持](https://wordpress.org/support/plugin/widget-saver/)

## 描述

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.

## 安装

 1. Install and activate the plugin as usual.
 2. Go to Appearance – Widgets, the add, save, restore and delete buttons should now
    be available at the top of the page.

Note that there are no plugin-specific settings, all configuration is done via the
widget configuration page.

## 常见问题

  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.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Widget Saver」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ zorgbargle ](https://profiles.wordpress.org/zorgbargle/)

[帮助将「Widget Saver」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/widget-saver)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/widget-saver/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/widget-saver/)，或通过[RSS](https://plugins.trac.wordpress.org/log/widget-saver/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/widget-saver/)。

## 更新日志

#### 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.

## 额外信息

 *  版本 **2.0.0**
 *  最后更新：**14 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 2.8 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/widget-saver/)
 * 标签
 * [admin](https://cn.wordpress.org/plugins/tags/admin/)[administration](https://cn.wordpress.org/plugins/tags/administration/)
   [theme](https://cn.wordpress.org/plugins/tags/theme/)[widgets](https://cn.wordpress.org/plugins/tags/widgets/)
 *  [高级视图](https://cn.wordpress.org/plugins/widget-saver/advanced/)

## 评级

 4.2 星（最高 5 星）。

 *  [  4 条 5 星评价     ](https://wordpress.org/support/plugin/widget-saver/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/widget-saver/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/widget-saver/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/widget-saver/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/widget-saver/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/widget-saver/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/widget-saver/reviews/)

## 贡献者

 *   [ zorgbargle ](https://profiles.wordpress.org/zorgbargle/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/widget-saver/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.phenomenoodle.com/free-resources)