Make WordPress Core


Ignore:
Timestamp:
05/04/2011 10:54:50 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Eleven updates and fixes, see #17198

  • Add explanatory comments in all templates, following Twenty Ten's example
  • Stick with twentyeleven_ for prefixing filter names
  • Use post format content templates in search results
  • First pass at adding a template for adding a sidebar to pages
  • Add a featured post header to standard sticky posts
  • Style fixes: print media, comment styles for pages with sidebars, color of meta links on image post format
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/functions.php

    r17790 r17802  
    354354 */
    355355function twentyeleven_singular_class( $classes ) {
    356     if ( is_singular() && ! is_home() && ! is_page_template( 'showcase.php' ) )
     356    if ( is_singular() && ! is_home() && ! is_page_template( 'showcase.php' ) && ! is_page_template( 'sidebar-page.php' ) )
    357357        $classes[] = 'singular';
    358358
Note: See TracChangeset for help on using the changeset viewer.