Fix PHP, CSS AND JS coding standards
This commit is contained in:
parent
2351bef6ca
commit
f94fc1e59b
42 changed files with 357 additions and 213 deletions
|
@ -17,14 +17,20 @@
|
|||
* @uses _s_header_style()
|
||||
*/
|
||||
function _s_custom_header_setup() {
|
||||
add_theme_support( 'custom-header', apply_filters( '_s_custom_header_args', array(
|
||||
'default-image' => '',
|
||||
'default-text-color' => '000000',
|
||||
'width' => 1000,
|
||||
'height' => 250,
|
||||
'flex-height' => true,
|
||||
'wp-head-callback' => '_s_header_style',
|
||||
) ) );
|
||||
add_theme_support(
|
||||
'custom-header',
|
||||
apply_filters(
|
||||
'_s_custom_header_args',
|
||||
array(
|
||||
'default-image' => '',
|
||||
'default-text-color' => '000000',
|
||||
'width' => 1000,
|
||||
'height' => 250,
|
||||
'flex-height' => true,
|
||||
'wp-head-callback' => '_s_header_style',
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
add_action( 'after_setup_theme', '_s_custom_header_setup' );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue