Fix Codesniffer errors.
This commit is contained in:
parent
b215eebe1e
commit
175524922c
17 changed files with 59 additions and 32 deletions
|
@ -14,7 +14,6 @@ if ( ! function_exists( '_s_setup' ) ) :
|
|||
* as indicating support for post thumbnails.
|
||||
*/
|
||||
function _s_setup() {
|
||||
|
||||
/*
|
||||
* Make theme available for translation.
|
||||
* Translations can be filed in the /languages/ directory.
|
||||
|
@ -39,7 +38,7 @@ function _s_setup() {
|
|||
*
|
||||
* @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
|
||||
*/
|
||||
//add_theme_support( 'post-thumbnails' );
|
||||
add_theme_support( 'post-thumbnails' );
|
||||
|
||||
// This theme uses wp_nav_menu() in one location.
|
||||
register_nav_menus( array(
|
||||
|
@ -51,7 +50,11 @@ function _s_setup() {
|
|||
* to output valid HTML5.
|
||||
*/
|
||||
add_theme_support( 'html5', array(
|
||||
'search-form', 'comment-form', 'comment-list', 'gallery', 'caption',
|
||||
'search-form',
|
||||
'comment-form',
|
||||
'comment-list',
|
||||
'gallery',
|
||||
'caption',
|
||||
) );
|
||||
|
||||
/*
|
||||
|
@ -59,7 +62,11 @@ function _s_setup() {
|
|||
* See http://codex.wordpress.org/Post_Formats
|
||||
*/
|
||||
add_theme_support( 'post-formats', array(
|
||||
'aside', 'image', 'video', 'quote', 'link',
|
||||
'aside',
|
||||
'image',
|
||||
'video',
|
||||
'quote',
|
||||
'link',
|
||||
) );
|
||||
|
||||
// Set up the WordPress core custom background feature.
|
||||
|
@ -120,7 +127,7 @@ add_action( 'wp_enqueue_scripts', '_s_scripts' );
|
|||
/**
|
||||
* Implement the Custom Header feature.
|
||||
*/
|
||||
//require get_template_directory() . '/inc/custom-header.php';
|
||||
require get_template_directory() . '/inc/custom-header.php';
|
||||
|
||||
/**
|
||||
* Custom template tags for this theme.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue