Title: add custom background function for multisite theme
Last modified: August 19, 2016

---

# add custom background function for multisite theme

 *  Resolved [dguyen](https://wordpress.org/support/users/dguyen/)
 * (@dguyen)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/)
 * Scouring the internet with no avail. When implementing the `add_custom_background`
   to my functions.php file -the image uploader does not work. Color picker works
   but not the image upload.
 * I am testing on two local installs. First on a custom theme with multisite enabled
   and one on default install using TwentyTen. The background image does not store…
   what is up?
 * Thanks in advance to this wonderful community!

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/page/2/?output_format=md)

 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/#post-1685319)
 * So… on a default install with the default theme it won’t let you upload a custom
   background?
 * What error do you get?
 *  Thread Starter [dguyen](https://wordpress.org/support/users/dguyen/)
 * (@dguyen)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/#post-1685324)
 * That’s the thing, I don’t get any errors… it says it’s saved, but doesn’t show
   in the preview or on show up on the actual site. I also don’t see the file in
   uploads, either! I assume the background image saves to that directory, no?
 * I must have something wrong! I just can’t figure it out.
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/#post-1685381)
 * What’s the permissions on the uploads folder?
 * Because it definitely works in multisite.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/#post-1685454)
 * What uploads folder? You’re looking in blogs.dir/#/files
 *  Thread Starter [dguyen](https://wordpress.org/support/users/dguyen/)
 * (@dguyen)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/#post-1685589)
 * Here’s the quirky issue. As I was scanning `wp-admin/custom-background.php` I
   noticed there are suppose to be headings for:
    - Positions
    - Repeat
    - Attachment
 * But I don’t see those additional options in my admin area under Background? What
   does anyone else think? As for the blogs.dir files and uploads folder, I have
   no problem uploading images (via Media uploader)…
 * Any suggestions to my `add_custom_background` saving image upload problem?
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/#post-1685598)
 * I think we need more info. the default install works fine in multisite, the custom
   background works fine in multisite. It has to – they use it on wordpress.com.
 * It;s just not working on *your* site. and none of us can check it because we 
   have no idea where that is. 🙂
 *  Thread Starter [dguyen](https://wordpress.org/support/users/dguyen/)
 * (@dguyen)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/#post-1685599)
 * I understand. I know for sure it’s a problem with my own install. I found that
   to be once both installations (multisite and default) exhibited the same issue.
 * I want to verify… under “Background” are there options for Position, Repeat, 
   and Attachment?
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/#post-1685601)
 * those options show up *after* you upload the file. they pop right down on ya.
 * I just went and did it myself. Did you try uploading a graphic?
 *  Thread Starter [dguyen](https://wordpress.org/support/users/dguyen/)
 * (@dguyen)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/#post-1685602)
 * I tried to upload two different pictures and a graphic (PNG). One picture that
   was the same as one uploaded using the Media Uploader and a completely separate
   JPG. Both pictures work fine when using the custom Header option. It’s just the
   damn custom Background option.
 * I’ve re-installed WP (automatically), I think I might just have to uninstall 
   fresh reinstall…
 * Andrea_r thanks for your persistence. Don’t worry about giving this much more
   attention. It’s gotta be something I’ve messed with. If you come up with anything“
   A HA” like, then please post, otherwise… I’ll keep plugging away and re-post 
   when I find the solution.
 *  [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/#post-1685670)
 * Having this same problem on my site. Says file is uploaded, gives the position/
   repeat/attachment options — but no preview or change to background. Color picker
   works fine.
 * About to try the dreaded plugin flush…
 * …with no effect. For once, it does not seem to be a plugin.
 * I’m on 3.1 – alpha using my custom (i.e. hacked-up) Genesis Child theme.
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/#post-1685671)
 * So… you added this feature to your own child theme (or a child theme that didn’t
   have it)?
 *  [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/#post-1685672)
 * Hmm… I’m getting similar “seems to work but doesn’t display the image” behavior
   with ordinary uploading of images to a post.
 * Caption / CSS box shows, but there’s no image.
    [http://readingcirclebooks.com/blog/2007/11/01/storytelling-and-fear/](http://readingcirclebooks.com/blog/2007/11/01/storytelling-and-fear/)
   [http://readingcirclebooks.com/aleph/2010/09/29/testing-broken-uploading/](http://readingcirclebooks.com/aleph/2010/09/29/testing-broken-uploading/)
 * (Yes, this is a Network install.)
 * The image (a woodcut of a whirlpool) has been uploaded to the appropriate folder,
   but isn’t displayed. In fact, when I check this month’s folder, I find multiple
   copies of the background images that I attempted to use earlier. (I added custom
   background support to the functions.php file of my Genesis child theme.)
 * Is this happening for you as well, dguyen?
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/#post-1685673)
 * That’s a different issue then. 🙂
 *  [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/#post-1685674)
 * Guess so. 🙁
 * Know anyone / anythread else with uploader problems?
 *  [CircleReader](https://wordpress.org/support/users/circlereader/)
 * (@circlereader)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/#post-1685675)
 * Checking out this thread: [http://wordpress.org/support/topic/images-are-not-uploading-into-correct-file-1?replies=20#post-1714858](http://wordpress.org/support/topic/images-are-not-uploading-into-correct-file-1?replies=20#post-1714858)

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/page/2/?output_format=md)

The topic ‘add custom background function for multisite theme’ is closed to new 
replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 23 replies
 * 5 participants
 * Last reply from: [qnub](https://wordpress.org/support/users/qnub/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/add-custom-background-function-for-multisite-theme/page/2/#post-1685739)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
