Include sidebar templates on a per-page basis.
Part of offering WordPress as a CMS to my clients involves giving them as much control over the future of their website as possible. One pitfall I experience is offering per-page sidebar customization.
I find myself creating several sidebar-name.php templates and using conditionals to display them where I want. Functions like is_page(), is_tree(), is_ancestor(), is_single(), etc. let me plan ahead for which sidebars should show on which pages. However, is_page(14) is not an acceptable solution for me, nor does it truly allow customizing sidebar output for pages created in the future outside the scope of my preemptive conditionals.
Per Page Sidebar Blocks lets you, the theme developer, create several sidebar templates using WordPress’ naming convention sidebar-name.php.
PPSB will scan the current theme’s root directory for all your sidebar templates and let you decide which ones get displayed on each individual page by simply checking a box on that page’s Edit area.
A full writeup is available at http://www.immense.net/per-page-sidebar-blocks-plugin-wordpress/
Requires: 2.5 or higher
Compatible up to: 3.3.2
Last Updated: 2012-4-23
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?