Changeset 25625 for trunk/src/wp-content/themes/twentyeleven/image.php
- Timestamp:
- 09/25/2013 04:49:36 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/image.php
r19582 r25625 1 1 <?php 2 2 /** 3 * T he template for displaying image attachments.3 * Template for displaying image attachments 4 4 * 5 5 * @package WordPress … … 73 73 ?> 74 74 <a href="<?php echo esc_url( $next_attachment_url ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php 75 /** 76 * Filter the Twenty Eleven default attachment size. 77 * 78 * @since Twenty Eleven 1.0 79 * 80 * @param int The height and width attachment size dimensions in pixels. Default 848. 81 */ 75 82 $attachment_size = apply_filters( 'twentyeleven_attachment_size', 848 ); 76 83 echo wp_get_attachment_image( $post->ID, array( $attachment_size, 1024 ) ); // filterable image width with 1024px limit for image height.
Note: See TracChangeset
for help on using the changeset viewer.