Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #843747

    Hello,

    I recently saw 2 header errors when I logged in to the website. It’s been a few weeks since I’ve logged into it and last time I checked there weren’t any errors. The header errors are in the private box. I was wondering how I can fix this problem. Also, the lines that says there is an error exceeds the amount of code that I actually have in the file.

    Thanks.

    #843780

    Hey XanderHall!

    Can you please try re-updating the theme via FTP and overwriting all files – http://kriesi.at/documentation/enfold/updating-your-theme-files/?

    Regards,
    Yigit

    #844163

    Okay, I haven’t done that yet but I tried to update the theme through the api key and it told me this error.

    Warning: Error while sending QUERY packet. PID=450724 in /home/madbatterusa/public_html/wp-includes/wp-db.php on line 1879

    #844165

    Also, it says that I have the most updated version of 4.1.2. And it doesn’t tell me that I have the header errors anymore, but the update did delete the title we put on the right side of the logo. So should I put in the same code to put the title next to the logo like last time?

    #844793

    Hi,

    Yes, please use the same code you used before. If you would like to make the changes update proof, please consider using a child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/ and apply the changes on it :)

    Best regards,
    Yigit

    #845061

    Thanks Yigit,
    I followed along with the video you sent me to create the child theme and I was wondering how I create the style and php files. Do I just use the notepad++ to create the files? Also, I’ve backed up the website using updraft. Once I create the child theme and activate it, what files do I import to replace the default enfold child theme?

    Best,

    Xander Hall

    #845155

    Hi,

    You can learn more about this here: https://codex.wordpress.org/Child_Themes

    Best regards,
    John Torvik

    #845181

    Awesome thanks John! Where can I find the wp-content/Themes folder?

    #845238

    Hi,

    Your wp-content/themes folder is what contains your enfold theme. It should be inside an htdocs folder in your web host or computer.

    Best regards,
    Sarah

    #845427

    Hello,

    When creating the child theme with the plugin Child Theme Configurator I got this error:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 2048 bytes) in /home/madbatterusa/public_html/wp-includes/class-wp-hook.php on line 300

    #845428

    Hi,

    Please try to increase the allocated memory to 256M: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
    You can contact your service provider and they can do it for you.

    Best regards,
    Yigit

    #845439

    Yes! I actually did that already and fixed it (: My problem now is that when I preview my site it shows the default parent theme of enfold rather than what I had customized.

    #846503

    Hello,
    So I have successfully created a child theme! I was wondering when putting in the code for the title beside the logo, would I have to put it in the style.css and functions.php files in the editor?

    Best,
    Xander

    #847413

    Hi,
    Now that your child theme is active, any custom code that you would put in the functions.php file can be placed in your child theme’s functions.php and it will not overwrite when you update. You’ll see it when you go to Appearance > Editor > functions.php, your child theme will be selected in the “Select theme to edit” drop down. When you have css to add to your site, you can add it in Appearance > Editor > Stylesheet (style.css) or in the General Styling > Quick CSS field, which can be Exported in the Theme Settings File. But most people use the style.css for convenience.
    If you had changes that you put in the Advanced Layout Editor, or code block elements, you would continue to do the same in your child theme.

    Best regards,
    Mike

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.