Ticket #25256: twentyfourteen.diff
File twentyfourteen.diff, 1.2 KB (added by , 12 years ago) |
---|
-
src/wp-content/themes/twentyfourteen/functions.php
23 23 * @subpackage Twenty_Fourteen 24 24 */ 25 25 26 /** 27 * Sets up the content width value based on the theme's design. 26 /* Sets up the content width value based on the theme's design. 28 27 * @see twentyfourteen_content_width() for template-specific adjustments. 29 28 */ 30 29 if ( ! isset( $content_width ) ) … … 297 296 $attachment_size = apply_filters( 'twentyfourteen_attachment_size', array( 1200, 1200 ) ); 298 297 $next_attachment_url = wp_get_attachment_url(); 299 298 300 /** 301 * Grab the IDs of all the image attachments in a gallery so we can get the URL 299 /* Grab the IDs of all the image attachments in a gallery so we can get the URL 302 300 * of the next adjacent image in a gallery, or the first image (if we're 303 301 * looking at the last image in a gallery), or, in a gallery of one, just the 304 302 * link to that image file. … … 512 510 513 511 /** 514 512 * Implement the Custom Header feature 515 *516 513 */ 517 514 require get_template_directory() . '/inc/custom-header.php'; 518 515