Added a default background image.
This commit is contained in:
parent
4bf0648f8f
commit
0fd6d867bd
BIN
defaults/bg.png
Normal file
BIN
defaults/bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
@ -4,7 +4,14 @@ if ( !defined( 'WPINC' ) ) {
|
||||
}
|
||||
|
||||
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( 'automatic-feed-links' );
|
||||
add_theme_support( "align-wide" );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user