Ticket #40264: 40264.2.patch
File 40264.2.patch, 5.4 KB (added by , 8 years ago) |
---|
-
src/wp-content/themes/twentyseventeen/style.css
451 451 font-weight: 300; 452 452 } 453 453 454 h2 { 454 h2, 455 .home.blog .entry-title { 455 456 color: #666; 456 457 font-size: 20px; 457 458 font-size: 1.25rem; … … 3153 3154 } 3154 3155 3155 3156 h2, 3157 .home.blog .entry-title, 3156 3158 .page .panel-content .recent-posts .entry-title { 3157 3159 font-size: 26px; 3158 3160 font-size: 1.625rem; -
src/wp-content/themes/twentyseventeen/template-parts/post/content-audio.php
33 33 34 34 if ( is_single() ) { 35 35 the_title( '<h1 class="entry-title">', '</h1>' ); 36 } elseif ( is_front_page() && is_home() ) { 37 the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); 36 38 } else { 37 39 the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); 38 40 } -
src/wp-content/themes/twentyseventeen/template-parts/post/content-excerpt.php
9 9 * @package WordPress 10 10 * @subpackage Twenty_Seventeen 11 11 * @since 1.0 12 * @version 1. 012 * @version 1.1 13 13 */ 14 14 15 15 ?> … … 30 30 </div><!-- .entry-meta --> 31 31 <?php endif; ?> 32 32 33 <?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?> 33 <?php if ( is_front_page() && ! is_home() ) { 34 35 // The excerpt is being displayed within a front page section, so it's a lower hierarchy than h2. 36 the_title( sprintf( '<h3 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h3>' ); 37 } else { 38 the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); 39 } ?> 34 40 </header><!-- .entry-header --> 35 41 36 42 <div class="entry-summary"> -
src/wp-content/themes/twentyseventeen/template-parts/post/content-gallery.php
33 33 34 34 if ( is_single() ) { 35 35 the_title( '<h1 class="entry-title">', '</h1>' ); 36 } elseif ( is_front_page() && is_home() ) { 37 the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); 36 38 } else { 37 39 the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); 38 40 } -
src/wp-content/themes/twentyseventeen/template-parts/post/content-image.php
33 33 34 34 if ( is_single() ) { 35 35 the_title( '<h1 class="entry-title">', '</h1>' ); 36 } elseif ( is_front_page() && is_home() ) { 37 the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); 36 38 } else { 37 39 the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); 38 40 } -
src/wp-content/themes/twentyseventeen/template-parts/post/content-video.php
33 33 34 34 if ( is_single() ) { 35 35 the_title( '<h1 class="entry-title">', '</h1>' ); 36 } elseif ( is_front_page() && is_home() ) { 37 the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); 36 38 } else { 37 39 the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); 38 40 } -
src/wp-content/themes/twentyseventeen/template-parts/post/content.php
7 7 * @package WordPress 8 8 * @subpackage Twenty_Seventeen 9 9 * @since 1.0 10 * @version 1. 010 * @version 1.1 11 11 */ 12 12 13 13 ?> … … 33 33 34 34 if ( is_single() ) { 35 35 the_title( '<h1 class="entry-title">', '</h1>' ); 36 } elseif ( is_front_page() && is_home() ) { 37 the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); 36 38 } else { 37 39 the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); 38 40 }