Changeset 26047
- Timestamp:
- 11/08/2013 05:30:45 AM (10 years ago)
- Location:
- trunk/src/wp-content/themes/twentyfourteen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/content-featured-post.php
r25979 r26047 14 14 if ( has_post_thumbnail() ) : 15 15 if ( 'grid' == get_theme_mod( 'featured_content_layout' ) ) 16 the_post_thumbnail( 'post-thumbnail -grid' );16 the_post_thumbnail( 'post-thumbnail' ); 17 17 else 18 the_post_thumbnail( 'post-thumbnail- slider' );18 the_post_thumbnail( 'post-thumbnail-full-width' ); 19 19 endif; 20 20 ?> … … 22 22 23 23 <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() ) : ?> 25 25 <div class="entry-meta"> 26 26 <span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span> -
trunk/src/wp-content/themes/twentyfourteen/functions.php
r26037 r26047 65 65 add_theme_support( 'automatic-feed-links' ); 66 66 67 // Enable support for Post Thumbnails .67 // Enable support for Post Thumbnails, and declare two sizes. 68 68 add_theme_support( 'post-thumbnails' ); 69 70 // 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 ); 69 add_image_size( 'post-thumbnail-full-width', 1038, 576, true ); 70 add_image_size( 'post-thumbnail', 672, 372, true ); 75 71 76 72 // This theme uses wp_nav_menu() in two locations.
Note: See TracChangeset
for help on using the changeset viewer.