Ticket #23542: 23542.2.diff
File 23542.2.diff, 1.3 KB (added by , 12 years ago) |
---|
-
wp-content/themes/twentythirteen/functions.php
528 528 add_action( 'template_redirect', 'twentythirteen_content_width' ); 529 529 530 530 /** 531 * Adjust embed defaults for video post formats. 532 * 533 * @since Twenty Thirteen 1.0 534 */ 535 function twentythirteen_embed_defaults( $defaults ) { 536 if ( has_post_format( 'video' ) ) { 537 $defaults['width'] = 724; 538 $defautls['height'] = 1000; 539 } 540 541 return $defaults; 542 } 543 add_filter( 'embed_defaults', 'twentythirteen_embed_defaults' ); 544 545 /** 531 546 * Adds entry date to aside posts after the content. 532 547 * 533 548 * -
wp-content/themes/twentythirteen/style.css
1735 1735 background-color: #dd5625; 1736 1736 } 1737 1737 1738 .format-video .entry-content embed, 1739 .format-video .entry-content iframe, 1740 .format-video .entry-content object, 1741 .format-video .entry-content video { 1742 margin: 0 -60px; 1743 max-width: 724px; 1744 } 1745 1738 1746 .format-video .entry-content a, 1739 1747 .single-format-video .entry-content a { 1740 1748 color: #fbfaf3;