WordPress.org

Make WordPress Themes


Ignore:
Location:
twentyeleven/1.3
Files:
53 edited

Legend:

Unmodified
Added
Removed
  • twentyeleven/1.3/archive.php

    r34226 r34226  
    2525                            <?php printf( __( 'Daily Archives: %s', 'twentyeleven' ), '<span>' . get_the_date() . '</span>' ); ?> 
    2626                        <?php elseif ( is_month() ) : ?> 
    27                             <?php printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( 'F Y' ) . '</span>' ); ?> 
     27                            <?php printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyeleven' ) ) . '</span>' ); ?> 
    2828                        <?php elseif ( is_year() ) : ?> 
    29                             <?php printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( 'Y' ) . '</span>' ); ?> 
     29                            <?php printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentyeleven' ) ) . '</span>' ); ?> 
    3030                        <?php else : ?> 
    3131                            <?php _e( 'Blog Archives', 'twentyeleven' ); ?> 
  • twentyeleven/1.3/colors/dark.css

    r34226 r34226  
    459459    color: #999; 
    460460} 
     461.commentlist .avatar { 
     462    -webkit-box-shadow: 0 1px 2px #222; 
     463    -moz-box-shadow: 0 1px 2px #222; 
     464    box-shadow: 0 1px 2px #222; 
     465} 
    461466a.comment-reply-link { 
    462467    background: #242424; 
  • twentyeleven/1.3/content-gallery.php

    r34226 r34226  
    8585        <span class="sep"> | </span> 
    8686        <?php endif; // End if $show_sep ?> 
    87         <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a Reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> 
     87        <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> 
    8888        <?php endif; // End if comments_open() ?> 
    8989 
  • twentyeleven/1.3/content-image.php

    r34226 r34226  
    3737                        get_the_date(), 
    3838                        esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 
    39                         sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ), 
     39                        esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ), 
    4040                        get_the_author() 
    4141                    ); 
     
    6262 
    6363                <?php if ( comments_open() ) : ?> 
    64                 <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', __( '<strong>1</strong> Reply', 'twentyeleven' ), __( '<strong>%</strong> Replies', 'twentyeleven' ) ); ?></span> 
     64                <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span> 
    6565                <?php endif; // End if comments_open() ?> 
    6666            </div><!-- .entry-meta --> 
  • twentyeleven/1.3/content-single.php

    r34226 r34226  
    5252        <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 
    5353 
    54         <?php if ( get_the_author_meta( 'description' ) && is_multi_author() ) : // If a user has filled out their description and this is a multi-author blog, show a bio on their entries ?> 
     54        <?php if ( get_the_author_meta( 'description' ) && ( ! function_exists( 'is_multi_author' ) || is_multi_author() ) ) : // If a user has filled out their description and this is a multi-author blog, show a bio on their entries ?> 
    5555        <div id="author-info"> 
    5656            <div id="author-avatar"> 
     
    5858            </div><!-- #author-avatar --> 
    5959            <div id="author-description"> 
    60                 <h2><?php printf( esc_attr__( 'About %s', 'twentyeleven' ), get_the_author() ); ?></h2> 
     60                <h2><?php printf( __( 'About %s', 'twentyeleven' ), get_the_author() ); ?></h2> 
    6161                <?php the_author_meta( 'description' ); ?> 
    6262                <div id="author-link"> 
  • twentyeleven/1.3/editor-style-rtl.css

    r34226 r34226  
    99    unicode-bidi: embed; 
    1010    float: right; 
    11     max-width: 584px; 
     11    width: 584px; 
    1212} 
    1313* { 
  • twentyeleven/1.3/footer.php

    r34226 r34226  
    1919                 * your footer with three columns of widgets. 
    2020                 */ 
    21                 get_sidebar( 'footer' ); 
     21                if ( ! is_404() ) 
     22                    get_sidebar( 'footer' ); 
    2223            ?> 
    2324 
  • twentyeleven/1.3/functions.php

    r34226 r34226  
    7979     * to change 'twentyeleven' to the name of your theme in all the template files. 
    8080     */ 
    81     load_theme_textdomain( 'twentyeleven', TEMPLATEPATH . '/languages' ); 
     81    load_theme_textdomain( 'twentyeleven', get_template_directory() . '/languages' ); 
    8282 
    8383    $locale = get_locale(); 
    84     $locale_file = TEMPLATEPATH . "/languages/$locale.php"; 
     84    $locale_file = get_template_directory() . "/languages/$locale.php"; 
    8585    if ( is_readable( $locale_file ) ) 
    8686        require_once( $locale_file ); 
     
    9090 
    9191    // Load up our theme options page and related code. 
    92     require( dirname( __FILE__ ) . '/inc/theme-options.php' ); 
     92    require( get_template_directory() . '/inc/theme-options.php' ); 
    9393 
    9494    // Grab Twenty Eleven's Ephemera widget. 
    95     require( dirname( __FILE__ ) . '/inc/widgets.php' ); 
     95    require( get_template_directory() . '/inc/widgets.php' ); 
    9696 
    9797    // Add default posts and comments RSS feed links to <head>. 
     
    422422add_action( 'widgets_init', 'twentyeleven_widgets_init' ); 
    423423 
     424if ( ! function_exists( 'twentyeleven_content_nav' ) ) : 
    424425/** 
    425426 * Display navigation to next/previous pages when applicable 
     
    436437    <?php endif; 
    437438} 
     439endif; // twentyeleven_content_nav 
    438440 
    439441/** 
     
    566568        esc_html( get_the_date() ), 
    567569        esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 
    568         sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ), 
    569         esc_html( get_the_author() ) 
     570        esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ), 
     571        get_the_author() 
    570572    ); 
    571573} 
     
    581583function twentyeleven_body_classes( $classes ) { 
    582584 
    583     if ( ! is_multi_author() ) { 
     585    if ( function_exists( 'is_multi_author' ) && ! is_multi_author() ) 
    584586        $classes[] = 'single-author'; 
    585     } 
    586587 
    587588    if ( is_singular() && ! is_home() && ! is_page_template( 'showcase.php' ) && ! is_page_template( 'sidebar-page.php' ) ) 
  • twentyeleven/1.3/image.php

    r34226 r34226  
    1313            <div id="content" role="main"> 
    1414 
    15             <?php the_post(); ?> 
     15            <?php while ( have_posts() ) : the_post(); ?> 
    1616 
    17             <nav id="nav-single"> 
    18                 <h3 class="assistive-text"><?php _e( 'Image navigation', 'twentyeleven' ); ?></h3> 
    19                 <span class="nav-previous"><?php previous_image_link( false, __( '&larr; Previous' , 'twentyeleven' ) ); ?></span> 
    20                 <span class="nav-next"><?php next_image_link( false, __( 'Next &rarr;' , 'twentyeleven' ) ); ?></span> 
    21             </nav><!-- #nav-single --> 
     17                <nav id="nav-single"> 
     18                    <h3 class="assistive-text"><?php _e( 'Image navigation', 'twentyeleven' ); ?></h3> 
     19                    <span class="nav-previous"><?php previous_image_link( false, __( '&larr; Previous' , 'twentyeleven' ) ); ?></span> 
     20                    <span class="nav-next"><?php next_image_link( false, __( 'Next &rarr;' , 'twentyeleven' ) ); ?></span> 
     21                </nav><!-- #nav-single --> 
    2222 
    23                 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
    24                     <header class="entry-header"> 
    25                         <h1 class="entry-title"><?php the_title(); ?></h1> 
     23                    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
     24                        <header class="entry-header"> 
     25                            <h1 class="entry-title"><?php the_title(); ?></h1> 
    2626 
    27                         <div class="entry-meta"> 
    28                             <?php 
    29                                 $metadata = wp_get_attachment_metadata(); 
    30                                 printf( __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><abbr class="published" title="%1$s">%2$s</abbr></span> at <a href="%3$s" title="Link to full-size image">%4$s &times; %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%7$s</a>', 'twentyeleven' ), 
    31                                     esc_attr( get_the_time() ), 
    32                                     get_the_date(), 
    33                                     esc_url( wp_get_attachment_url() ), 
    34                                     $metadata['width'], 
    35                                     $metadata['height'], 
    36                                     esc_url( get_permalink( $post->post_parent ) ), 
    37                                     get_the_title( $post->post_parent ) 
    38                                 ); 
    39                             ?> 
    40                             <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 
    41                         </div><!-- .entry-meta --> 
     27                            <div class="entry-meta"> 
     28                                <?php 
     29                                    $metadata = wp_get_attachment_metadata(); 
     30                                    printf( __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><abbr class="published" title="%1$s">%2$s</abbr></span> at <a href="%3$s" title="Link to full-size image">%4$s &times; %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%8$s</a>', 'twentyeleven' ), 
     31                                        esc_attr( get_the_time() ), 
     32                                        get_the_date(), 
     33                                        esc_url( wp_get_attachment_url() ), 
     34                                        $metadata['width'], 
     35                                        $metadata['height'], 
     36                                        esc_url( get_permalink( $post->post_parent ) ), 
     37                                        esc_attr( strip_tags( get_the_title( $post->post_parent ) ) ), 
     38                                        get_the_title( $post->post_parent ) 
     39                                    ); 
     40                                ?> 
     41                                <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?> 
     42                            </div><!-- .entry-meta --> 
    4243 
    43                     </header><!-- .entry-header --> 
     44                        </header><!-- .entry-header --> 
    4445 
    45                     <div class="entry-content"> 
     46                        <div class="entry-content"> 
    4647 
    47                         <div class="entry-attachment"> 
    48                             <div class="attachment"> 
     48                            <div class="entry-attachment"> 
     49                                <div class="attachment"> 
    4950<?php 
    5051    /** 
     
    7172    } 
    7273?> 
    73                                 <a href="<?php echo esc_url( $next_attachment_url ); ?>" title="<?php echo esc_attr( get_the_title() ); ?>" rel="attachment"><?php 
    74                                 $attachment_size = apply_filters( 'twentyeleven_attachment_size', 848 ); 
    75                                 echo wp_get_attachment_image( $post->ID, array( $attachment_size, 1024 ) ); // filterable image width with 1024px limit for image height. 
    76                                 ?></a> 
     74                                    <a href="<?php echo esc_url( $next_attachment_url ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php 
     75                                    $attachment_size = apply_filters( 'twentyeleven_attachment_size', 848 ); 
     76                                    echo wp_get_attachment_image( $post->ID, array( $attachment_size, 1024 ) ); // filterable image width with 1024px limit for image height. 
     77                                    ?></a> 
    7778 
    78                                 <?php if ( ! empty( $post->post_excerpt ) ) : ?> 
    79                                 <div class="entry-caption"> 
    80                                     <?php the_excerpt(); ?> 
    81                                 </div> 
    82                                 <?php endif; ?> 
    83                             </div><!-- .attachment --> 
     79                                    <?php if ( ! empty( $post->post_excerpt ) ) : ?> 
     80                                    <div class="entry-caption"> 
     81                                        <?php the_excerpt(); ?> 
     82                                    </div> 
     83                                    <?php endif; ?> 
     84                                </div><!-- .attachment --> 
    8485 
    85                         </div><!-- .entry-attachment --> 
     86                            </div><!-- .entry-attachment --> 
    8687 
    87                         <div class="entry-description"> 
    88                             <?php the_content(); ?> 
    89                             <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?> 
    90                         </div><!-- .entry-description --> 
     88                            <div class="entry-description"> 
     89                                <?php the_content(); ?> 
     90                                <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?> 
     91                            </div><!-- .entry-description --> 
    9192 
    92                     </div><!-- .entry-content --> 
     93                        </div><!-- .entry-content --> 
    9394 
    94                 </article><!-- #post-<?php the_ID(); ?> --> 
     95                    </article><!-- #post-<?php the_ID(); ?> --> 
    9596 
    96                 <?php comments_template(); ?> 
     97                    <?php comments_template(); ?> 
     98 
     99                <?php endwhile; // end of the loop. ?> 
    97100 
    98101            </div><!-- #content --> 
  • twentyeleven/1.3/inc/theme-options.php

    r34226 r34226  
    4343 
    4444    register_setting( 
    45         'twentyeleven_options',       // Options group, see settings_fields() call in theme_options_render_page() 
     45        'twentyeleven_options',       // Options group, see settings_fields() call in twentyeleven_theme_options_render_page() 
    4646        'twentyeleven_theme_options', // Database option, see twentyeleven_get_theme_options() 
    4747        'twentyeleven_theme_options_validate' // The sanitization callback, see twentyeleven_theme_options_validate() 
    4848    ); 
     49 
     50    // Register our settings field group 
     51    add_settings_section( 
     52        'general', // Unique identifier for the settings section 
     53        '', // Section title (we don't want one) 
     54        '__return_false', // Section callback (we don't want anything) 
     55        'theme_options' // Menu slug, used to uniquely identify the page; see twentyeleven_theme_options_add_page() 
     56    ); 
     57 
     58    // Register our individual settings fields 
     59    add_settings_field( 
     60        'color_scheme',  // Unique identifier for the field for this section 
     61        __( 'Color Scheme', 'twentyeleven' ), // Setting field label 
     62        'twentyeleven_settings_field_color_scheme', // Function that renders the settings field 
     63        'theme_options', // Menu slug, used to uniquely identify the page; see twentyeleven_theme_options_add_page() 
     64        'general' // Settings section. Same as the first argument in the add_settings_section() above 
     65    ); 
     66 
     67    add_settings_field( 'link_color', __( 'Link Color',     'twentyeleven' ), 'twentyeleven_settings_field_link_color', 'theme_options', 'general' ); 
     68    add_settings_field( 'layout',     __( 'Default Layout', 'twentyeleven' ), 'twentyeleven_settings_field_layout',     'theme_options', 'general' ); 
    4969} 
    5070add_action( 'admin_init', 'twentyeleven_theme_options_init' ); 
     
    88108        return; 
    89109 
     110    add_action( "load-$theme_page", 'twentyeleven_theme_options_help' ); 
     111} 
     112add_action( 'admin_menu', 'twentyeleven_theme_options_add_page' ); 
     113 
     114function twentyeleven_theme_options_help() { 
     115 
    90116    $help = '<p>' . __( 'Some themes provide customization options that are grouped together on a Theme Options screen. If you change themes, options may change or disappear, as they are theme-specific. Your current theme, Twenty Eleven, provides the following Theme Options:', 'twentyeleven' ) . '</p>' . 
    91117            '<ol>' . 
     
    94120                '<li>' . __( '<strong>Default Layout</strong>: You can choose if you want your site&#8217;s default layout to have a sidebar on the left, the right, or not at all.', 'twentyeleven' ) . '</li>' . 
    95121            '</ol>' . 
    96             '<p>' . __( 'Remember to click "Save Changes" to save any changes you have made to the theme options.', 'twentyeleven' ) . '</p>' . 
    97             '<p><strong>' . __( 'For more information:', 'twentyeleven' ) . '</strong></p>' . 
    98             '<p>' . __( '<a href="http://codex.wordpress.org/Appearance_Theme_Options_Screen" target="_blank">Documentation on Theme Options</a>', 'twentyeleven' ) . '</p>' . 
    99             '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>', 'twentyeleven' ) . '</p>'; 
    100  
    101     add_contextual_help( $theme_page, $help ); 
    102 } 
    103 add_action( 'admin_menu', 'twentyeleven_theme_options_add_page' ); 
     122            '<p>' . __( 'Remember to click "Save Changes" to save any changes you have made to the theme options.', 'twentyeleven' ) . '</p>'; 
     123 
     124    $sidebar = '<p><strong>' . __( 'For more information:', 'twentyeleven' ) . '</strong></p>' . 
     125        '<p>' . __( '<a href="http://codex.wordpress.org/Appearance_Theme_Options_Screen" target="_blank">Documentation on Theme Options</a>', 'twentyeleven' ) . '</p>' . 
     126        '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>', 'twentyeleven' ) . '</p>'; 
     127 
     128    $screen = get_current_screen(); 
     129 
     130    if ( method_exists( $screen, 'add_help_tab' ) ) { 
     131        // WordPress 3.3 
     132        $screen->add_help_tab( array( 
     133            'title' => __( 'Overview', 'twentyeleven' ), 
     134            'id' => 'theme-options-help', 
     135            'content' => $help, 
     136            ) 
     137        ); 
     138 
     139        $screen->set_help_sidebar( $sidebar ); 
     140    } else { 
     141        // WordPress 3.2 
     142        add_contextual_help( $screen, $help . $sidebar ); 
     143    } 
     144} 
    104145 
    105146/** 
     
    203244 
    204245/** 
     246 * Renders the Color Scheme setting field. 
     247 * 
     248 * @since Twenty Eleven 1.3 
     249 */ 
     250function twentyeleven_settings_field_color_scheme() { 
     251    $options = twentyeleven_get_theme_options(); 
     252 
     253    foreach ( twentyeleven_color_schemes() as $scheme ) { 
     254    ?> 
     255    <div class="layout image-radio-option color-scheme"> 
     256    <label class="description"> 
     257        <input type="radio" name="twentyeleven_theme_options[color_scheme]" value="<?php echo esc_attr( $scheme['value'] ); ?>" <?php checked( $options['color_scheme'], $scheme['value'] ); ?> /> 
     258        <input type="hidden" id="default-color-<?php echo esc_attr( $scheme['value'] ); ?>" value="<?php echo esc_attr( $scheme['default_link_color'] ); ?>" /> 
     259        <span> 
     260            <img src="<?php echo esc_url( $scheme['thumbnail'] ); ?>" width="136" height="122" alt="" /> 
     261            <?php echo $scheme['label']; ?> 
     262        </span> 
     263    </label> 
     264    </div> 
     265    <?php 
     266    } 
     267} 
     268 
     269/** 
     270 * Renders the Link Color setting field. 
     271 * 
     272 * @since Twenty Eleven 1.3 
     273 */ 
     274function twentyeleven_settings_field_link_color() { 
     275    $options = twentyeleven_get_theme_options(); 
     276    ?> 
     277    <input type="text" name="twentyeleven_theme_options[link_color]" id="link-color" value="<?php echo esc_attr( $options['link_color'] ); ?>" /> 
     278    <a href="#" class="pickcolor hide-if-no-js" id="link-color-example"></a> 
     279    <input type="button" class="pickcolor button hide-if-no-js" value="<?php esc_attr_e( 'Select a Color', 'twentyeleven' ); ?>" /> 
     280    <div id="colorPickerDiv" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div> 
     281    <br /> 
     282    <span><?php printf( __( 'Default color: %s', 'twentyeleven' ), '<span id="default-color">' . twentyeleven_get_default_link_color( $options['color_scheme'] ) . '</span>' ); ?></span> 
     283    <?php 
     284} 
     285 
     286/** 
     287 * Renders the Layout setting field. 
     288 * 
     289 * @since Twenty Eleven 1.3 
     290 */ 
     291function twentyeleven_settings_field_layout() { 
     292    $options = twentyeleven_get_theme_options(); 
     293    foreach ( twentyeleven_layouts() as $layout ) { 
     294        ?> 
     295        <div class="layout image-radio-option theme-layout"> 
     296        <label class="description"> 
     297            <input type="radio" name="twentyeleven_theme_options[theme_layout]" value="<?php echo esc_attr( $layout['value'] ); ?>" <?php checked( $options['theme_layout'], $layout['value'] ); ?> /> 
     298            <span> 
     299                <img src="<?php echo esc_url( $layout['thumbnail'] ); ?>" width="136" height="122" alt="" /> 
     300                <?php echo $layout['label']; ?> 
     301            </span> 
     302        </label> 
     303        </div> 
     304        <?php 
     305    } 
     306} 
     307 
     308/** 
    205309 * Returns the options array for Twenty Eleven. 
    206310 * 
     
    217321            <?php 
    218322                settings_fields( 'twentyeleven_options' ); 
    219                 $options = twentyeleven_get_theme_options(); 
    220                 $default_options = twentyeleven_get_default_theme_options(); 
     323                do_settings_sections( 'theme_options' ); 
     324                submit_button(); 
    221325            ?> 
    222  
    223             <table class="form-table"> 
    224  
    225                 <tr valign="top" class="image-radio-option color-scheme"><th scope="row"><?php _e( 'Color Scheme', 'twentyeleven' ); ?></th> 
    226                     <td> 
    227                         <fieldset><legend class="screen-reader-text"><span><?php _e( 'Color Scheme', 'twentyeleven' ); ?></span></legend> 
    228                         <?php 
    229                             foreach ( twentyeleven_color_schemes() as $scheme ) { 
    230                                 ?> 
    231                                 <div class="layout"> 
    232                                 <label class="description"> 
    233                                     <input type="radio" name="twentyeleven_theme_options[color_scheme]" value="<?php echo esc_attr( $scheme['value'] ); ?>" <?php checked( $options['color_scheme'], $scheme['value'] ); ?> /> 
    234                                     <input type="hidden" id="default-color-<?php echo esc_attr( $scheme['value'] ); ?>" value="<?php echo esc_attr( $scheme['default_link_color'] ); ?>" /> 
    235                                     <span> 
    236                                         <img src="<?php echo esc_url( $scheme['thumbnail'] ); ?>" width="136" height="122" alt="" /> 
    237                                         <?php echo $scheme['label']; ?> 
    238                                     </span> 
    239                                 </label> 
    240                                 </div> 
    241                                 <?php 
    242                             } 
    243                         ?> 
    244                         </fieldset> 
    245                     </td> 
    246                 </tr> 
    247  
    248                 <tr valign="top"><th scope="row"><?php _e( 'Link Color', 'twentyeleven' ); ?></th> 
    249                     <td> 
    250                         <fieldset><legend class="screen-reader-text"><span><?php _e( 'Link Color', 'twentyeleven' ); ?></span></legend> 
    251                             <input type="text" name="twentyeleven_theme_options[link_color]" id="link-color" value="<?php echo esc_attr( $options['link_color'] ); ?>" /> 
    252                             <a href="#" class="pickcolor hide-if-no-js" id="link-color-example"></a> 
    253                             <input type="button" class="pickcolor button hide-if-no-js" value="<?php esc_attr_e( 'Select a Color', 'twentyeleven' ); ?>" /> 
    254                             <div id="colorPickerDiv" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div> 
    255                             <br /> 
    256                             <span><?php printf( __( 'Default color: %s', 'twentyeleven' ), '<span id="default-color">' . twentyeleven_get_default_link_color( $options['color_scheme'] ) . '</span>' ); ?></span> 
    257                         </fieldset> 
    258                     </td> 
    259                 </tr> 
    260  
    261                 <tr valign="top" class="image-radio-option theme-layout"><th scope="row"><?php _e( 'Default Layout', 'twentyeleven' ); ?></th> 
    262                     <td> 
    263                         <fieldset><legend class="screen-reader-text"><span><?php _e( 'Color Scheme', 'twentyeleven' ); ?></span></legend> 
    264                         <?php 
    265                             foreach ( twentyeleven_layouts() as $layout ) { 
    266                                 ?> 
    267                                 <div class="layout"> 
    268                                 <label class="description"> 
    269                                     <input type="radio" name="twentyeleven_theme_options[theme_layout]" value="<?php echo esc_attr( $layout['value'] ); ?>" <?php checked( $options['theme_layout'], $layout['value'] ); ?> /> 
    270                                     <span> 
    271                                         <img src="<?php echo esc_url( $layout['thumbnail'] ); ?>" width="136" height="122" alt="" /> 
    272                                         <?php echo $layout['label']; ?> 
    273                                     </span> 
    274                                 </label> 
    275                                 </div> 
    276                                 <?php 
    277                             } 
    278                         ?> 
    279                         </fieldset> 
    280                     </td> 
    281                 </tr> 
    282             </table> 
    283  
    284             <?php submit_button(); ?> 
    285326        </form> 
    286327    </div> 
  • twentyeleven/1.3/inc/widgets.php

    r34226 r34226  
    7676 
    7777        if ( $ephemera->have_posts() ) : 
     78            echo $before_widget; 
     79            echo $before_title; 
     80            echo $title; // Can set this with a widget option, or omit altogether 
     81            echo $after_title; 
     82            ?> 
     83            <ol> 
     84            <?php while ( $ephemera->have_posts() ) : $ephemera->the_post(); ?> 
    7885 
    79         echo $before_widget; 
    80         echo $before_title; 
    81         echo $title; // Can set this with a widget option, or omit altogether 
    82         echo $after_title; 
     86                <?php if ( 'link' != get_post_format() ) : ?> 
    8387 
    84         ?> 
    85         <ol> 
    86         <?php while ( $ephemera->have_posts() ) : $ephemera->the_post(); ?> 
     88                <li class="widget-entry-title"> 
     89                    <a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a> 
     90                    <span class="comments-link"> 
     91                        <?php comments_popup_link( __( '0 <span class="reply">comments &rarr;</span>', 'twentyeleven' ), __( '1 <span class="reply">comment &rarr;</span>', 'twentyeleven' ), __( '% <span class="reply">comments &rarr;</span>', 'twentyeleven' ) ); ?> 
     92                    </span> 
     93                </li> 
    8794 
    88             <?php if ( 'link' != get_post_format() ) : ?> 
     95                <?php else : ?> 
    8996 
    90             <li class="widget-entry-title"> 
    91                 <a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a> 
    92                 <span class="comments-link"> 
    93                     <?php comments_popup_link( __( '0 <span class="reply">comments &rarr;</span>', 'twentyeleven' ), __( '1 <span class="reply">comment &rarr;</span>', 'twentyeleven' ), __( '% <span class="reply">comments &rarr;</span>', 'twentyeleven' ) ); ?> 
    94                 </span> 
    95             </li> 
     97                <li class="widget-entry-title"> 
     98                    <?php 
     99                        // Grab first link from the post content. If none found, use the post permalink as fallback. 
     100                        $link_url = twentyeleven_url_grabber(); 
    96101 
    97             <?php else : ?> 
     102                        if ( empty( $link_url ) ) 
     103                            $link_url = get_permalink(); 
     104                    ?> 
     105                    <a href="<?php echo esc_url( $link_url ); ?>" title="<?php printf( esc_attr__( 'Link to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?>&nbsp;<span>&rarr;</span></a> 
     106                    <span class="comments-link"> 
     107                        <?php comments_popup_link( __( '0 <span class="reply">comments &rarr;</span>', 'twentyeleven' ), __( '1 <span class="reply">comment &rarr;</span>', 'twentyeleven' ), __( '% <span class="reply">comments &rarr;</span>', 'twentyeleven' ) ); ?> 
     108                    </span> 
     109                </li> 
    98110 
    99             <li class="widget-entry-title"> 
    100                 <?php 
    101                     // Grab first link from the post content. If none found, use the post permalink as fallback. 
    102                     $link_url = twentyeleven_url_grabber(); 
     111                <?php endif; ?> 
    103112 
    104                     if ( empty( $link_url ) ) 
    105                         $link_url = get_permalink(); 
    106                 ?> 
    107                 <a href="<?php echo esc_url( $link_url ); ?>" title="<?php printf( esc_attr__( 'Link to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?>&nbsp;<span>&rarr;</span></a> 
    108                 <span class="comments-link"> 
    109                     <?php comments_popup_link( __( '0 <span class="reply">comments &rarr;</span>', 'twentyeleven' ), __( '1 <span class="reply">comment &rarr;</span>', 'twentyeleven' ), __( '% <span class="reply">comments &rarr;</span>', 'twentyeleven' ) ); ?> 
    110                 </span> 
    111             </li> 
     113            <?php endwhile; ?> 
     114            </ol> 
     115            <?php 
    112116 
    113             <?php endif; ?> 
     117            echo $after_widget; 
    114118 
    115         <?php endwhile; ?> 
    116         </ol> 
    117         <?php 
    118  
    119         echo $after_widget; 
    120  
    121         // Reset the post globals as this query will have stomped on it 
    122         wp_reset_postdata(); 
     119            // Reset the post globals as this query will have stomped on it 
     120            wp_reset_postdata(); 
    123121 
    124122        // end check for ephemeral posts 
  • twentyeleven/1.3/languages/twentyeleven.pot

    r34226 r34226  
    33msgid "" 
    44msgstr "" 
    5 "Project-Id-Version: Twenty Eleven 1.0\n" 
     5"Project-Id-Version: Twenty Eleven 1.3\n" 
    66"Report-Msgid-Bugs-To: http://wordpress.org/tag/twentyeleven\n" 
    7 "POT-Creation-Date: 2011-06-30 22:47:23+00:00\n" 
     7"POT-Creation-Date: 2011-12-10 19:47:15+00:00\n" 
    88"MIME-Version: 1.0\n" 
    99"Content-Type: text/plain; charset=UTF-8\n" 
     
    1313"Language-Team: LANGUAGE <LL@li.org>\n" 
    1414 
    15 #: content-quote.php:14 showcase.php:113 showcase.php:192 content.php:15 
     15#: content-quote.php:14 showcase.php:115 showcase.php:194 content.php:15 
    1616#: content.php:19 content-image.php:15 content-gallery.php:16 
    1717#: content-gallery.php:48 content-aside.php:16 content-status.php:15 
    18 #: inc/widgets.php:91 content-link.php:16 content-featured.php:14 
     18#: inc/widgets.php:89 content-link.php:16 content-featured.php:14 
    1919msgid "Permalink to %s" 
    2020msgstr "" 
     
    2525 
    2626#: content-quote.php:24 content.php:30 content-image.php:21 
    27 #: content-image.php:64 content-aside.php:22 content-status.php:21 
    28 #: content-link.php:22 
     27#: content-aside.php:22 content-status.php:21 content-link.php:22 
    2928msgid "Reply" 
    3029msgstr "" 
     
    5049#: content-quote.php:36 content.php:42 content-image.php:28 
    5150#: content-single.php:24 content-intro.php:18 content-gallery.php:54 
    52 #: content-aside.php:34 image.php:89 content-status.php:35 content-page.php:18 
     51#: content-aside.php:34 image.php:90 content-status.php:35 content-page.php:18 
    5352#: content-link.php:34 content-featured.php:23 
    5453msgid "Pages:" 
     
    7372msgstr "" 
    7473 
    75 #: content-quote.php:69 showcase.php:194 content.php:77 content-aside.php:42 
    76 #: content-status.php:43 content-link.php:42 
     74#: content-quote.php:69 showcase.php:196 content.php:77 content-image.php:64 
     75#: content-gallery.php:87 content-aside.php:42 content-status.php:43 
     76#: content-link.php:42 
    7777msgid "Leave a reply" 
    7878msgstr "" 
    7979 
    80 #: content-quote.php:69 showcase.php:194 content.php:77 content-gallery.php:87 
    81 #: content-aside.php:42 content-status.php:43 content-link.php:42 
     80#: content-quote.php:69 showcase.php:196 content.php:77 content-image.php:64 
     81#: content-gallery.php:87 content-aside.php:42 content-status.php:43 
     82#: content-link.php:42 
    8283msgid "<b>1</b> Reply" 
    8384msgstr "" 
    8485 
    85 #: content-quote.php:69 showcase.php:194 content.php:77 content-gallery.php:87 
    86 #: content-aside.php:42 content-status.php:43 content-link.php:42 
     86#: content-quote.php:69 showcase.php:196 content.php:77 content-image.php:64 
     87#: content-gallery.php:87 content-aside.php:42 content-status.php:43 
     88#: content-link.php:42 
    8789msgid "<b>%</b> Replies" 
    8890msgstr "" 
     
    9092#: content-quote.php:72 content.php:80 content-image.php:68 
    9193#: content-single.php:52 content-intro.php:19 content-gallery.php:90 
    92 #: content-aside.php:44 image.php:40 functions.php:503 functions.php:531 
     94#: content-aside.php:44 image.php:41 functions.php:505 functions.php:533 
    9395#: content-status.php:45 content-page.php:21 content-link.php:44 
    9496#: content-featured.php:45 
     
    9698msgstr "" 
    9799 
    98 #: showcase.php:70 
     100#: showcase.php:72 
    99101msgid "Featured Post" 
    100102msgstr "" 
    101103 
    102 #: showcase.php:143 
     104#: showcase.php:145 
    103105msgid "Featuring: %s" 
    104106msgstr "" 
    105107 
    106 #: showcase.php:153 
     108#: showcase.php:155 
    107109msgid "Recent Posts" 
    108110msgstr "" 
     
    123125msgstr "" 
    124126 
    125 #. #-#-#-#-#  twentyeleven.pot (Twenty Eleven 1.0)  #-#-#-#-# 
     127#. #-#-#-#-#  twentyeleven.pot (Twenty Eleven 1.3)  #-#-#-#-# 
    126128#. Author URI of the plugin/theme 
    127 #: footer.php:26 
     129#: footer.php:27 
    128130msgid "http://wordpress.org/" 
    129131msgstr "" 
    130132 
    131 #: footer.php:26 
     133#: footer.php:27 
    132134msgid "Semantic Personal Publishing Platform" 
    133135msgstr "" 
    134136 
    135 #: footer.php:26 
     137#: footer.php:27 
    136138msgid "Proudly powered by %s" 
    137139msgstr "" 
     
    153155msgstr "" 
    154156 
    155 #: content-image.php:39 functions.php:568 
     157#: content-image.php:39 functions.php:570 
    156158msgid "View all posts by %s" 
    157 msgstr "" 
    158  
    159 #: content-image.php:64 
    160 msgid "<strong>1</strong> Reply" 
    161 msgstr "" 
    162  
    163 #: content-image.php:64 
    164 msgid "<strong>%</strong> Replies" 
    165159msgstr "" 
    166160 
     
    214208msgstr[1] "" 
    215209 
    216 #: content-gallery.php:87 
    217 msgid "Leave a Reply" 
    218 msgstr "" 
    219  
    220210#: comments.php:17 
    221211msgid "" 
     
    285275"\"entry-date\"><abbr class=\"published\" title=\"%1$s\">%2$s</abbr></span> " 
    286276"at <a href=\"%3$s\" title=\"Link to full-size image\">%4$s &times; %5$s</a> " 
    287 "in <a href=\"%6$s\" title=\"Return to %7$s\" rel=\"gallery\">%7$s</a>" 
     277"in <a href=\"%6$s\" title=\"Return to %7$s\" rel=\"gallery\">%8$s</a>" 
    288278msgstr "" 
    289279 
     
    360350msgstr "" 
    361351 
    362 #: functions.php:432 single.php:18 
     352#: functions.php:433 single.php:18 
    363353msgid "Post navigation" 
    364354msgstr "" 
    365355 
    366 #: functions.php:433 
     356#: functions.php:434 
    367357msgid "<span class=\"meta-nav\">&larr;</span> Older posts" 
    368358msgstr "" 
    369359 
    370 #: functions.php:434 
     360#: functions.php:435 
    371361msgid "Newer posts <span class=\"meta-nav\">&rarr;</span>" 
    372362msgstr "" 
    373363 
    374 #: functions.php:503 
     364#: functions.php:505 
    375365msgid "Pingback:" 
    376366msgstr "" 
    377367 
    378368#. translators: 1: comment author, 2: date and time 
    379 #: functions.php:520 
     369#: functions.php:522 
    380370msgid "%1$s on %2$s <span class=\"says\">said:</span>" 
    381371msgstr "" 
    382372 
    383373#. translators: 1: date, 2: time 
    384 #: functions.php:526 
     374#: functions.php:528 
    385375msgid "%1$s at %2$s" 
    386376msgstr "" 
    387377 
    388 #: functions.php:535 
     378#: functions.php:537 
    389379msgid "Your comment is awaiting moderation." 
    390380msgstr "" 
    391381 
    392 #: functions.php:544 
     382#: functions.php:546 
    393383msgid "Reply <span>&darr;</span>" 
    394384msgstr "" 
    395385 
    396 #: functions.php:562 
     386#: functions.php:564 
    397387msgid "" 
    398388"<span class=\"sep\">Posted on </span><a href=\"%1$s\" title=\"%2$s\" rel=" 
     
    427417msgstr "" 
    428418 
    429 #: inc/theme-options.php:80 inc/theme-options.php:81 
     419#: inc/theme-options.php:61 
     420msgid "Color Scheme" 
     421msgstr "" 
     422 
     423#: inc/theme-options.php:67 
     424msgid "Link Color" 
     425msgstr "" 
     426 
     427#: inc/theme-options.php:68 
     428msgid "Default Layout" 
     429msgstr "" 
     430 
     431#: inc/theme-options.php:100 inc/theme-options.php:101 
    430432msgid "Theme Options" 
    431433msgstr "" 
    432434 
    433 #: inc/theme-options.php:90 
     435#: inc/theme-options.php:116 
    434436msgid "" 
    435437"Some themes provide customization options that are grouped together on a " 
     
    439441msgstr "" 
    440442 
    441 #: inc/theme-options.php:92 
     443#: inc/theme-options.php:118 
    442444msgid "" 
    443445"<strong>Color Scheme</strong>: You can choose a color palette of \"Light" 
     
    446448msgstr "" 
    447449 
    448 #: inc/theme-options.php:93 
     450#: inc/theme-options.php:119 
    449451msgid "" 
    450452"<strong>Link Color</strong>: You can choose the color used for text links on " 
     
    454456msgstr "" 
    455457 
    456 #: inc/theme-options.php:94 
     458#: inc/theme-options.php:120 
    457459msgid "" 
    458460"<strong>Default Layout</strong>: You can choose if you want your site&#8217;" 
     
    460462msgstr "" 
    461463 
    462 #: inc/theme-options.php:96 
     464#: inc/theme-options.php:122 
    463465msgid "" 
    464466"Remember to click \"Save Changes\" to save any changes you have made to the " 
     
    466468msgstr "" 
    467469 
    468 #: inc/theme-options.php:97 
     470#: inc/theme-options.php:124 
    469471msgid "For more information:" 
    470472msgstr "" 
    471473 
    472 #: inc/theme-options.php:98 
     474#: inc/theme-options.php:125 
    473475msgid "" 
    474476"<a href=\"http://codex.wordpress.org/Appearance_Theme_Options_Screen\" " 
     
    476478msgstr "" 
    477479 
    478 #: inc/theme-options.php:99 
     480#: inc/theme-options.php:126 
    479481msgid "" 
    480482"<a href=\"http://wordpress.org/support/\" target=\"_blank\">Support Forums</" 
     
    482484msgstr "" 
    483485 
    484 #: inc/theme-options.php:114 
     486#: inc/theme-options.php:133 
     487msgid "Overview" 
     488msgstr "" 
     489 
     490#: inc/theme-options.php:155 
    485491msgid "Light" 
    486492msgstr "" 
    487493 
    488 #: inc/theme-options.php:120 
     494#: inc/theme-options.php:161 
    489495msgid "Dark" 
    490496msgstr "" 
    491497 
    492 #: inc/theme-options.php:138 
     498#: inc/theme-options.php:179 
    493499msgid "Content on left" 
    494500msgstr "" 
    495501 
    496 #: inc/theme-options.php:143 
     502#: inc/theme-options.php:184 
    497503msgid "Content on right" 
    498504msgstr "" 
    499505 
    500 #: inc/theme-options.php:148 
     506#: inc/theme-options.php:189 
    501507msgid "One-column, no sidebar" 
    502508msgstr "" 
    503509 
    504 #: inc/theme-options.php:213 
     510#: inc/theme-options.php:279 
     511msgid "Select a Color" 
     512msgstr "" 
     513 
     514#: inc/theme-options.php:282 
     515msgid "Default color: %s" 
     516msgstr "" 
     517 
     518#: inc/theme-options.php:317 
    505519msgid "%s Theme Options" 
    506 msgstr "" 
    507  
    508 #: inc/theme-options.php:225 inc/theme-options.php:227 
    509 #: inc/theme-options.php:263 
    510 msgid "Color Scheme" 
    511 msgstr "" 
    512  
    513 #: inc/theme-options.php:248 inc/theme-options.php:250 
    514 msgid "Link Color" 
    515 msgstr "" 
    516  
    517 #: inc/theme-options.php:253 
    518 msgid "Select a Color" 
    519 msgstr "" 
    520  
    521 #: inc/theme-options.php:256 
    522 msgid "Default color: %s" 
    523 msgstr "" 
    524  
    525 #: inc/theme-options.php:261 
    526 msgid "Default Layout" 
    527520msgstr "" 
    528521 
     
    540533msgstr "" 
    541534 
    542 #: inc/widgets.php:93 inc/widgets.php:109 
     535#: inc/widgets.php:91 inc/widgets.php:107 
    543536msgid "0 <span class=\"reply\">comments &rarr;</span>" 
    544537msgstr "" 
    545538 
    546 #: inc/widgets.php:93 inc/widgets.php:109 
     539#: inc/widgets.php:91 inc/widgets.php:107 
    547540msgid "1 <span class=\"reply\">comment &rarr;</span>" 
    548541msgstr "" 
    549542 
    550 #: inc/widgets.php:93 inc/widgets.php:109 
     543#: inc/widgets.php:91 inc/widgets.php:107 
    551544msgid "% <span class=\"reply\">comments &rarr;</span>" 
    552545msgstr "" 
    553546 
    554 #: inc/widgets.php:107 
     547#: inc/widgets.php:105 
    555548msgid "Link to %s" 
    556549msgstr "" 
    557550 
    558 #: inc/widgets.php:159 
     551#: inc/widgets.php:157 
    559552msgid "Title:" 
    560553msgstr "" 
    561554 
    562 #: inc/widgets.php:162 
     555#: inc/widgets.php:160 
    563556msgid "Number of posts to show:" 
    564557msgstr "" 
     
    582575msgstr "" 
    583576 
     577#: archive.php:27 
     578msgctxt "monthly archives date format" 
     579msgid "F Y" 
     580msgstr "" 
     581 
    584582#: archive.php:29 
    585583msgid "Yearly Archives: %s" 
     584msgstr "" 
     585 
     586#: archive.php:29 
     587msgctxt "yearly archives date format" 
     588msgid "Y" 
    586589msgstr "" 
    587590 
  • twentyeleven/1.3/page.php

    r34226 r34226  
    1818            <div id="content" role="main"> 
    1919 
    20                 <?php the_post(); ?> 
     20                <?php while ( have_posts() ) : the_post(); ?> 
    2121 
    22                 <?php get_template_part( 'content', 'page' ); ?> 
     22                    <?php get_template_part( 'content', 'page' ); ?> 
    2323 
    24                 <?php comments_template( '', true ); ?> 
     24                    <?php comments_template( '', true ); ?> 
     25 
     26                <?php endwhile; // end of the loop. ?> 
    2527 
    2628            </div><!-- #content --> 
  • twentyeleven/1.3/rtl.css

    r34226 r34226  
    8585    margin: 0 2.5em 1.625em 0; 
    8686} 
    87 .ltr ul, ol { 
    88     margin: 0 0 1.625em  2.5em; 
     87.ltr ul, .ltr ol { 
     88    margin: 0 0 1.625em 2.5em; 
    8989} 
    9090blockquote { 
     
    335335section.recent-posts .other-recent-posts .comments-link > span { 
    336336    padding: 0.3125em 1em 0.3125em 0; 
     337    right: auto; 
    337338    left: 0; 
    338339    text-align: left; 
  • twentyeleven/1.3/showcase.php

    r34226 r34226  
    2323            <div id="content" role="main"> 
    2424 
    25                 <?php the_post(); ?> 
     25                <?php while ( have_posts() ) : the_post(); ?> 
    2626 
    2727                <?php 
     
    3333                        get_template_part( 'content', 'intro' ); 
    3434                ?> 
     35 
     36                <?php endwhile; ?> 
    3537 
    3638                <?php 
  • twentyeleven/1.3/sidebar-page.php

    r34226 r34226  
    1414            <div id="content" role="main"> 
    1515 
    16                 <?php the_post(); ?> 
     16                <?php while ( have_posts() ) : the_post(); ?> 
    1717 
    18                 <?php get_template_part( 'content', 'page' ); ?> 
     18                    <?php get_template_part( 'content', 'page' ); ?> 
    1919 
    20                 <?php comments_template( '', true ); ?> 
     20                    <?php comments_template( '', true ); ?> 
     21 
     22                <?php endwhile; // end of the loop. ?> 
    2123 
    2224            </div><!-- #content --> 
  • twentyeleven/1.3/style.css

    r34226 r34226  
    55Author URI: http://wordpress.org/ 
    66Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats. 
    7 Version: 1.2 
     7Version: 1.3 
    88License: GNU General Public License 
    99License URI: license.txt 
     
    505505    padding-bottom: 10px; 
    506506    position: relative; 
    507     z-index: 2; 
     507    z-index: 9999; 
    508508} 
    509509#site-title { 
     
    615615    display: block; 
    616616} 
     617#access .current-menu-item > a, 
     618#access .current-menu-ancestor > a, 
    617619#access .current_page_item > a, 
    618620#access .current_page_ancestor > a { 
     
    854856} 
    855857img[class*="align"], 
    856 img[class*="wp-image-"] { 
     858img[class*="wp-image-"], 
     859img[class*="attachment-"] { 
    857860    height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ 
    858861} 
    859 img.size-full { 
     862img.size-full, 
     863img.size-large { 
    860864    max-width: 97.5%; 
    861     width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */ 
     865    width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ 
     866    height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ 
    862867} 
    863868.entry-content img.wp-smiley { 
     
    955960    background: #fff; 
    956961    border-color: #ddd; 
     962} 
     963 
     964/* Make sure embeds and iframes fit their containers */ 
     965embed, 
     966iframe, 
     967object { 
     968    max-width: 100%; 
    957969} 
    958970 
     
    10601072    padding: 20px 0 0; 
    10611073} 
     1074article.format-status .entry-content { 
     1075    min-height: 65px; 
     1076} 
    10621077.recent-posts .entry-header .entry-format { 
    10631078    display: none; 
     
    17041719    top: -0.3em; 
    17051720    text-align: right; 
    1706     width: 100%; 
    17071721    z-index: 1; 
    17081722} 
     
    23492363        width: auto; 
    23502364    } 
    2351     /* Make sure embeds fit their containers */ 
    2352     embed, 
    2353     object { 
    2354         max-width: 100%; 
    2355     } 
    23562365 
    23572366} 
Note: See TracChangeset for help on using the changeset viewer.