Ticket #30065: 30065.2.diff
File 30065.2.diff, 5.0 KB (added by , 10 years ago) |
---|
-
wp-content/themes/twentyfifteen/author-bio.php
24 24 ?> 25 25 </div><!-- .author-avatar --> 26 26 <div class="author-description"> 27 <h 2 class="author-title"><?php echo get_the_author(); ?></h2>27 <h3 class="author-title"><?php echo get_the_author(); ?></h3> 28 28 <p class="author-bio"> 29 29 <?php the_author_meta( 'description' ); ?> 30 30 <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> -
wp-content/themes/twentyfifteen/content-link.php
14 14 <?php twentyfifteen_post_thumbnail(); ?> 15 15 16 16 <header class="entry-header"> 17 <?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( twentyfifteen_get_link_url() ) ), '</a></h1>' ); ?> 17 <?php 18 if ( is_single() ) : 19 the_title( sprintf( '<h1 class="entry-title"><a href="%s">', esc_url( twentyfifteen_get_link_url() ) ), '</a></h1>' ); 20 else : 21 the_title( sprintf( '<h2 class="entry-title"><a href="%s">', esc_url( twentyfifteen_get_link_url() ) ), '</a></h2>' ); 22 endif; 23 ?> 18 24 </header> 19 25 <!-- .entry-header --> 20 26 -
wp-content/themes/twentyfifteen/content-search.php
14 14 <?php twentyfifteen_post_thumbnail(); ?> 15 15 16 16 <header class="entry-header"> 17 <?php the_title( sprintf( '<h 1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>17 <?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?> 18 18 </header><!-- .entry-header --> 19 19 20 20 <div class="entry-summary"> -
wp-content/themes/twentyfifteen/content.php
18 18 if ( is_single() ) : 19 19 the_title( '<h1 class="entry-title">', '</h1>' ); 20 20 else : 21 the_title( sprintf( '<h 1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' );21 the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); 22 22 endif; 23 23 ?> 24 24 </header><!-- .entry-header --> -
wp-content/themes/twentyfifteen/functions.php
119 119 'description' => __( 'Add widgets here to appear in your sidebar.', 'twentyfifteen' ), 120 120 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 121 121 'after_widget' => '</aside>', 122 'before_title' => '<h 1class="widget-title">',123 'after_title' => '</h 1>',122 'before_title' => '<h2 class="widget-title">', 123 'after_title' => '</h2>', 124 124 ) ); 125 125 } 126 126 add_action( 'widgets_init', 'twentyfifteen_widgets_init' ); -
wp-content/themes/twentyfifteen/inc/template-tags.php
34 34 if ( $links ) : 35 35 ?> 36 36 <nav class="navigation pagination" role="navigation"> 37 <h 1 class="screen-reader-text"><?php esc_html_e( 'Posts navigation', 'twentyfifteen' ); ?></h1>37 <h2 class="screen-reader-text"><?php esc_html_e( 'Posts navigation', 'twentyfifteen' ); ?></h2> 38 38 <div class="nav-links"> 39 39 <?php echo $links; ?> 40 40 </div><!-- .nav-links --> … … 71 71 72 72 ?> 73 73 <nav class="navigation post-navigation" role="navigation"> 74 <h 1 class="screen-reader-text"><?php esc_html_e( 'Post navigation', 'twentyfifteen' ); ?></h1>74 <h2 class="screen-reader-text"><?php esc_html_e( 'Post navigation', 'twentyfifteen' ); ?></h2> 75 75 <div class="nav-links"> 76 76 <?php 77 77 if ( is_attachment() ) : … … 98 98 if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : 99 99 ?> 100 100 <nav class="navigation comment-navigation" role="navigation"> 101 <h 1 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'twentyfifteen' ); ?></h1>101 <h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'twentyfifteen' ); ?></h2> 102 102 <div class="nav-links"> 103 103 <?php 104 104 if ( $prev_link = get_previous_comments_link( esc_html__( 'Older Comments', 'twentyfifteen' ) ) ) :