Add page-specific widget areas to templates with a `Sidebars:` header.
Author: | Marcus Downing (profile at wordpress.org) |
WordPress version required: | 3.0 |
WordPress version tested: | 3.2.1 |
Plugin version: | 1.3 |
Added to WordPress repository: | 17-10-2011 |
Last updated: | 04-06-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://www.bang-on.net/ |
Total downloads: | 2 582 |
Active installs: | 20+ |
Click to start download
|
Add page-specific widget areas to templates with a Sidebars:
header:
<?php
/*
Template Name: Photos template
Sidebars: notes (Photo Notes)
*/
...
Use these sidebars the normal way:
dynamic_sidebar('notes');
At present this only works on Pages.
Screenshots
The meta box on an Edit Post screen, showing two page-specific sidebars.
The Page Widgets screen, with two page-specific sidebars in yellow.
FAQ
Can I have different widgets on every page?
Yes.
Can I have some widgets that are the same on all pages?
Not all sidebars have to be post-specific – you can mix shared sidebars with unique ones.
Put both sidebars into your sidebars.php
:
dynamic_sidebar('sidebar');
dynamic_sidebar('unique-sidebar');
Put widgets into the standard sidebar to have them show on all pages,
or into the unique sidebar for a given page.
What happens when I delete a page or change its template?
When you move a page to the trash its widgets remain.
The widgets are only deleted when you empty the trash and permanently delete the page.
When you change a page’s template, any sidebars that are on both templates will still be there.
Any other widgets will remain in the database but hidden.
If you change back to the old template, those widgets will be right where you left them.
What will happen if I disable this plugin?
All the post-specific widgets will move into the ‘Inactive Plugins’ section.
How can I get rid of all of these?
The settings page includes a button to ‘Erase All’.
It permanently removes all the post-specific widgets you’ve configured.
Don’t do this unless you’re absolutely certain you want to clear out all of your widgets.
There’s no way to get them back.
You shouldn’t use colour in the admin area like that! What about colour blind users?
Colour blind users can use this plugin just fine.
Despite the name, colour blind users aren’t actually blind to colour:
they’re less able to distinguish between certain hues,
but can clearly see differences in saturation and luminosity.
Our use of colour in the admin interface is limited to a bright yellow hilight,
which contrasts well against the grey or blue theme used by WordPress.
WordPress itself is well designed for colour blind users.
We test our software against the three most common forms of colour blindness with the excellent
Color Oracle.
ChangeLog
1.2
Added proper support for different post types, and fixed several other bugs.
1.1
Fixed a lot of brokenness.
1.0
Initial version.