Reputation: 3
I am new to WordPress and just started designing a theme. I want to know what to do to add an option to change the background in my theme options in WordPress, so that the user can change it by themselves.
Upvotes: 0
Views: 52
Reputation: 886
You have to add background support in themes for the background Customizations. open your functions.php file and add the following code inside it.
add_theme_support( 'custom-background' );
Upvotes: 1