Normally Psycho
Normally Psycho

Reputation: 3

Adding a background options for a WordPress theme

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

Answers (1)

Brijesh Dhanani
Brijesh Dhanani

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

Related Questions