Ticket #40138: 40138.2.diff
File 40138.2.diff, 10.3 KB (added by , 7 years ago) |
---|
-
src/wp-content/themes/twentyeleven/functions.php
743 743 744 744 return $images; 745 745 } 746 747 /** 748 * Modifies tag cloud widget arguments to have all tags in the widget same font size and use list format for better accessibility. 749 * 750 * @since Twenty Eleven 2.7 751 * 752 * @param array $args Arguments for tag cloud widget. 753 * @return array A new modified arguments. 754 */ 755 function twentyeleven_widget_tag_cloud_args( $args ) { 756 $args['largest'] = 22; 757 $args['smallest'] = 8; 758 $args['unit'] = 'pt'; 759 $args['format'] = 'list'; 760 return $args; 761 } 762 add_filter( 'widget_tag_cloud_args', 'twentyeleven_widget_tag_cloud_args' ); -
src/wp-content/themes/twentyeleven/style.css
2332 2332 font-weight: bold; 2333 2333 } 2334 2334 2335 /* Tag Cloud UL Style Fixes */ 2335 2336 2337 .tagcloud ul { 2338 list-style-type: none; 2339 } 2340 2341 .tagcloud ul li { 2342 display: inline-block; 2343 } 2344 2345 2336 2346 /* =Responsive Structure 2337 2347 ----------------------------------------------- */ 2338 2348 -
src/wp-content/themes/twentyfifteen/functions.php
386 386 add_filter( 'get_search_form', 'twentyfifteen_search_form_modify' ); 387 387 388 388 /** 389 * Modifies tag cloud widget arguments to have all tags in the widget same font size and use list format for better accessibility. 390 * 391 * @since Twenty Fifteen 1.9 392 * 393 * @param array $args Arguments for tag cloud widget. 394 * @return array A new modified arguments. 395 */ 396 function twentyfifteen_widget_tag_cloud_args( $args ) { 397 $args['largest'] = 22; 398 $args['smallest'] = 8; 399 $args['unit'] = 'pt'; 400 $args['format'] = 'list'; 401 return $args; 402 } 403 add_filter( 'widget_tag_cloud_args', 'twentyfifteen_widget_tag_cloud_args' ); 404 405 406 /** 389 407 * Implement the Custom Header feature. 390 408 * 391 409 * @since Twenty Fifteen 1.0 -
src/wp-content/themes/twentyfifteen/style.css
2681 2681 margin-bottom: 0; 2682 2682 } 2683 2683 2684 /* Tag Cloud UL Style Fixes */ 2684 2685 2686 .tagcloud ul { 2687 list-style-type: none; 2688 } 2689 2690 .tagcloud ul li { 2691 display: inline-block; 2692 margin: 4px 4px 0 0; 2693 } 2694 2695 2685 2696 /** 2686 2697 * 16.0 Media Queries 2687 2698 */ -
src/wp-content/themes/twentyfourteen/functions.php
527 527 } 528 528 add_filter( 'wp_title', 'twentyfourteen_wp_title', 10, 2 ); 529 529 530 531 /** 532 * Modifies tag cloud widget arguments to have all tags in the widget same font size and use list format for better accessibility. 533 * 534 * @since Twenty Fourteen 2.1 535 * 536 * @param array $args Arguments for tag cloud widget. 537 * @return array A new modified arguments. 538 */ 539 function twentyfourteen_widget_tag_cloud_args( $args ) { 540 $args['largest'] = 22; 541 $args['smallest'] = 8; 542 $args['unit'] = 'pt'; 543 $args['format'] = 'list'; 544 return $args; 545 } 546 add_filter( 'widget_tag_cloud_args', 'twentyfourteen_widget_tag_cloud_args' ); 547 548 530 549 // Implement Custom Header features. 531 550 require get_template_directory() . '/inc/custom-header.php'; 532 551 -
src/wp-content/themes/twentyfourteen/style.css
3120 3120 width: auto; 3121 3121 } 3122 3122 3123 /* Tag Cloud UL Style Fixes */ 3123 3124 3125 .tagcloud ul { 3126 list-style-type: none; 3127 } 3128 3129 .tagcloud ul li { 3130 display: inline-block; 3131 margin: 4px 4px 0 0; 3132 } 3133 3134 3124 3135 /** 3125 3136 * 11.0 Media Queries 3126 3137 * ----------------------------------------------------------------------------- -
src/wp-content/themes/twentysixteen/functions.php
417 417 /** 418 418 * Modifies tag cloud widget arguments to have all tags in the widget same font size. 419 419 * 420 * @since Twenty Sixteen 1. 1420 * @since Twenty Sixteen 1.4 421 421 * 422 422 * @param array $args Arguments for tag cloud widget. 423 423 * @return array A new modified arguments. 424 424 */ 425 425 function twentysixteen_widget_tag_cloud_args( $args ) { 426 $args['largest'] = 1;426 $args['largest'] = 1; 427 427 $args['smallest'] = 1; 428 $args['unit'] = 'em'; 428 $args['unit'] = 'em'; 429 $args['format'] = 'list'; 429 430 return $args; 430 431 } 431 432 add_filter( 'widget_tag_cloud_args', 'twentysixteen_widget_tag_cloud_args' ); -
src/wp-content/themes/twentysixteen/style.css
1514 1514 padding: 0.5625em 0.4375em 0.5em; 1515 1515 } 1516 1516 1517 /* Tag Cloud UL Style Fixes */ 1518 1519 .tagcloud ul { 1520 list-style-type: none; 1521 margin-left: 0; 1522 } 1523 1524 .tagcloud ul li { 1525 display: inline-block; 1526 } 1527 1517 1528 .tagcloud a:hover, 1518 1529 .tagcloud a:focus { 1519 1530 border-color: #007acc; -
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.4 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' ); -
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 -
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.3 623 * 624 * @param array $args Arguments for tag cloud widget. 625 * @return array A new modified arguments. 626 */ 627 function twentythirteen_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', 'twentythirteen_widget_tag_cloud_args' ); -
src/wp-content/themes/twentythirteen/style.css
2663 2663 margin: -10px auto 0; 2664 2664 } 2665 2665 2666 /* Tag Cloud UL Style Fixes */ 2666 2667 2668 .tagcloud ul { 2669 list-style-type: none; 2670 } 2671 2672 .tagcloud ul li { 2673 display: inline-block; 2674 padding: 0; 2675 } 2676 2677 2667 2678 /** 2668 2679 * 8.0 Media Queries 2669 2680 * ---------------------------------------------------------------------------- -
src/wp-content/themes/twentytwelve/functions.php
559 559 wp_enqueue_script( 'twentytwelve-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20141120', true ); 560 560 } 561 561 add_action( 'customize_preview_init', 'twentytwelve_customize_preview_js' ); 562 563 564 /** 565 * Modifies tag cloud widget arguments to have all tags in the widget same font size and use list format for better accessibility. 566 * 567 * @since Twenty Twelve 2.4 568 * 569 * @param array $args Arguments for tag cloud widget. 570 * @return array A new modified arguments. 571 */ 572 function twentytwelve_widget_tag_cloud_args( $args ) { 573 $args['largest'] = 22; 574 $args['smallest'] = 8; 575 $args['unit'] = 'pt'; 576 $args['format'] = 'list'; 577 return $args; 578 } 579 add_filter( 'widget_tag_cloud_args', 'twentytwelve_widget_tag_cloud_args' ); -
src/wp-content/themes/twentytwelve/style.css
1460 1460 margin: 0 auto 1.714285714rem; 1461 1461 } 1462 1462 1463 /* Tag Cloud UL Style Fixes */ 1463 1464 1465 .tagcloud ul { 1466 list-style-type: none; 1467 } 1468 1469 .tagcloud ul li { 1470 display: inline-block; 1471 } 1472 1473 .widget-area .widget.widget_tag_cloud li { 1474 line-height: 1; 1475 } 1476 1464 1477 /* =Media queries 1465 1478 -------------------------------------------------------------- */ 1466 1479