Title: Losing customizer settings
Last modified: December 1, 2020

---

# Losing customizer settings

 *  Resolved [Corey Salzano](https://wordpress.org/support/users/salzano/)
 * (@salzano)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/losing-customizer-settings/)
 * I lost customizer settings during a recent Blocksy update. I am using a simple
   child theme. I restored the settings manually, but that sucked. Today, I copied
   a site into my computer to do some local development on the child theme.
 * After moving the site, my local copy looks like what happened after the recent
   update that wiped out all my customizer settings. What’s going on here?
 * I’m using wp-cli to find and replace paths and URLs during the site migration.
   My full script is available at [https://github.com/csalzano/exfil/blob/master/exfil.sh](https://github.com/csalzano/exfil/blob/master/exfil.sh),
   but I promise it works great for sites not using Blocksy.

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

 *  Thread Starter [Corey Salzano](https://wordpress.org/support/users/salzano/)
 * (@salzano)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/losing-customizer-settings/#post-13732125)
 * I used this excellent plugin to export and import Customizer settings from production
   down to the development copy: [https://wordpress.org/plugins/customizer-export-import/](https://wordpress.org/plugins/customizer-export-import/)
 * This shouldn’t be necessary, though.
 *  Thread Starter [Corey Salzano](https://wordpress.org/support/users/salzano/)
 * (@salzano)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/losing-customizer-settings/#post-13732289)
 * It’s repeatable–I’ve gotta restore Customizer settings each time I copy the database
   down.
 *  Theme Author [Creative Themes](https://wordpress.org/support/users/creativethemeshq/)
 * (@creativethemeshq)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/losing-customizer-settings/#post-13734973)
 * Hi [@salzano](https://wordpress.org/support/users/salzano/),
 * Sorry for your experience.
 * I just tried to use your `exfil` script to clone down a staging site of ours 
   which also uses a child theme (took me a while to find out what [`production_root_path` means](https://github.com/csalzano/exfil/issues/11);)).
   But everything got copied without any issues — the values from the customizer
   got copied correctly.
 * A question for you: since you are working locally, the child theme is mostly 
   a symlink into `wp-content/theme`, that also might be a git repository. Can you
   confirm that in the local and production sites the folder name of the child theme
   is the same? If it’s not the same — a simple DB export/import won’t get the values
   transported correctly.
 * Customizer values are prefixed with theme’s folder name in the DB, so if they
   don’t match you won’t see the actual values (even though they’re technically 
   there).
 * Also, can you please activate the parent theme both locally and on the production
   site and do a sync? Will the customizer get synced correctly in this case? If
   it will, then the above theory will be confirmed.
 * Please keep me posted — I’ll help with what I can. I really doubt this is a theme
   issue since we don’t change anything in the underlying storage mechanism for 
   customizer options.
 * Best regards,
    Andrei.
 *  Thread Starter [Corey Salzano](https://wordpress.org/support/users/salzano/)
 * (@salzano)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/losing-customizer-settings/#post-13735549)
 * Hi. Here’s the child theme: [https://www.dropbox.com/s/74y3ks20gp7t5li/blocksy-baby.zip?dl=0](https://www.dropbox.com/s/74y3ks20gp7t5li/blocksy-baby.zip?dl=0)
 * The folder name is the same for both local and production copies of the theme.
   Perhaps enqueuing `style.min.css` instead of the version with the header comment
   in functions.php is causing the problem. I can test it the other way.
 *  Thread Starter [Corey Salzano](https://wordpress.org/support/users/salzano/)
 * (@salzano)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/losing-customizer-settings/#post-13735570)
 * Sorry, that test still lost the page layout setting of “boxed” and deleted all
   my footer content and settings like previous migrations.
 * Thanks for your attention on this issue & the feedback on exfil. I’ll improve
   the doc.
 *  Thread Starter [Corey Salzano](https://wordpress.org/support/users/salzano/)
 * (@salzano)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/losing-customizer-settings/#post-13737014)
 * > Your message has been sent successfully.
   > Your ticket number is 2868.
 *  [birdbrainsolutions](https://wordpress.org/support/users/birdbrainsolutions/)
 * (@birdbrainsolutions)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/losing-customizer-settings/#post-13804318)
 * [@salzano](https://wordpress.org/support/users/salzano/), thank you for the link

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

The topic ‘Losing customizer settings’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/blocksy/2.1.41/screenshot.jpg)
 * Blocksy
 * [Support Threads](https://wordpress.org/support/theme/blocksy/)
 * [Active Topics](https://wordpress.org/support/theme/blocksy/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/blocksy/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/blocksy/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [birdbrainsolutions](https://wordpress.org/support/users/birdbrainsolutions/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/losing-customizer-settings/#post-13804318)
 * Status: resolved