WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The following code lets me set a default background image. Is it possible to set multiple custom backgrounds?

add_theme_support( 'custom-background', array(
    'default-image' => get_stylesheet_directory_uri() . '/images/image1.png',   
) );
share|improve this question
Do you mean an option to select from multiple images or do you want to use multiple images together as background? – toscho Sep 7 '12 at 7:12
@toscho I meant i can define some of the available background images, and the user can select one. – jay Sep 7 '12 at 9:48

There is no direct way of doing that as far as I can see. But I got hold of this plugin which allows you to create Image Sets and set random background images -> Background Manager

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.