Ticket #40138: 40138.2013.diff
File 40138.2013.diff, 1.6 KB (added by , 7 years ago) |
---|
-
src/wp-content/themes/twentythirteen/functions.php
615 615 wp_enqueue_script( 'twentythirteen-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20141120', true ); 616 616 } 617 617 add_action( 'customize_preview_init', 'twentythirteen_customize_preview_js' ); 618 619 /** 620 * Modifies tag cloud widget arguments to have all tags in the widget same font size and use list format for better accessibility. 621 * 622 * @since Twenty Thirteen 2.2 623 * 624 * @param array $args Arguments for tag cloud widget. 625 * @return array A new modified arguments. 626 */ 627 function twentyfourteen_widget_tag_cloud_args( $args ) { 628 $args['largest'] = 22; 629 $args['smallest'] = 8; 630 $args['unit'] = 'pt'; 631 $args['format'] = 'list'; 632 return $args; 633 } 634 add_filter( 'widget_tag_cloud_args', 'twentyfourteen_widget_tag_cloud_args' ); 635 No newline at end of file -
src/wp-content/themes/twentythirteen/style.css
2663 2663 margin: -10px auto 0; 2664 2664 } 2665 2665 2666 .tagcloud ul { 2667 list-style-type: none; 2668 } 2666 2669 2670 .tagcloud ul li { 2671 display: inline-block; 2672 } 2673 2674 2667 2675 /** 2668 2676 * 8.0 Media Queries 2669 2677 * ----------------------------------------------------------------------------