Update get_sidebar to work with multiple sidebars (diff attached)
|Reported by:||AaronCampbell||Owned by:||anonymous|
It would be really nice to allow multiple sidebars (left and right) that could be managed in multiple sidebar files in a template. Adding two lines and one optional parameter to the get_sidebar() function would allow you to pass a sidebar name. For example, get_sidebar('left') would load the template TEMPLATEPATH . 'sidebar-left.php'
Change History (7)
- Keywords has-patch tested-working added
- Milestone changed from 2.6 to 2.5