Make WordPress Core


Ignore:
Timestamp:
09/27/2012 03:20:52 PM (11 years ago)
Author:
lancewillett
Message:

Twenty Twelve: consistent indentation for content-* template files.

File:
1 edited

Legend:

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

    r21723 r22058  
    99?>
    1010
    11 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    12     <div class="aside">
    13         <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    14         <div class="entry-content">
    15             <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?>
    16         </div><!-- .entry-content -->
    17     </div><!-- .aside -->
     11    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
     12        <div class="aside">
     13            <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
     14            <div class="entry-content">
     15                <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?>
     16            </div><!-- .entry-content -->
     17        </div><!-- .aside -->
    1818
    19     <footer class="entry-meta">
    20         <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>
    21         <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
    22     </footer><!-- .entry-meta -->
    23 </article><!-- #post -->
     19        <footer class="entry-meta">
     20            <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>
     21            <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
     22        </footer><!-- .entry-meta -->
     23    </article><!-- #post -->
Note: See TracChangeset for help on using the changeset viewer.