Title: Stag Custom Sidebars
Author: Ram Ratan Maurya
Published: <strong>2013 年 10 月 23 日</strong>
Last modified: 2021 年 2 月 1 日

---

搜索插件

![](https://ps.w.org/stag-custom-sidebars/assets/banner-772x250.jpg?rev=854672)

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

![](https://ps.w.org/stag-custom-sidebars/assets/icon-256x256.png?rev=2466596)

# Stag Custom Sidebars

 作者：[Ram Ratan Maurya](https://profiles.wordpress.org/mauryaratan/)

[下载](https://downloads.wordpress.org/plugin/stag-custom-sidebars.1.2.1.zip)

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

 [支持](https://wordpress.org/support/plugin/stag-custom-sidebars/)

## 描述

This plugin adds a button to widgets area to create a new sidebar area which you
can later use just about anywhere.

#### 用法

To display the sidebar with shortcode you can use `[stag_sidebar id="custom-sidebar"]`
where `id` is the id of the sidebar that appears in the description area of the 
respective widget area. You can also pass an additional parameter `class` in shortcode
to add class to the widget area wrapper on frontend.

#### Import/Export

We have added compatibility with [Widget Importer & Exporter](https://wordpress.org/plugins/widget-importer-exporter),
which gives you the freedom to import and export custom widget areas when moving
widgets from one site to another or backing up the widgets.

If you’d like to check out the code and contribute, [join us on GitHub](https://github.com/mauryaratan/stag-custom-sidebars).
Pull requests, issues, and plugin recommendations are more than welcome!

_Checkout our finely tuned WordPress themes over at [Codestag](https://codestag.com)._

## 屏幕截图

 * [[
 * Add new widget area under Appearance > Widgets
 * [[
 * As usual, new widget area appears to right of the screen along with a button 
   to delete the widget area with a shortcode in description to use it anywhere.

## 安装

#### Automatic Installation

 1. Log in and navigate to Plugins → Add New.
 2. Type “Stag Custom Sidebars” into the Search input and click the “Search Widgets”
    button.
 3. Locate the Stag Custom Sidebars in the list of search results and click “Install
    Now”.
 4. Click the “Activate Plugin” link at the bottom of the install screen.
 5. Now you can add custom widget areas under Appearance → Widgets.

#### Manual Installation

 1. Download the “Stag Custom Sidebars” plugin from WordPress.org.
 2. Unzip the package and move to your plugins directory.
 3. Log into WordPress and navigate to the “Plugins” screen.
 4. Locate “Stag Custom Sidebars” in the list and click the “Activate” link.
 5. Now you can add custom widget areas under Appearance → Widgets.

## 常见问题

### Where can I find Stag Custom Sidebars documentation and guides?

For extending Stag Custom Sidebars you can check the plugin [wiki](https://github.com/mauryaratan/stag-custom-sidebars/wiki)
on [Github](https://github.com/mauryaratan/stag-custom-sidebars), where you will
find plugin filters and actions in use.

### Will Stag Custom Sidebar work with my theme?

Yes; Stag Custom Sidebar will work with any theme. However, it may require some 
styling to match your theme.

### Where can I report bugs or contribute to the project??

Bugs can be reported either in our support forum or preferably on the [Stag Custom Sidebars GitHub repository](https://github.com/mauryaratan/stag-custom-sidebars).

## 评价

![](https://secure.gravatar.com/avatar/a4babfd10111b95936a6bea8d17e03f91cc74cc6f0a0654a3c120f2199d114d5?
s=60&d=retro&r=g)

### 󠀁[Thank you](https://wordpress.org/support/topic/thank-you-295/)󠁿

 [Betty_](https://profiles.wordpress.org/betty_/) 2016 年 10 月 9 日

Un plugin molto utile e semplicissimo da usare. Grazie per il grande lavoro!

![](https://secure.gravatar.com/avatar/91e8399975d07a2ca33ffca750911757f50bb440fa93286af5a219ce3d429f67?
s=60&d=retro&r=g)

### 󠀁[Very easy to use](https://wordpress.org/support/topic/very-easy-to-use-201/)󠁿

 [thewiseass](https://profiles.wordpress.org/thewiseass/) 2016 年 9 月 3 日

Easy to use and it works well with a floating widget plugin that I needed as well.
Solved a “sticky” problem. Good job!

 [ 阅读所有7条评价 ](https://wordpress.org/support/plugin/stag-custom-sidebars/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Ram Ratan Maurya ](https://profiles.wordpress.org/mauryaratan/)
 *   [ Codestag ](https://profiles.wordpress.org/codestag/)

「Stag Custom Sidebars」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/stag-custom-sidebars/contributors)
为本插件所做的贡献。

[帮助将「Stag Custom Sidebars」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/stag-custom-sidebars)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.2.1 – January 26, 2021

 * Ensure compatibility with WordPress 5.6
 * Other minor improvements

#### 1.2 – Apr 04, 2016

 * Ensure compability with WordPress 4.5
 * Fix sidebar delete button positioning
 * Escape sidebar title in customizer

#### 1.1 – Dec 17, 2015

 * Fixed an issue where sidebar wouldn’t delete
 * Tweaked the delete icon

#### 1.0.11 – Oct 20, 2014

 * Fix issue with undefined variables breaking the sidebars

#### 1.0.10 – Oct 19, 2014

 * Fix issue with undefined option keys under customizer when no custom sidebars
   are present

#### 1.0.9 – August 28, 2014

 * Ensure compatibility with WordPress 4.0
 * Fix an issue where plugin caused an error on customizer screen when no custom
   sidebars are created
 * Introduced a new filter, to filter every registered sidebar arguments

#### 1.0.8 – June 11, 2014

 * Added confirmation dialogue when deleting the sidebar area

#### 1.0.7 – May 22, 2014

 * Added compatibilty with Widget Customizer

#### 1.0.6 – February 18, 2014

 * Ability to import/export custom widgets area via [Widget Importer & Exporter](https://wordpress.org/plugins/widget-importer-exporter)
 * Performance tweaks

#### 1.0.5 – December 21, 2013

 * Bug Fixes

#### 1.0.4 – December 20, 2013

 * Fixed an issue where deleting a sidebar area caused other sidebar area’s widgets
   to disappear

#### 1.0.3 – December 17, 2013

 * Better integration in WordPress 3.8
 * Added backwords compatibilty

#### 1.0.2 – December 13, 2013

 * Fix: Few UI issues with WordPress 3.8
 * Improved: Compatibilty with WordPress 3.8
 * Provide fallback for older version of WordPress installations

#### 1.0.1 – October 31, 2013

 * Fix: Issue with register_sidebar arguments being overridden
 * Fix: Changed opening/closing tags for sidebar wrapper and sidebar widgets

#### 1.0 – October 23, 2013

 * Initial version.

## 额外信息

 *  版本 **1.2.1**
 *  最后更新：**5 年前**
 *  活跃安装数量 **2,000+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **5.6.17**
 *  语言
 * [English (US)](https://wordpress.org/plugins/stag-custom-sidebars/) 和 [Swedish](https://sv.wordpress.org/plugins/stag-custom-sidebars/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/stag-custom-sidebars)
 * 标签
 * [codestag](https://cn.wordpress.org/plugins/tags/codestag/)[custom sidebars](https://cn.wordpress.org/plugins/tags/custom-sidebars/)
   [shortcodes](https://cn.wordpress.org/plugins/tags/shortcodes/)[sidebars](https://cn.wordpress.org/plugins/tags/sidebars/)
 *  [高级视图](https://cn.wordpress.org/plugins/stag-custom-sidebars/advanced/)

## 评级

 5 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/stag-custom-sidebars/reviews/#new-post)

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

## 贡献者

 *   [ Ram Ratan Maurya ](https://profiles.wordpress.org/mauryaratan/)
 *   [ Codestag ](https://profiles.wordpress.org/codestag/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/stag-custom-sidebars/)

## 捐助

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

 [ 捐助此插件 ](http://codest.ag/scs-donate)