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-quote.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">
     
    4755
    4856        <footer class="entry-meta">
    49                 <div class="entry-meta">
    50                         <?php
    51                                 if ( is_single() ) :
    52                                         the_title( '<h1 class="entry-title">', '</h1>' );
    53                                 else :
    54                                         the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
    55                                 endif;
    56                         ?>
    57                 </div>
    58 
    5957                <?php if ( has_tag() ) : ?>
    6058                <span class="tag-links"><?php echo get_the_tag_list(); ?></span>
Note: See TracChangeset for help on using the changeset viewer.