Make WordPress Core

Ticket #25694: 25694.diff

File 25694.diff, 5.0 KB (added by iamtakashi, 13 years ago)
  • wp-content/themes/twentyfourteen/content-aside.php

     
    1818                </div><!-- .entry-meta -->
    1919                <?php endif; ?>
    2020
     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                ?>
     28
    2129                <div class="entry-meta">
    2230                        <span class="post-format">
    2331                                <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'aside' ) ); ?>"><?php echo get_post_format_string( 'aside' ); ?></a>
     
    4654        </div><!-- .entry-content -->
    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>
    6159                <?php endif; ?>
  • wp-content/themes/twentyfourteen/content-link.php

     
    1818                </div><!-- .entry-meta -->
    1919                <?php endif; ?>
    2020
     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                ?>
     28
    2129                <div class="entry-meta">
    2230                        <span class="post-format">
    2331                                <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'link' ) ); ?>"><?php echo get_post_format_string( 'link' ); ?></a>
  • wp-content/themes/twentyfourteen/content-quote.php

     
    1818                </div><!-- .entry-meta -->
    1919                <?php endif; ?>
    2020
     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                ?>
     28
    2129                <div class="entry-meta">
    2230                        <span class="post-format">
    2331                                <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'quote' ) ); ?>"><?php echo get_post_format_string( 'quote' ); ?></a>
     
    4654        </div><!-- .entry-content -->
    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>
    6159                <?php endif; ?>
  • wp-content/themes/twentyfourteen/content.php

     
    2020                </div>
    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">
    2632                        <?php
  • wp-content/themes/twentyfourteen/style.css

     
    10581058        clear: none;
    10591059        font-size: 15px;
    10601060        font-weight: 900;
    1061         line-height: 18px;
     1061        line-height: 1.2;
    10621062        margin: 0 0 6px 0;
    10631063}
    10641064
     
    10791079}
    10801080
    10811081
    1082 
    10831082/**
    10841083 * 6.3 Entry Meta
    10851084 * -----------------------------------------------------------------------------
     
    15061505        padding-top: 0;
    15071506}
    15081507
    1509 .site-content .entry-meta .entry-title {
    1510         font-size: 12px;
    1511         font-weight: 400;
    1512         line-height: 1.3333333333;
    1513         margin-bottom: 8px;
    1514         text-transform: none;
     1508.site-content .format-link .entry-title,
     1509.site-content .format-aside .entry-title,
     1510.site-content .format-quote .entry-title {
     1511        display: none;
    15151512}
    15161513
    1517 .entry-meta .entry-title a {
    1518         color: #767676;
    1519 }
    15201514
    1521 .entry-meta .entry-title a:hover {
    1522         color: #2b2b2b;
    1523 }
    1524 
    1525 
    15261515/**
    15271516 * 6.6 Post/Image/Paging Navigation
    15281517 * -----------------------------------------------------------------------------