Skip to content
Browse files

More author vcard happiness.

  • Loading branch information...
1 parent 9c4bc4c commit b72b619f5acf094c829519aa8d0b871e7eeaf5c0 @dougalcampbell committed Jul 8, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 functions.php
  2. +1 −1 loop-page.php
View
2 functions.php
@@ -517,7 +517,7 @@ function formattd_posted_on() {
esc_attr( get_the_time() ),
get_the_date()
),
- sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
+ sprintf( '<span class="author vcard"><a class="url fn n" rel="author" href="%1$s" title="%2$s">%3$s</a></span>',
get_author_posts_url( get_the_author_meta( 'ID' ) ),
sprintf( esc_attr__( 'View all posts by %s', 'formattd' ), get_the_author() ),
get_the_author()
View
2 loop-page.php
@@ -67,7 +67,7 @@
<h2><?php printf( esc_attr__( 'About %s', 'formattd' ), get_the_author() ); ?></h2>
<?php the_author_meta( 'description' ); ?>
<div id="author-link">
- <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
+ <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" rel="author">
<?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'formattd' ), get_the_author() ); ?>
</a>
</div><!-- #author-link -->

0 comments on commit b72b619

Please sign in to comment.
Something went wrong with that request. Please try again.