Make WordPress Core

Ticket #25876: 25876.diff

File 25876.diff, 1.9 KB (added by iamtakashi, 12 years ago)
  • wp-content/themes/twentyfourteen/content-featured-post.php

     
    1313        <?php
    1414                if ( has_post_thumbnail() ) :
    1515                        if ( 'grid' == get_theme_mod( 'featured_content_layout' ) )
    16                                 the_post_thumbnail( 'post-thumbnail-grid' );
     16                                the_post_thumbnail( 'post-thumbnail' );
    1717                        else
    18                                 the_post_thumbnail( 'post-thumbnail-slider' );
     18                                the_post_thumbnail( 'post-thumbnail-full-width' );
    1919                endif;
    2020        ?>
    2121        </a>
    2222
    2323        <header class="entry-header">
    24                 <?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) &&twentyfourteen_categorized_blog() ) : ?>
     24                <?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
    2525                <div class="entry-meta">
    2626                        <span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
    2727                </div><!-- .entry-meta -->
  • wp-content/themes/twentyfourteen/functions.php

     
    6868        add_theme_support( 'post-thumbnails' );
    6969
    7070        // Add several sizes for Post Thumbnails.
    71         add_image_size( 'post-thumbnail-slider', 1038, 576, true );
    72         add_image_size( 'post-thumbnail-full-width', 1038, 0 );
    73         add_image_size( 'post-thumbnail-grid', 672, 372, true );
    74         add_image_size( 'post-thumbnail', 672, 0 );
     71        add_image_size( 'post-thumbnail-full-width', 1038, 576, true );
     72        add_image_size( 'post-thumbnail', 672, 372, true );
    7573
    7674        // This theme uses wp_nav_menu() in two locations.
    7775        register_nav_menus( array(