Changeset 31261
- Timestamp:
- 01/21/2015 08:59:15 PM (10 years ago)
- Location:
- trunk/src/wp-content/themes/twentytwelve
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwelve/author.php
r25868 r31261 30 30 31 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 33 </header><!-- .archive-header --> 34 34 -
trunk/src/wp-content/themes/twentytwelve/functions.php
r30482 r31261 280 280 global $wp_query; 281 281 282 $html_id = esc_attr( $html_id );283 284 282 if ( $wp_query->max_num_pages > 1 ) : ?> 285 <nav id="<?php echo $html_id; ?>" class="navigation" role="navigation">283 <nav id="<?php echo esc_attr( $html_id ); ?>" class="navigation" role="navigation"> 286 284 <h3 class="assistive-text"><?php _e( 'Post navigation', 'twentytwelve' ); ?></h3> 287 285 <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentytwelve' ) ); ?></div> 288 286 <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?></div> 289 </nav><!-- #<?php echo $html_id; ?>.navigation -->287 </nav><!-- .navigation --> 290 288 <?php endif; 291 289 } -
trunk/src/wp-content/themes/twentytwelve/image.php
r28585 r31261 67 67 else : 68 68 // or get the URL of the first image attachment 69 $next_attachment_url = get_attachment_link( $attachments[ 0]->ID );69 $next_attachment_url = get_attachment_link( $attachments[0]->ID ); 70 70 endif; 71 71 else :
Note: See TracChangeset
for help on using the changeset viewer.