WordPress.org

Make WordPress Themes


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • twentyseventeen/1.2/template-parts/post/content.php

    r71015 r75356  
    88 * @subpackage Twenty_Seventeen 
    99 * @since 1.0 
    10  * @version 1.0 
     10 * @version 1.2 
    1111 */ 
    1212 
     
    3434            if ( is_single() ) { 
    3535                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>' ); 
    3638            } else { 
    3739                the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); 
Note: See TracChangeset for help on using the changeset viewer.