[wp-trac] [WordPress Trac] #5615: Update get_sidebar to work with
multiple sidebars (diff attached)
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 9 17:37:35 GMT 2008
#5615: Update get_sidebar to work with multiple sidebars (diff attached)
---------------------------+------------------------------------------------
Reporter: AaronCampbell | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.6
Component: General | Version:
Severity: normal | Keywords:
---------------------------+------------------------------------------------
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'
--
Ticket URL: <http://trac.wordpress.org/ticket/5615>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list