diff --git a/wp-content/themes/twentytwelve/archive.php b/wp-content/themes/twentytwelve/archive.php index f71ecf90edf48169f169cdbc5674e3e06fa11747..78314cfb8f63dd1235eb52b4ba5aaa8412673caf 100644 --- a/wp-content/themes/twentytwelve/archive.php +++ b/wp-content/themes/twentytwelve/archive.php @@ -42,7 +42,7 @@ get_header(); ?> while ( have_posts() ) : the_post(); /* Include the post format-specific template for the content. If you want to - * this in a child theme then include a file called called content-___.php + * this in a child theme then include a file called content-___.php * (where ___ is the post format) and that will be used instead. */ get_template_part( 'content', get_post_format() ); diff --git a/wp-content/themes/twentytwelve/category.php b/wp-content/themes/twentytwelve/category.php index 02f13260566a30e10f25eda82decd2d6584e1c12..458063066d365ebd24cfefea53c41829c309449b 100644 --- a/wp-content/themes/twentytwelve/category.php +++ b/wp-content/themes/twentytwelve/category.php @@ -30,7 +30,7 @@ get_header(); ?> while ( have_posts() ) : the_post(); /* Include the post format-specific template for the content. If you want to - * this in a child theme then include a file called called content-___.php + * this in a child theme then include a file called content-___.php * (where ___ is the post format) and that will be used instead. */ get_template_part( 'content', get_post_format() ); diff --git a/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index 2dc2cd8bd755084c31c80a41eeed81b1fdd8ff7b..68d44aaed02ff9c53c3da6a5b55c37e072efd61e 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/wp-content/themes/twentytwelve/functions.php @@ -559,3 +559,23 @@ function twentytwelve_customize_preview_js() { wp_enqueue_script( 'twentytwelve-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20141120', true ); } add_action( 'customize_preview_init', 'twentytwelve_customize_preview_js' ); + + +/** + * Modifies tag cloud widget arguments to display all tags in the same font size + * and use list format for better accessibility. + * + * @since Twenty Twelve 2.4 + * + * @param array $args Arguments for tag cloud widget. + * @return array The filtered arguments for tag cloud widget. + */ +function twentytwelve_widget_tag_cloud_args( $args ) { + $args['largest'] = 22; + $args['smallest'] = 8; + $args['unit'] = 'pt'; + $args['format'] = 'list'; + + return $args; +} +add_filter( 'widget_tag_cloud_args', 'twentytwelve_widget_tag_cloud_args' ); diff --git a/wp-content/themes/twentytwelve/readme.txt b/wp-content/themes/twentytwelve/readme.txt index 9e66e4dba6af5aa2067671a20c34002bb15af3c6..a21e87057a09a0532e6675784cf5873a74865a65 100644 --- a/wp-content/themes/twentytwelve/readme.txt +++ b/wp-content/themes/twentytwelve/readme.txt @@ -1,8 +1,8 @@ === Twenty Twelve === Contributors: the WordPress team Requires at least: WordPress 3.5 -Tested up to: WordPress 4.9-trunk -Stable tag: 2.3 +Tested up to: WordPress 5.0-trunk +Stable tag: 2.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: blog, one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready @@ -43,6 +43,11 @@ Source: https://github.com/aFarkas/html5shiv == Changelog == += 2.4 = +* Released: November 14, 2017 + +https://codex.wordpress.org/Twenty_Twelve_Theme_Changelog#Version_2.4 + = 2.3 = * Released: June 8, 2017 diff --git a/wp-content/themes/twentytwelve/style.css b/wp-content/themes/twentytwelve/style.css index dd5dffbb393b8d5a99623b5bc948785bfa1691f7..9c4dce365b717ca9a81405e095f3c0df41623ec2 100644 --- a/wp-content/themes/twentytwelve/style.css +++ b/wp-content/themes/twentytwelve/style.css @@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentytwelve/ Author: the WordPress team Author URI: https://wordpress.org/ Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background. -Version: 2.3 +Version: 2.4 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: blog, one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready @@ -1450,6 +1450,32 @@ a.comment-edit-link:hover { display: block; text-align: right; } +.tagcloud ul { + list-style-type: none; +} + +.tagcloud ul li { + display: inline-block; +} + +.widget-area .widget.widget_tag_cloud li { + line-height: 1; +} +.template-front-page .widget-area .widget.widget_tag_cloud li { + margin: 0; +} + +.widget-area .gallery-columns-2.gallery-size-full .gallery-icon img, +.widget-area .gallery-columns-3.gallery-size-full .gallery-icon img, +.widget-area .gallery-columns-4.gallery-size-full .gallery-icon img, +.widget-area .gallery-columns-5.gallery-size-full .gallery-icon img, +.widget-area .gallery-columns-6 .gallery-icon img, +.widget-area .gallery-columns-7 .gallery-icon img, +.widget-area .gallery-columns-8 .gallery-icon img, +.widget-area .gallery-columns-9 .gallery-icon img { + height: auto; + max-width: 80%; +} /* =Plugins ----------------------------------------------- */ diff --git a/wp-content/themes/twentytwelve/tag.php b/wp-content/themes/twentytwelve/tag.php index 1742df4adbe176099e78986b3ed8a1cf86d09802..7715302ca16fe9304747164977a85743851179c6 100644 --- a/wp-content/themes/twentytwelve/tag.php +++ b/wp-content/themes/twentytwelve/tag.php @@ -31,7 +31,7 @@ get_header(); ?> /* * Include the post format-specific template for the content. If you want to - * this in a child theme then include a file called called content-___.php + * this in a child theme then include a file called content-___.php * (where ___ is the post format) and that will be used instead. */ get_template_part( 'content', get_post_format() );