Changeset 24338 for trunk/wp-content/themes/twentythirteen/functions.php
- Timestamp:
- 05/23/2013 08:39:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentythirteen/functions.php
r24333 r24338 98 98 // Register custom image sizes for image and gallery post formats. 99 99 add_image_size( 'twentythirteen-image-post', 724, 1288 ); 100 add_image_size( 'twentythirteen-gallery-post', 300, 300, true );101 100 102 101 // This theme uses its own gallery styles. … … 452 451 function twentythirteen_gallery_atts( $atts ) { 453 452 if ( has_post_format( 'gallery' ) && ! is_single() ) 454 $atts['size'] = wp_is_mobile() ? 'thumbnail' : ' twentythirteen-gallery-post';453 $atts['size'] = wp_is_mobile() ? 'thumbnail' : 'medium'; 455 454 456 455 return $atts;
Note: See TracChangeset
for help on using the changeset viewer.