WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/16/2013 03:46:29 AM (8 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: remove excerpts from featured posts, and display full titles instead. Props iamtakashi, closes #25581.

File:
1 edited

Legend:

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

    r25769 r25804  
    2828                    $image = array_shift( $images );
    2929                    echo wp_get_attachment_image( $image->ID, 'featured-thumbnail-featured' );
    30 
    31                 else : ?>
    32                     <img class="featured-thumbnail-featured" src="<?php echo get_template_directory_uri(); ?>/images/placeholder.png" alt="" /><?php
    33 
    3430                endif;
    3531            endif;
     
    4743            <?php the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); ?>
    4844        </header><!-- .entry-header -->
    49 
    50         <div class="entry-summary">
    51             <?php the_excerpt(); ?>
    52         </div><!-- .entry-summary -->
    5345    </div>
    5446</article><!-- #post-## -->
Note: See TracChangeset for help on using the changeset viewer.