Make WordPress Core


Ignore:
Timestamp:
10/28/2013 05:48:46 PM (13 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-link.php

    r25802 r25969  
    1818                </div><!-- .entry-meta -->
    1919                <?php endif; ?>
     20
     21                <?php
     22                        if ( is_single() ) :
     23                                the_title( '<h1 class="entry-title">', '</h1>' );
     24                        else :
     25                                the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
     26                        endif;
     27                ?>
    2028
    2129                <div class="entry-meta">
Note: See TracChangeset for help on using the changeset viewer.