Ticket #22943: 22943.diff
File 22943.diff, 1.1 KB (added by , 12 years ago) |
---|
-
wp-content/themes/twentytwelve/functions.php
72 72 ) ); 73 73 74 74 // This theme uses a custom image size for featured images, displayed on "standard" posts. 75 add_theme_support( 'post-thumbnails' );75 add_theme_support( 'post-thumbnails', array( 'post', 'page' ) ); 76 76 set_post_thumbnail_size( 624, 9999 ); // Unlimited height, soft crop 77 77 } 78 78 add_action( 'after_setup_theme', 'twentytwelve_setup' ); -
wp-content/themes/twentytwelve/content-page.php
10 10 11 11 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 12 12 <header class="entry-header"> 13 <?php the_post_thumbnail(); ?> 13 14 <h1 class="entry-title"><?php the_title(); ?></h1> 14 15 </header> 15 16