Title: Doesn&#039;t save background
Last modified: August 22, 2016

---

# Doesn't save background

 *  [Jurjen](https://wordpress.org/support/users/jurjen/)
 * (@jurjen)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/doesnt-save-background/)
 * The meta box does appear when working on a post or page.
    However, when updating
   the post/page with the background settings, it doesn’t save the information.
 * When it says “Updated succesfully”, the Custom Background Extended metabox is
   empty as if nothing was set.
 * [https://wordpress.org/plugins/custom-background-extended/](https://wordpress.org/plugins/custom-background-extended/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Justin Tadlock](https://wordpress.org/support/users/greenshady/)
 * (@greenshady)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/doesnt-save-background/#post-5729449)
 * I cannot reproduce this issue on a clean install of the latest version of WordPress.
   My recommendation would be to deactivate all other plugins and switch to one 
   of the default themes to test.
 *  Thread Starter [Jurjen](https://wordpress.org/support/users/jurjen/)
 * (@jurjen)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/doesnt-save-background/#post-5729704)
 * I don’t think the theme is the culprit. The installation is fresh any way and
   I don’t have any other plugins.
 * As mentioned, the metabox is loaded and I noticed in your code it checks that
   there is no conflict in the variables you used. So if there were to be a conflict,
   it wouldn’t load the meta box.
 * I just replaced the php files of your plugin one by one, nothing is fixing the
   issue.
 * It is simply not writing to the SQL database.
 *  Thread Starter [Jurjen](https://wordpress.org/support/users/jurjen/)
 * (@jurjen)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/doesnt-save-background/#post-5729705)
 * Here’s the theme support code in Functions.php:
 *     ```
       add_theme_support( 'custom-background', array(
       		'default-color'			=> 'CECECE',
       		'default-image'			=> get_template_directory_uri() . '/images/background.jpg',
       		'default-repeat' 		=> 'no-repeat',
       		'default-position-x' 	=> 'center',
       		'default-position-y' 	=> 'center',
       		'default-attachment' 	=> 'fixed',
       		'wp-head-callback' 		=> '_custom_background_cb', )
       	);
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Doesn't save background’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-background-extended_a594cb.
   svg)
 * [Custom Background Extended](https://wordpress.org/plugins/custom-background-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-background-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-background-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-background-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-background-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-background-extended/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jurjen](https://wordpress.org/support/users/jurjen/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/doesnt-save-background/#post-5729705)
 * Status: not resolved