Make WordPress Core


Ignore:
Timestamp:
09/21/2012 04:39:38 PM (14 years ago)
Author:
lancewillett
Message:

Twenty Twelve: change author template markup to use classes instead of IDs, fixes #21937.

File:
1 edited

Legend:

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

    r21618 r21941  
    4242                        // If a user has filled out their description, show a bio on their entries.
    4343                        if ( get_the_author_meta( 'description' ) ) : ?>
    44                         <div id="author-info">
    45                                 <div id="author-avatar">
     44                        <div class="author-info">
     45                                <div class="author-avatar">
    4646                                        <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentytwelve_author_bio_avatar_size', 60 ) ); ?>
    47                                 </div><!-- #author-avatar -->
    48                                 <div id="author-description">
     47                                </div><!-- .author-avatar -->
     48                                <div class="author-description">
    4949                                        <h2><?php printf( __( 'About %s', 'twentytwelve' ), get_the_author() ); ?></h2>
    5050                                        <p><?php the_author_meta( 'description' ); ?></p>
    51                                 </div><!-- #author-description  -->
    52                         </div><!-- #author-info -->
     51                                </div><!-- .author-description  -->
     52                        </div><!-- .author-info -->
    5353                        <?php endif; ?>
    5454
Note: See TracChangeset for help on using the changeset viewer.