Title: CG Dynamic Sidebar
Author: Chandan Garg
Published: <strong>2016 年 6 月 7 日</strong>
Last modified: 2019 年 3 月 11 日

---

搜索插件

![](https://ps.w.org/cg-dynamic-sidebar/assets/banner-772x250.png?rev=1854700)

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

![](https://ps.w.org/cg-dynamic-sidebar/assets/icon-256x256.png?rev=1855357)

# CG Dynamic Sidebar

 作者：[Chandan Garg](https://profiles.wordpress.org/chandan_garg_129/)

[下载](https://downloads.wordpress.org/plugin/cg-dynamic-sidebar.zip)

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

 [支持](https://wordpress.org/support/plugin/cg-dynamic-sidebar/)

## 描述

Are you looking for easy and robust way to manage your sidebar areas dynamically
from wordpress admin ? CG Dynamic Sidebar is a suite of components which helps you
to create your custom sidebar area and allows you to add upto 20 different sidebar
areas which you can use them in your website.

CG Dynamic Sidebar is focused on ease of integration and ease of use. It is deliberately
powerful plugin using which users can create their own sidebar easily without having
any technical knowledge of how to create custom sidebars.
 Usage :

    ```
     <?php dynamic_sidebar("my-custom-sidebar"); ?> 
    ```

### Usage

While adding your sidebar area you have option to keep your sidebar id, this id 
will be used to display your custom sidebar in page/post.
 If you have added a new
sidebar with below details : Sidebar Title : My Custom Sidebar Sidebar id : my-custom-
sidebar

Then, to use this sidebar, you have to use below PHP code in your sidebar.php or
anywhere you want to show this sidebar.

    ```
     <?php dynamic_sidebar("my-custom-sidebar"); ?> 
    ```

## 屏幕截图

[⌊Creating new sidebar - It show's the area in your admin widget screen from where
you can add your custom sidebar⌉⌊Creating new sidebar - It show's the area in your
admin widget screen from where you can add your custom sidebar⌉[

**Creating new sidebar** – It show’s the area in your admin widget screen from where
you can add your custom sidebar

[⌊New sidebar area - It shows newly created sidebar area in your admin widget screen.⌉⌊
New sidebar area - It shows newly created sidebar area in your admin widget screen
.⌉[

**New sidebar area** – It shows newly created sidebar area in your admin widget 
screen.

[⌊Remove Widget - It clicked on Remove Sidebar, It will ask for confirmation, if
cliked on Remove, it will delete the sidebar or nothing will happen⌉⌊Remove Widget-
It clicked on Remove Sidebar, It will ask for confirmation, if cliked on Remove,
it will delete the sidebar or nothing will happen⌉[

**Remove Widget** – It clicked on Remove Sidebar, It will ask for confirmation, 
if cliked on Remove, it will delete the sidebar or nothing will happen

[⌊Adding widget to sidebar - If you will click on any widget, it will have list 
of all your sidebar areas to select, you can  select as per your choice and click
on add widget to add in your selected sidebar. You can also drag and drop your widget
in your custom created sidebar.⌉⌊Adding widget to sidebar - If you will click on
any widget, it will have list of all your sidebar areas to select, you can  select
as per your choice and click on add widget to add in your selected sidebar. You 
can also drag and drop your widget in your custom created sidebar.⌉[

**Adding widget to sidebar** – If you will click on any widget, it will have list
of all your sidebar areas to select, you can select as per your choice and click
on add widget to add in your selected sidebar. You can also drag and drop your widget
in your custom created sidebar.

[⌊Widget Added successfully - After you added your widget to your sidebar, it will
show in your custom create sidebar area.⌉⌊Widget Added successfully - After you 
added your widget to your sidebar, it will show in your custom create sidebar area
.⌉[

**Widget Added successfully** – After you added your widget to your sidebar, it 
will show in your custom create sidebar area.

## 安装

#### From WordPress Admin Panel

 1. Click on Add new under Plugin menu.
 2. Type CG Dynamic Sidebar in the input field and press enter.
 3. Install and Activate CG Dynamic Sidebar from listing.

#### From WordPress.org

 1. Download CG Dynamic Sidebar.
 2. Upload the ‘cg-dynamic-sidebar’ directory to your ‘/wp-content/plugins/’ directory,
    using your favorite method (ftp, sftp, scp, etc…)
 3. Activate CG Dynamic Sidebar from your Plugins page.

#### After Installation and Activation : WordPress dashboard

 1. Visit ‘Appearance > Widgets’
 2. You will find a button in right side of your admin screen [ Add new sidebar area]

## 常见问题

  Can I use my existing WordPress theme?

Yes! CG Dynamic Sidebar works out-of-the-box with nearly every WordPress theme.

  Will this work on WordPress multisite?

Yes! If your WordPress installation has multisite enabled, CG Dynamic Sidebar will
support the global tracking of blogs, posts, comments, and even custom post types
with a little bit of custom code.

  Where can I find documentation?

Our website can be found at [http://codersgod.com/web-plugins/cg-dynamic-sidebar/](http://codersgod.com/web-plugins/cg-dynamic-sidebar/).

  Where can I report a bug?

Report bugs, suggest ideas, and participate in development at [http://codersgod.com/web-plugins/cg-dynamic-sidebar/](http://codersgod.com/web-plugins/cg-dynamic-sidebar/).

## 评价

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

### 󠀁[Great Plugin!](https://wordpress.org/support/topic/great-plugin-24470/)󠁿

 [digesh](https://profiles.wordpress.org/digesh/) 2020 年 1 月 21 日

Great Plugin!

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/cg-dynamic-sidebar/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Chandan Garg ](https://profiles.wordpress.org/chandan_garg_129/)

[帮助将「CG Dynamic Sidebar」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/cg-dynamic-sidebar)

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **1.0**
 *  最后更新：**7 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 3.6 或更高版本 **
 *  已测试的最高版本为 **5.1.22**
 *  语言
 * [English (US)](https://wordpress.org/plugins/cg-dynamic-sidebar/)
 * 标签
 * [custom sidebar](https://cn.wordpress.org/plugins/tags/custom-sidebar/)[dynamic sidebar](https://cn.wordpress.org/plugins/tags/dynamic-sidebar/)
   [sidebar](https://cn.wordpress.org/plugins/tags/sidebar/)
 *  [高级视图](https://cn.wordpress.org/plugins/cg-dynamic-sidebar/advanced/)

## 评级

 5 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/cg-dynamic-sidebar/reviews/#new-post)

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

## 贡献者

 *   [ Chandan Garg ](https://profiles.wordpress.org/chandan_garg_129/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/cg-dynamic-sidebar/)

## 捐助

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

 [ 捐助此插件 ](http://codersgod.com/author/cdgadmin/)