-
AuthorPosts
-
September 21, 2018 at 8:04 pm #1012892
Back in the day this website was created with a typo in the backend. See screenshot https://we.tl/t-HrczaS0wej
The typo is found in the child theme’s header file where you name the child theme and mention where the parent theme and stylesheets live.
But if I edit that typo it breaks the live website.
How can I fix this typo without breaking the live site?
September 21, 2018 at 8:10 pm #1012893Hey WebDevDept,
Because I’m sure everything else on that site is referring to the typo. You would have to change that typo sitewide and anything that may be referencing it. You would likely have to do a find and replace in the database. Also, the screenshot above did not work for me.
Best regards,
Jordan ShannonSeptember 21, 2018 at 8:22 pm #1012899Hey Jordan.
We have already searched all pages and databases for the typo and it only remains in the child theme’s stylesheet.
And the screenshot is a link to download by wetransfer.com since your forum still doesn’t allow for us to upload images.
But I’ve uploaded it here as well: https://ibb.co/eCeTuz
Thank you.
September 23, 2018 at 5:12 pm #1013358Hi,
You need to edit the style.css of your child theme. Try to switch to the parent theme. Then change the name of the child theme in the style.css and then switch back to the child theme.
You can also use a script like http://interconnectit.com/124/search-and-replace-for-wordpress-databases/ to replace all occurrences of the typo with the correct child theme name.
Best regards,
PeterSeptember 24, 2018 at 7:00 pm #1013754Hey Dude.
I did as you instructed and when re-activating the child theme, the website is again broken.
In fact all info from the backend of the Theme Options have been removed.
Still looking for a resolution here but I appreciate your feedback so far.
Thank you.
September 24, 2018 at 7:41 pm #1013779Hi,
Is it possible for you to provide admin info so we can log in and look into this issue further?
Best regards,
Jordan ShannonSeptember 24, 2018 at 7:44 pm #1013784Hi!
Yes the settings are stored for each child theme separately and Enfold uses the theme name to access the settings. Thus you loose the settings if the theme name changes. Please try to export the theme settings first (Enfold > Theme Options > Import/Export – Export Theme Settings File). Then switch to the parent theme, rename the child theme, switch back to the child theme and go to Enfold > Theme Options > Import/Export – Import Theme Settings File to import the settings again.
Cheers!
PeterSeptember 24, 2018 at 8:22 pm #1013815Dude, thank you! That did work. I appreciate this tip! :D
September 24, 2018 at 8:29 pm #1013816Hi!
Great, glad we found a solution :)Cheers!
Peter -
AuthorPosts
- The topic ‘How to edit name without breaking site?’ is closed to new replies.