add_theme_support
$defaults = array(
'default-image' => '',
'default-preset' => 'default', // 'default', 'fill', 'fit', 'repeat', 'custom'
'default-position-x' => 'left', // 'left', 'center', 'right'
'default-position-y' => 'top', // 'top', 'center', 'bottom'
'default-size' => 'auto', // 'auto', 'contain', 'cover'
'default-repeat' => 'repeat', // 'repeat-x', 'repeat-y', 'repeat', 'no-repeat'
'default-attachment' => 'scroll', // 'scroll', 'fixed'
'default-color' => '',
'wp-head-callback' => '_custom_background_cb',
'admin-head-callback' => '',
'admin-preview-callback' => '',
);
add_theme_support( 'custom-background', $defaults );
Also in HTML:
- what is div in html
- vue if echo class
- bootstrap datepicker format dd-mm-yyyy
- how to add button in html
- button open link in new tab
- change font awesome icon size
- html for an image with a link
- input type radio
- floating whatsapp button html
- html multi checkbox list
- search functionality for html table
- restart remote computer cmd using ip address
- make text bold js
- vmware workstation ubuntu 18.04
- html list without bullets
- login with laravel
- remove line break html php
- guess the number game js
- </a>
- html highlight text
- handlebars teamplate script tag
- how to create a drop down list in html
- favicon html link
- number input html