Changeset 17300
- Timestamp:
- 01/14/2011 07:16:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/header.php
r16434 r17300 68 68 <?php 69 69 // Check if this is a post or page, if it has a thumbnail, and if it's a big one 70 if ( is_singular() && 70 if ( is_singular() && current_theme_supports( 'post-thumbnails' ) && 71 71 has_post_thumbnail( $post->ID ) && 72 72 ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) &&
Note: See TracChangeset
for help on using the changeset viewer.