[wp-trac] [WordPress Trac] #23209: Template pages to override Twenty Eleven theme layout for next update.
WordPress Trac
noreply at wordpress.org
Tue Jan 15 21:10:23 UTC 2013
#23209: Template pages to override Twenty Eleven theme layout for next update.
-----------------------------+---------------------------
Reporter: theBrettman | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Bundled Theme
Version: 3.5 | Severity: normal
Keywords: needs-patch |
-----------------------------+---------------------------
Need to add a function to override theme_layout for certain pages in a
theme. They could use the function in their functions.php to test for
whatever page template they like and you could have a conditional for it
where you set $current_layout in twentyeleven_layout_classes. This way,
you could set individual page templates to different layouts. Also include
3 default layout page templates so they can see how the function is used
but you could make your own page templates to use it as well.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23209>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list