[wp-trac] [WordPress Trac] #17198: New theme for 3.next -- Twenty Eleven

WordPress Trac wp-trac at lists.automattic.com
Fri May 6 22:25:19 UTC 2011


#17198: New theme for 3.next -- Twenty Eleven
----------------------------+------------------
 Reporter:  matt            |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.2
Component:  Themes          |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------

Comment (by ramiy):

 Replying to [comment:68 iandstewart]:
 > (In [17752]) Twenty Eleven: First pass at styles to support the theme
 option for alternate layouts; See #17198

 Support for alternate layouts is not complite, missing some layouts:

 * sidbar-content-sidebar (the most important layout)

 * sidbar-sidebar-content

 * content-sidbar-sidebar

 {{{
 function twentyeleven_layouts() {
         $layout_options = array(
                 'content' => array(
                         'value' => 'content',
                         'label' => __( 'One-column, no Sidebar',
 'twentyeleven' ),
                         'thumbnail' => get_template_directory_uri() .
 '/inc/images/content.png',
                 ),
                 'content-sidebar' => array(
                         'value' => 'content-sidebar',
                         'label' => __( 'Content on left, Sidebar on
 right', 'twentyeleven' ),
                         'thumbnail' => get_template_directory_uri() .
 '/inc/images/content-sidebar.png',
                 ),
                 'sidebar-content' => array(
                         'value' => 'sidebar-content',
                         'label' => __( 'Content on right, Sidebar on
 left', 'twentyeleven' ),
                         'thumbnail' => get_template_directory_uri() .
 '/inc/images/sidebar-content.png',
                 ),
                 'sidebar-content-sidebar' => array(
                         'value' => 'sidebar-content-sidebar',
                         'label' => __( 'Content on center, two Sidbars',
 'twentyeleven' ),
                         'thumbnail' => get_template_directory_uri() .
 '/inc/images/sidebar-content-sidebar.png',
                 ),
                 'content-sidebar-sidebar' => array(
                         'value' => 'content-sidebar-sidebar',
                         'label' => __( 'Content on left, two Sidebar on
 right', 'twentyeleven' ),
                         'thumbnail' => get_template_directory_uri() .
 '/inc/images/content-sidebar-sidebar.png',
                 ),
                 'sidebar-sidebar-content' => array(
                         'value' => 'sidebar-sidebar-content',
                         'label' => __( 'Content on right, two Sidebar on
 left', 'twentyeleven' ),
                         'thumbnail' => get_template_directory_uri() .
 '/inc/images/sidebar-sidebar-content.png',
                 ),
         );

         return apply_filters( 'twentyeleven_layouts', $layout_options );
 }
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17198#comment:46>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list