-
AuthorPosts
-
August 25, 2017 at 12:31 am #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.
August 25, 2017 at 8:09 am #843780Hey 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,
YigitAugust 25, 2017 at 9:01 pm #844163Okay, 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
August 25, 2017 at 9:05 pm #844165Also, 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?
August 28, 2017 at 1:33 pm #844793Hi,
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,
YigitAugust 28, 2017 at 10:18 pm #845061Thanks 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
August 29, 2017 at 4:36 am #845155Hi,
You can learn more about this here: https://codex.wordpress.org/Child_Themes
Best regards,
John TorvikAugust 29, 2017 at 5:11 am #845181Awesome thanks John! Where can I find the wp-content/Themes folder?
August 29, 2017 at 9:02 am #845238Hi,
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,
SarahAugust 29, 2017 at 7:25 pm #845427Hello,
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
August 29, 2017 at 7:26 pm #845428Hi,
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,
YigitAugust 29, 2017 at 8:09 pm #845439Yes! 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.
August 31, 2017 at 8:32 pm #846503Hello,
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,
XanderSeptember 3, 2017 at 5:38 pm #847413Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.