-
AuthorPosts
-
December 30, 2015 at 10:30 am #558393
I am currently building a site that is using enfold. The development is on Windows. I back up the site and the database, and everything works fine when I do a restore except the theme settings. I have confirmed the whole file structure remains the same by doing a compare, and the db als upgrades correctly.
IS there something I am missing here. I have read that the theme settings are in wp_options and wp_postmeta, and I have confirmed they are being restored correctly.
If its stored in wp_options, what is the option_name that are used so I can check to make sure the restore is indeed working correctly.
December 31, 2015 at 11:48 pm #558779Hi!
The name of the field in
wp_optionsis the folder name of the current theme activated, so if you’re on a default installation it should beenfold, if you’re using a child theme however it would be the name of the child theme folder name.Cheers!
JosueJanuary 4, 2016 at 7:46 am #559040Thanks Josue,
The enfold theme is being restored correctly, how the settings are not. For example, header settings and front page settings etc. Custom CSS is also not being restored.
Its possible that its the script I run to upgrade all settings from dev to test environment are the problem, hence the reason I need to know the specifics on where settings are stored.
January 4, 2016 at 12:17 pm #559130Hey!
The exact field name is (in wp_options):
avia_options_enfoldenfoldshould be changed if your theme folder name is different. It should contain a long JSON-like value that has all the options set in Theme Options.Cheers!
JosueJanuary 4, 2016 at 12:31 pm #559140Thanks Josue,
Not sure why the restore doesn’t work, but that info is exactly what I need. Thanks for your help.
January 4, 2016 at 12:38 pm #559142You are welcome, glad to help :)
Regards,
JosueFebruary 21, 2016 at 4:04 am #586572Still no joy. I have checked the wp_options and compared between backed up and restored db, only difference is the the logo, but the restored site is not loading the theme settings.
Any other suggestions?
February 21, 2016 at 4:21 am #586573I think I worked it out. My script settings dont account for string size differences.
-
AuthorPosts
- The topic ‘Enfold theme settings not being backed up’ is closed to new replies.
