Title: Simple Page Specific Sidebars
Author: ivycat
Published: <strong>2011 年 5 月 23 日</strong>
Last modified: 2012 年 11 月 13 日

---

搜索插件

![](https://ps.w.org/page-specific-sidebars/assets/banner-772x250.png?rev=587933)

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

![](https://s.w.org/plugins/geopattern-icon/page-specific-sidebars_dcd9da.svg)

# Simple Page Specific Sidebars

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

[下载](https://downloads.wordpress.org/plugin/page-specific-sidebars.zip)

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

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

## 描述

Page Specific Sidebars adds a checkbox to every page allowing you to choose which
pages should have a unique sidebar.

Once you enable a page-specific sidebar in the page editor, a widget area will automatically
be created for that page and you can customize it as you like.

You can also specify whether the plugin replaces your generic sidebar with the page-
specific sidebar, or simply adds your page-specific sidebar on to the existing sidebar.

### Notes

Plugin has no built-in styling does not contain native styles; it’s meant to use
the styles of your existing theme.

This is a minimal plugin, placing function over form. If you would like to extend
it, or would like us to extend it in later versions, feel free to [contact us](http://www.ivycat.com/contact/),
or post feedback in this plugin’s support forum.

### Usage

Simply activate and go. There are a couple filters for customization:

    ```
    $location = apply_filters( 'page_sidebar_location', 'side' );

    $priority = apply_filters( 'page_sidebar_priority', 'high' );
    ```

These allow you to change the location and priority of the metabox on the “Edit 
Page” view.

    ```
    $home_slug = apply_filters( 'page-sidebar-homeslug', $home_slug )
    ```

Use this filter if your home page slug is different from “home” :

NOTE: Any page that has a custom loop pulling in multiple posts will throw this 
plugin off. For some reason it always outputs the post ID as the last
 post output
on the page. Also, the homepage is most likely the latest blog posts in WordPress
so I created a check. It will get the Home page ID and use the Home page ID to get
its sidebar. (uses is_frontpage() ) to check.

Contact us if you want some more filters or actions added. http://www.ivycat.com/
contact

### Road Map

 1. Add ordering feature? (long down the road).
 2. Suggest a feature…

## 屏幕截图

 * [[
 * Selecting a page to have a unique sidebar is as easy as clicking a button – Also,
   check if you just want to merge the new sidebar with the old.
 * [[
 * Your new sidebars show up under widgets. No need to clutter up the Page editor.
 * [[

## 安装

You can install from within WordPress using the Plugin/Add New feature, or if you
wish to manually install:

 1. Download the plugin.
 2. Upload the entire page-sidebars directory to your WordPress plugins folder.
 3. Click Activate Plugin in your WordPress plugin page.
 4. Visit the Settings / Page Sidebar Settings page to customize.

## 常见问题

  What is the point of this plugin?

Some of our clients need the ability to easily create, and edit sidebars on a per-
page basis using widgets. This is our solution, and we hope it helps others too.
🙂

## 评价

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

### 󠀁[Very good](https://wordpress.org/support/topic/very-good-1735/)󠁿

 [rcesarfs](https://profiles.wordpress.org/rcesarfs/) 2016 年 12 月 6 日

Works wonderfuly fine!

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

### 󠀁[Works!](https://wordpress.org/support/topic/works-939/)󠁿

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

It says what it does and its quite handy

 [ 阅读所有5条评价 ](https://wordpress.org/support/plugin/page-specific-sidebars/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ ivycat ](https://profiles.wordpress.org/ivycat/)
 *   [ Daniel Gilfoy ](https://profiles.wordpress.org/dgilfoy/)
 *   [ Eric Amundson ](https://profiles.wordpress.org/sewmyheadon/)

[帮助将「Simple Page Specific Sidebars」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/page-specific-sidebars)

### 对开发感兴趣吗?

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

## 更新日志

#### 2.14.1

 * Bug fixes updated JS & CSS.

#### 2.14.0

 * Dropdown selection for sidebar on option page. Now you can re-use existing sidebars
   on other pages.
 * Ability to prepend custom sidebar on default sidebar (previously only append).
 * Ability to allow the page to display an existing sidebar rather than create it’s
   own.
 * Updated license to GPL v2, included correct license file.
 * File & folder maintenance

#### 2.13

 * Updated authors, links.

#### 2.1.2

 * Added author, updated short description.

#### 2.1.1

 * Added sidebar to settings page.
 * Documentation editing, housekeeping.

#### 2.1

 * Added help to settings page.

## 额外信息

 *  版本 **2.14.1**
 *  最后更新：**14 年前**
 *  活跃安装数量 **90+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/page-specific-sidebars/)
 * 标签
 * [page](https://cn.wordpress.org/plugins/tags/page/)[role based](https://cn.wordpress.org/plugins/tags/role-based/)
   [sidebar](https://cn.wordpress.org/plugins/tags/sidebar/)[widgets](https://cn.wordpress.org/plugins/tags/widgets/)
 *  [高级视图](https://cn.wordpress.org/plugins/page-specific-sidebars/advanced/)

## 评级

 4.3 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ ivycat ](https://profiles.wordpress.org/ivycat/)
 *   [ Daniel Gilfoy ](https://profiles.wordpress.org/dgilfoy/)
 *   [ Eric Amundson ](https://profiles.wordpress.org/sewmyheadon/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://www.ivycat.com/contribute/)