From fcb506212cbea55b2bd080eb918d42fb4781bfef Mon Sep 17 00:00:00 2001 From: Yury German Date: Wed, 22 May 2019 01:11:37 -0400 Subject: Updating Theme twentysixteen twentysixteen.2.0 Signed-off-by: Yury German --- themes/twentysixteen/functions.php | 4 ++-- themes/twentysixteen/header.php | 1 + themes/twentysixteen/image.php | 2 +- themes/twentysixteen/inc/template-tags.php | 18 ++++++++++++++++++ themes/twentysixteen/readme.txt | 10 ++++++++-- themes/twentysixteen/style.css | 2 +- themes/twentysixteen/template-parts/content-page.php | 2 +- themes/twentysixteen/template-parts/content-search.php | 2 +- themes/twentysixteen/template-parts/content-single.php | 2 +- themes/twentysixteen/template-parts/content.php | 2 +- 10 files changed, 35 insertions(+), 10 deletions(-) diff --git a/themes/twentysixteen/functions.php b/themes/twentysixteen/functions.php index 2c47a2d2..68e4a5ef 100644 --- a/themes/twentysixteen/functions.php +++ b/themes/twentysixteen/functions.php @@ -12,7 +12,7 @@ * the parent theme's file, so the child theme functions would be used. * * @link https://codex.wordpress.org/Theme_Development - * @link https://codex.wordpress.org/Child_Themes + * @link https://developer.wordpress.org/themes/advanced-topics/child-themes/ * * Functions that are not pluggable (not wrapped in function_exists()) are * instead attached to a filter or action hook. @@ -81,7 +81,7 @@ if ( ! function_exists( 'twentysixteen_setup' ) ) : /* * Enable support for Post Thumbnails on posts and pages. * - * @link https://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails + * @link https://developer.wordpress.org/reference/functions/add_theme_support/#post-thumbnails */ add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 1200, 9999 ); diff --git a/themes/twentysixteen/header.php b/themes/twentysixteen/header.php index f264ac2c..a5cfee6a 100644 --- a/themes/twentysixteen/header.php +++ b/themes/twentysixteen/header.php @@ -22,6 +22,7 @@ > +
diff --git a/themes/twentysixteen/image.php b/themes/twentysixteen/image.php index 5fcbb901..ea64a146 100644 --- a/themes/twentysixteen/image.php +++ b/themes/twentysixteen/image.php @@ -93,7 +93,7 @@ get_header(); ?> ); ?> - + tag. + * + * @since Twenty Sixteen 2.0 + */ + do_action( 'wp_body_open' ); + } +endif; diff --git a/themes/twentysixteen/readme.txt b/themes/twentysixteen/readme.txt index dcc28905..24b3428c 100644 --- a/themes/twentysixteen/readme.txt +++ b/themes/twentysixteen/readme.txt @@ -1,8 +1,9 @@ === Twenty Sixteen === -Contributors: the WordPress team +Contributors: wordpressdotorg Requires at least: WordPress 4.4 Tested up to: WordPress 5.0 -Version: 1.9 +Requires PHP: 5.2.4 +Version: 2.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog @@ -56,6 +57,11 @@ Image used in screenshot.png: A photo by Austin Schmid (https://unsplash.com/sch == Changelog == += 2.0 = +* Released: May 7, 2019 + +https://codex.wordpress.org/Twenty_Sixteen_Theme_Changelog#Version_2.0 + = 1.9 = * Released: February 21, 2019 diff --git a/themes/twentysixteen/style.css b/themes/twentysixteen/style.css index 90c8b4c4..ab7e95da 100644 --- a/themes/twentysixteen/style.css +++ b/themes/twentysixteen/style.css @@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentysixteen/ Author: the WordPress team Author URI: https://wordpress.org/ Description: Twenty Sixteen is a modernized take on an ever-popular WordPress layout — the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. Twenty Sixteen will make your WordPress look beautiful everywhere. -Version: 1.9 +Version: 2.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog diff --git a/themes/twentysixteen/template-parts/content-page.php b/themes/twentysixteen/template-parts/content-page.php index d1ee87c6..689972c0 100644 --- a/themes/twentysixteen/template-parts/content-page.php +++ b/themes/twentysixteen/template-parts/content-page.php @@ -44,4 +44,4 @@ ); ?> - + diff --git a/themes/twentysixteen/template-parts/content-search.php b/themes/twentysixteen/template-parts/content-search.php index c4667c6b..7d587f65 100644 --- a/themes/twentysixteen/template-parts/content-search.php +++ b/themes/twentysixteen/template-parts/content-search.php @@ -49,5 +49,5 @@ ?> - + diff --git a/themes/twentysixteen/template-parts/content-single.php b/themes/twentysixteen/template-parts/content-single.php index d1061b27..23e18373 100644 --- a/themes/twentysixteen/template-parts/content-single.php +++ b/themes/twentysixteen/template-parts/content-single.php @@ -52,4 +52,4 @@ ); ?> - + diff --git a/themes/twentysixteen/template-parts/content.php b/themes/twentysixteen/template-parts/content.php index cf88417f..03b4cfb6 100644 --- a/themes/twentysixteen/template-parts/content.php +++ b/themes/twentysixteen/template-parts/content.php @@ -58,4 +58,4 @@ ); ?> - + -- cgit v1.2.3-65-gdbad