Commit 94818bdb authored by samba's avatar samba

[auto] theme: twentysixteen 2.0

parent 42c61112
......@@ -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 );
......
......@@ -22,6 +22,7 @@
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<div id="page" class="site">
<div class="site-inner">
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentysixteen' ); ?></a>
......
......@@ -93,7 +93,7 @@ get_header(); ?>
);
?>
</footer><!-- .entry-footer -->
</article><!-- #post-## -->
</article><!-- #post-<?php the_ID(); ?> -->
<?php
// If comments are open or we have at least one comment, load up the comment template.
......
......@@ -264,3 +264,21 @@ if ( ! function_exists( 'twentysixteen_the_custom_logo' ) ) :
}
}
endif;
if ( ! function_exists( 'wp_body_open' ) ) :
/**
* Fire the wp_body_open action.
*
* Added for backwards compatibility to support pre 5.2.0 WordPress versions.
*
* @since Twenty Sixteen 2.0
*/
function wp_body_open() {
/**
* Triggered after the opening <body> tag.
*
* @since Twenty Sixteen 2.0
*/
do_action( 'wp_body_open' );
}
endif;
=== 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
......
......@@ -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
......
......@@ -44,4 +44,4 @@
);
?>
</article><!-- #post-## -->
</article><!-- #post-<?php the_ID(); ?> -->
......@@ -49,5 +49,5 @@
?>
<?php endif; ?>
</article><!-- #post-## -->
</article><!-- #post-<?php the_ID(); ?> -->
......@@ -52,4 +52,4 @@
);
?>
</footer><!-- .entry-footer -->
</article><!-- #post-## -->
</article><!-- #post-<?php the_ID(); ?> -->
......@@ -58,4 +58,4 @@
);
?>
</footer><!-- .entry-footer -->
</article><!-- #post-## -->
</article><!-- #post-<?php the_ID(); ?> -->
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment