[wp-trac] [WordPress Trac] #21942: Make twentytwelve_frontpage_sidebar_class() pluggable/filterable
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 20 18:11:46 UTC 2012
#21942: Make twentytwelve_frontpage_sidebar_class() pluggable/filterable
---------------------------+--------------------
Reporter: mrwweb | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.5
Component: Bundled Theme | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch |
---------------------------+--------------------
Comment (by mrwweb):
Sorry, should've been clearer (just starting to get into core bug
reports/patches).
Yes, I only mean on the front page template.
I think the use case is fairly straight forward: I want three columns of
widgets grouped vertically. The vertical grouping is what really requires
the extra widget area rather than just CSS changes to put three widgets in
a row. I went ahead and made the function pluggable on my local copy (that
was easy enough) and tweaked the child theme accordingly. Here's the
desired result:
[[Image(http://mrwweb.com/test/twentytwelve/twentytwelve_three_sidebars_front_page.png)]]
I could see this moving to `body_class` though that would obviously entail
additional changes to the stylesheet.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21942#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list