Ticket #40138: 40138.2010.diff
File 40138.2010.diff, 1.4 KB (added by , 7 years ago) |
---|
-
src/wp-content/themes/twentyten/functions.php
593 593 594 594 return $images; 595 595 } 596 597 /** 598 * Modifies tag cloud widget arguments to have all tags in the widget same font size and use list format for better accessibility. 599 * 600 * @since Twenty Ten 2.3 601 * 602 * @param array $args Arguments for tag cloud widget. 603 * @return array A new modified arguments. 604 */ 605 function twentyten_widget_tag_cloud_args( $args ) { 606 $args['largest'] = 22; 607 $args['smallest'] = 8; 608 $args['unit'] = 'pt'; 609 $args['format'] = 'list'; 610 return $args; 611 } 612 add_filter( 'widget_tag_cloud_args', 'twentyten_widget_tag_cloud_args' ); 613 No newline at end of file -
src/wp-content/themes/twentyten/style.css
1299 1299 } 1300 1300 1301 1301 1302 /* Tag Cloud UL Style Fixes */ 1303 1304 .tagcloud ul { 1305 list-style-type: none; 1306 margin-left: 0 !important; 1307 } 1308 1309 .tagcloud ul li { 1310 display: inline-block; 1311 } 1312 1313 1302 1314 /* =Mobile Safari ( iPad, iPhone and iPod Touch ) 1303 1315 -------------------------------------------------------------- */ 1304 1316