Last active
June 2, 2022 06:05
-
-
Save frontend-coder/bf159cd8c8f2dc7f95062db4b28590b9 to your computer and use it in GitHub Desktop.
28.Кастомайзер. Довільний фон сайту #wordpress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$args = array( | |
'default-color' => '0000ff', | |
'default-image' => get_template_directory_uri() . '/images/wapuu.jpg', | |
); | |
add_theme_support( 'custom-background', $args ); | |
add_theme_support( 'custom-background', array( | |
'default-color' => '0000ff', | |
'default-image' => get_template_directory_uri() . '/images/wapuu.jpg', | |
) ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body <?php body_class(); ?>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment