equal
deleted
inserted
replaced
2 /** |
2 /** |
3 * The template for displaying Author Archive pages |
3 * The template for displaying Author Archive pages |
4 * |
4 * |
5 * Used to display archive-type pages for posts by an author. |
5 * Used to display archive-type pages for posts by an author. |
6 * |
6 * |
7 * @link http://codex.wordpress.org/Template_Hierarchy |
7 * @link https://codex.wordpress.org/Template_Hierarchy |
8 * |
8 * |
9 * @package WordPress |
9 * @package WordPress |
10 * @subpackage Twenty_Twelve |
10 * @subpackage Twenty_Twelve |
11 * @since Twenty Twelve 1.0 |
11 * @since Twenty Twelve 1.0 |
12 */ |
12 */ |
27 */ |
27 */ |
28 the_post(); |
28 the_post(); |
29 ?> |
29 ?> |
30 |
30 |
31 <header class="archive-header"> |
31 <header class="archive-header"> |
32 <h1 class="archive-title"><?php printf( __( 'Author Archives: %s', 'twentytwelve' ), '<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>' ); ?></h1> |
32 <h1 class="archive-title"><?php printf( __( 'Author Archives: %s', 'twentytwelve' ), '<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>' ); ?></h1> |
33 </header><!-- .archive-header --> |
33 </header><!-- .archive-header --> |
34 |
34 |
35 <?php |
35 <?php |
36 /* Since we called the_post() above, we need to |
36 /* Since we called the_post() above, we need to |
37 * rewind the loop back to the beginning that way |
37 * rewind the loop back to the beginning that way |