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

    #1242401

    Hey 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,
    Nikko

    #1242431

    Hi Nikko

    Thanks

    Details below

    #1242433

    BTW 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&#8221; rel=”stylesheet”>

    </head>

    • This reply was modified 4 years, 2 months ago by domchocolate.
    #1243213

    Hi 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,
    Nikko

    #1243311

    Hi 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).

    #1243540

    Hi 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,
    Nikko

    #1243953

    Hi 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

    #1243965

    Hi 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,
    Nikko

    #1243966

    Excellent – thanks Nikko!

    #1243977

    Hi 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,
    Nikko

    #1244004

    Hi Nikko

    That’s all good. Thanks so much.

    Dominic

    #1244118

    Hi Dominic,

    You’re welcome :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

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