-
AuthorPosts
-
August 30, 2020 at 6:20 pm #1241991
Hi
A client of mine uses text for the logo on their Enfold installation (https://www.ollemans.com/). I wanted to update their WP and the latest Enfold Theme but when I do I lose the Ollemans logo as text and it’s replaced by the Enfold logo.
When I visit the Theme Options there is no logo image selected in options; adding an image replaces the Enfold logo with the replacement image but deleting it so there is no image brings back Enfold logo. See https://i.imgur.com/ambkI70.png
Any ideas?
September 1, 2020 at 7:37 am #1242401Hey domchocolate,
I’m not really sure why that’s happening, does the theme have tweaks? maybe that could be a factor.
If you can give us temporary admin access to take a quick look maybe we can see other stuff that could cause the issue.
But atm, nothing really comes to mind that causes that kind of issue during a theme update.Best regards,
NikkoSeptember 1, 2020 at 9:04 am #1242431Hi Nikko
Thanks
Details below
September 1, 2020 at 9:06 am #1242433BTW I have a child theme – there is a header.php in there. I can’t see the issue but maybe it needs to be updated to work with new Enfold update. Here’s the only change that I can see:
wp_head();
?>
<link href=”https://fonts.googleapis.com/css?family=Lexend+Zetta&display=swap” rel=”stylesheet”></head>
- This reply was modified 4 years, 3 months ago by domchocolate.
September 4, 2020 at 5:18 am #1243213Hi domchocolate,
Thanks for giving us admin access.
I have checked your child theme and I think there are some minor differences in header.php but it should cause any issue.
Plugins are okay as well, though I suggest updating to PHP 7.3 for the latest version.
Can you try to do create a staging site? basically it’s a clone/duplicate of your live site and placed on your subdomain for testing purposes.
Here’s a tutorial on how to easily do it: https://themeisle.com/blog/wordpress-staging-site/
We’ll try to update it to the latest version, we’ll just need wp-admin credentials and FTP access for the staging site.Best regards,
NikkoSeptember 4, 2020 at 1:26 pm #1243311Hi Nikko
Thanks for the update. As luck should have it I have the site in a dev environment. I’ll send you the details below in PC.
I have also checked with the host and both the dev site and the live site are running PHP 7.3.
The dev site is the same as live site except the content will differ as the client obviously hasn’t been populating that one. Otherwise the same and same host environment (same VPS).
September 5, 2020 at 9:09 am #1243540Hi domchocolate,
Thanks for giving us admin access.
I tried to update it via this plugin: Update Theme and Plugins from Zip File but I am getting a 413 Request Entity Too Large error
I also tried via WP File Manager plugin which is also not succeeding.
Can you try to update it for us? then if the issue appears we’ll try to fix it then give you the steps.Best regards,
NikkoSeptember 7, 2020 at 12:29 pm #1243953Hi Nikko
I have added the updated theme and logo has changed the same way as it did on the live site. It’s ready for you to have a look when ready.
Best
Dominic
September 7, 2020 at 1:00 pm #1243965Hi Dominic,
Thanks again for updating it.
Now I see that a default logo is being used, to use the Site Title text as how it used to be on your site, I have added this code in the functions.php of your staging site’s child theme:function enfold_logo_final_output($logo, $use_image, $headline_type, $sub, $alt, $link, $title) { $logo = get_bloginfo('name'); $logo = "<{$headline_type} class='logo bg-logo'><a href='{$link}'>{$logo}{$sub}</a></{$headline_type}>"; return $logo; } add_filter( 'avf_logo_final_output', 'enfold_logo_final_output', 15, 7 );
On the live site, you can just ad this on functions.php of the child theme (before or after update). :)
Best regards,
NikkoSeptember 7, 2020 at 1:02 pm #1243966Excellent – thanks Nikko!
September 7, 2020 at 1:45 pm #1243977Hi domchocolate,
You’re welcome :)
Just let us know how it goes on your live site then we’ll close this thread once it’s all good.Best regards,
NikkoSeptember 7, 2020 at 3:08 pm #1244004Hi Nikko
That’s all good. Thanks so much.
Dominic
September 8, 2020 at 2:57 am #1244118Hi Dominic,
You’re welcome :)
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.