Make WordPress Core


Ignore:
Timestamp:
09/20/2012 07:42:19 PM (14 years ago)
Author:
lancewillett
Message:

Twenty Twelve: update status post format styles and markup, props drewstrojny. See #21743.

File:
1 edited

Legend:

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

    r21732 r21932  
    1111        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    1212                <div class="entry-content">
    13                         <div class="avatar"><?php echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'twentytwelve_status_avatar', '48' ) ); ?></div>
     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>
    1420                        <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?>
    1521                </div><!-- .entry-content -->
    1622
    1723                <footer class="entry-meta">
    18                         <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>
    1924                        <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
    2025                </footer><!-- .entry-meta -->
Note: See TracChangeset for help on using the changeset viewer.