Make WordPress Core


Ignore:
Timestamp:
03/28/2013 07:02:51 AM (12 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: improvements to Image post format handling to use a custom image size instead of filtering a $content_width variable.

Includes CSS cleanup and markup improvements to both video and image templates, moving the media HTML piece out of the header element.

Props obenland, closes #23620.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentythirteen/content-image.php

    r23836 r23839  
    1010
    1111<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
     12    <div class="entry-media">
     13        <?php the_image( 'twentythirteen-image-post-format' ); ?>
     14    </div><!-- .entry-media -->
     15
    1216    <header class="entry-header">
    13         <div class="entry-media">
    14             <?php the_image(); ?>
    15         </div>
    16 
    1717        <?php if ( is_single() ) : ?>
    1818        <h1 class="entry-title"><?php the_title(); ?></h1>
Note: See TracChangeset for help on using the changeset viewer.