Make WordPress Core


Ignore:
Timestamp:
09/20/2012 09:51:48 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Twelve: rework markup and styles for status post format after discussion with drewstrojny and testing for float clearing. Closes #21743.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/content-status.php

    r21932 r21933  
    1010
    1111    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
     12        <div class="entry-header">
     13            <header>
     14                <h1><?php the_author(); ?></h1>
     15                <h2><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a></h2>
     16            </header>
     17            <?php echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'twentytwelve_status_avatar', '48' ) ); ?>
     18        </div><!-- .entry-header -->
     19
    1220        <div class="entry-content">
    13             <div class="avatar">
    14                 <header>
    15                     <h1><?php the_author(); ?></h1>
    16                     <h2><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a></h2>
    17                 </header>
    18                 <?php echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'twentytwelve_status_avatar', '48' ) ); ?>
    19             </div>
    2021            <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?>
    2122        </div><!-- .entry-content -->
Note: See TracChangeset for help on using the changeset viewer.