#23209 closed enhancement (wontfix)
Template pages to override Twenty Eleven theme layout for next update.
Reported by: | theBrettman | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.5 |
Component: | Bundled Theme | Keywords: | close |
Focuses: | Cc: |
Description
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.
Change History (5)
#2
@
12 years ago
- Cc xoodrew@… added
This sounds a lot like wanting page templates (layouts) for your page templates.
#3
@
12 years ago
- Keywords close added
There are already two body classes for individual page templates: page-template-{template-file-name}
and template-{template-slug}
.
I don't really see a need for additional custom ones.
I'm not sure I understand this request. Wouldn't all those various layouts be doable with a child theme?