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',   
) );
  • Do you mean an option to select from multiple images or do you want to use multiple images together as background?
    – fuxia
    Sep 7, 2012 at 7:12
  • @toscho I meant i can define some of the available background images, and the user can select one.
    – jay
    Sep 7, 2012 at 9:48

1 Answer 1


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

  • This plugin has been closed and is no longer available for download.
    – RafaSashi
    Nov 14, 2019 at 11:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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