forked from mirror/_s
Merge pull request #778 from emiluzelac/patch-41
Link to developer resources for further reading.
This commit is contained in:
commit
d02cc4fa70
|
@ -38,7 +38,7 @@ function _s_setup() {
|
||||||
/*
|
/*
|
||||||
* Enable support for Post Thumbnails on posts and pages.
|
* Enable support for Post Thumbnails on posts and pages.
|
||||||
*
|
*
|
||||||
* @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
|
* @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/
|
||||||
*/
|
*/
|
||||||
add_theme_support( 'post-thumbnails' );
|
add_theme_support( 'post-thumbnails' );
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ function _s_setup() {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Enable support for Post Formats.
|
* Enable support for Post Formats.
|
||||||
* See http://codex.wordpress.org/Post_Formats
|
* See https://developer.wordpress.org/themes/functionality/post-formats/
|
||||||
*/
|
*/
|
||||||
add_theme_support( 'post-formats', array(
|
add_theme_support( 'post-formats', array(
|
||||||
'aside',
|
'aside',
|
||||||
|
@ -95,7 +95,7 @@ add_action( 'after_setup_theme', '_s_content_width', 0 );
|
||||||
/**
|
/**
|
||||||
* Register widget area.
|
* Register widget area.
|
||||||
*
|
*
|
||||||
* @link http://codex.wordpress.org/Function_Reference/register_sidebar
|
* @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar
|
||||||
*/
|
*/
|
||||||
function _s_widgets_init() {
|
function _s_widgets_init() {
|
||||||
register_sidebar( array(
|
register_sidebar( array(
|
||||||
|
|
Reference in New Issue