Merge pull request #265 from sixhours/Author-Link

Remove author link from archive.php. Fixes #264.
This commit is contained in:
Konstantin Obenland 2013-07-29 09:56:19 -07:00
commit 9fc508f362
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ get_header(); ?>
* what author we're dealing with (if that is the case).
*/
the_post();
printf( __( 'Author: %s', '_s' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' );
printf( __( 'Author: %s', '_s' ), '<span class="vcard">' . get_the_author() . '</span>' );
/* Since we called the_post() above, we need to
* rewind the loop back to the beginning that way
* we can run the loop properly, in full.
@ -99,4 +99,4 @@ get_header(); ?>
</section><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
<?php get_footer(); ?>