Make WordPress Core


Ignore:
Timestamp:
06/08/2011 02:02:09 AM (13 years ago)
Author:
azaozz
Message:

Implement rel="author" in Twenty Eleven and Twenty Ten, props joostdevalk, fixes #17722

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/content-single.php

    r18072 r18189  
    1515        <div class="entry-meta">
    1616            <?php
    17                 printf( __( '<span class="sep">Posted on </span><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s" pubdate>%3$s</time></a> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s">%6$s</a></span>', 'twentyeleven' ),
     17                printf( __( '<span class="sep">Posted on </span><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s" pubdate>%3$s</time></a> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span>', 'twentyeleven' ),
    1818                    get_permalink(),
    1919                    get_the_date( 'c' ),
     
    6363                <?php the_author_meta( 'description' ); ?>
    6464                <div id="author-link">
    65                     <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
     65                    <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" rel="author">
    6666                        <?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentyeleven' ), get_the_author() ); ?>
    6767                    </a>
Note: See TracChangeset for help on using the changeset viewer.