Make WordPress Core


Ignore:
Timestamp:
10/28/2013 05:48:46 PM (11 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: display titles for aside, link, and quote format on small screens. Props iamtakashi, fixes #25694.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/content.php

    r25802 r25969  
    2121        <?php endif; ?>
    2222
    23         <?php the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); ?>
     23        <?php
     24            if ( is_single() ) :
     25                the_title( '<h1 class="entry-title">', '</h1>' );
     26            else :
     27                the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
     28            endif;
     29        ?>
    2430
    2531        <div class="entry-meta">
Note: See TracChangeset for help on using the changeset viewer.