Changeset 25521 for trunk/src/wp-content/themes/twentytwelve/image.php
- Timestamp:
- 09/20/2013 07:23:22 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwelve/image.php
r22318 r25521 1 1 <?php 2 2 /** 3 * The template for displaying image attachments .3 * The template for displaying image attachments 4 4 * 5 * Learn more:http://codex.wordpress.org/Template_Hierarchy5 * @link http://codex.wordpress.org/Template_Hierarchy 6 6 * 7 7 * @package WordPress … … 75 75 ?> 76 76 <a href="<?php echo esc_url( $next_attachment_url ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php 77 /** 78 * Filter the image attachment size to use. 79 * 80 * @since Twenty Twelve 1.0 81 * 82 * @param array $size { 83 * @type int The attachment height in pixels. 84 * @type int The attachment width in pixels. 85 * } 86 */ 77 87 $attachment_size = apply_filters( 'twentytwelve_attachment_size', array( 960, 960 ) ); 78 88 echo wp_get_attachment_image( $post->ID, $attachment_size );
Note: See TracChangeset
for help on using the changeset viewer.