Per Page Sidebars

March 14, 2018

Per Page Sidebars Plugin

The Per Page Sidebars (PPS) plugin allows blog administrators to create a unique sidebar for each Page. No template editing is required.

Installation

The installation process.

  1. Upload to the /wp-content/plugins/ directory. Or directly upload from your Plugin management page.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Screenshots

  1. <p>This is the metabox that appears on any page or post you are editing. It shows a list of all sidebars/widget areas built into the current theme. To replace one of them with a custom sidebar, you just need to mark the sidebar you are to replace.</p>

    This is the metabox that appears on any page or post you are editing. It shows a list of all sidebars/widget areas built into the current theme. To replace one of them with a custom sidebar, you just need to mark the sidebar you are to replace.

  2. <p>Under Appearance->Widgets, for each page or post on you've activated a custom sidebar, you will see a widget area like this one - named after the post or page on which it will be used.</p>

    Under Appearance->Widgets, for each page or post on you've activated a custom sidebar, you will see a widget area like this one - named after the post or page on which it will be used.

  3. <p>This plugin adds a "Custom Sidebar" metabox to the edit screens for pages and posts. Leaving the "Activate Custom Sidebar" box unchecked means that the plugin does not change the behavior of that page/post.</p>

    This plugin adds a "Custom Sidebar" metabox to the edit screens for pages and posts. Leaving the "Activate Custom Sidebar" box unchecked means that the plugin does not change the behavior of that page/post.

  4. <p>This screenshot shows a typical blog running the 2010 theme and displaying the default sidebar.</p>

    This screenshot shows a typical blog running the 2010 theme and displaying the default sidebar.

  5. <p>On the edit screen for any page or post, to create a custom sidebar, simply check "Activate Custom Sidebar" and choose the sidebar you will be replacing.</p>

    On the edit screen for any page or post, to create a custom sidebar, simply check "Activate Custom Sidebar" and choose the sidebar you will be replacing.

  6. <p>When you activate a custom sidebar on a page or post, the Appearance->Widgets screen gets a widget area created for that page or post.</p>

    When you activate a custom sidebar on a page or post, the Appearance->Widgets screen gets a widget area created for that page or post.

  7. <p>Any widgets you put in the custom sidebar's widget area will be displayed with that page or post, completely replacing the chosen sidebar.</p>

    Any widgets you put in the custom sidebar's widget area will be displayed with that page or post, completely replacing the chosen sidebar.

FAQ

Installation Instructions

The installation process.

  1. Upload to the /wp-content/plugins/ directory. Or directly upload from your Plugin management page.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Can I replace more than one sidebar per page?

Currently only one sidebar can be replaced per page. If you wish to replace multiple sidebars per page, leave a commment and I may add this feature.

Can I replace sidebars on posts or custom post types?

YES! Version 2 and newer of the plugin allows sidebars on posts and I believe custom post types as well. This feature has not been heavily tested. If you encouter any issues, please let me know.

Can my authors & contributors replace the sidebar on a page?

A user can only replace a sidebar on a page if their role has the edit_theme_options capability. A user can edit a page that has been assigned custom sidebar and that custom sidebar will not be dropped. A user without the edit_theme_options capability simply cannot turn that functionality on or off.

My left sidebar was replaced on the parent but it not on the child, why?

Some themes allow you to chose different sidebar layouts on each page. Sometimes these themes rely on a Primary/Secondary Sidebar configuration rather than a Right/Left sidebar convention. This may lead to confusion when the parent displays two sidebars and the child only displays one. This plugin replaces the sidebar by name not by position. In a 2 column layout, the only sidebar is by definition the “Primary” sidebar. Replacing a “Secondary” sidebar in the parent page will not alter the appearance of 2 column child page if the “Secondary” sidebar is never displayed.

Changelog

2.0.3

  • Updated version for the current release
  • Added further bullet proofing
  • Fixed an issue with drafts not producing a properly named sidebar

2.0.2

  • Updated version for the current release

2.0.1

(Unreleased)

  • Updated for the current release
  • Added code to support sidebars on the home page

2.0.0

  • Added the ability to activate custom sidebars on posts
  • Fixed a bug that caused the wrong custom sidebar to be displayed on the page that was assigned as the Post page
  • Added screenshots and video to the documentation of the plugin

1.0.0

  • Initial release.

Details

  • Version: 2.0.3
  • Active installations: 1,000
  • WordPress Version: 3.1
  • Tested up to: 4.9.26

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars