Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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?

    #1012893

    Hey 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 Shannon

    #1012899

    Hey 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.

    #1013358

    Hi,

    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,
    Peter

    #1013754

    Hey 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.

    #1013779

    Hi,

    Is it possible for you to provide admin info so we can log in and look into this issue further?

    Best regards,
    Jordan Shannon

    #1013784

    Hi!

    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!
    Peter

    #1013815

    Dude, thank you! That did work. I appreciate this tip! :D

    #1013816

    Hi!
    Great, glad we found a solution :)

    Cheers!
    Peter

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘How to edit name without breaking site?’ is closed to new replies.