Added a default background image.
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
+8
-1
@@ -4,7 +4,14 @@ if ( !defined( 'WPINC' ) ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function minimalistflex_add_supports() {
|
function minimalistflex_add_supports() {
|
||||||
add_theme_support( 'custom-background' );
|
add_theme_support( 'custom-background', Array(
|
||||||
|
'default-image' => get_template_directory_uri() . '/defaults/bg.png',
|
||||||
|
'default-position-x' => 'center',
|
||||||
|
'default-position-y' => 'center',
|
||||||
|
'default-size' => 'cover',
|
||||||
|
'default-repeat' => 'no-repeat',
|
||||||
|
'default-attachment' => 'fixed'
|
||||||
|
) );
|
||||||
add_theme_support( 'title-tag' );
|
add_theme_support( 'title-tag' );
|
||||||
add_theme_support( 'automatic-feed-links' );
|
add_theme_support( 'automatic-feed-links' );
|
||||||
add_theme_support( "align-wide" );
|
add_theme_support( "align-wide" );
|
||||||
|
|||||||
Reference in New Issue
Block a user