Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #197957

    Hey guys.

    Iv’e been wondering why the ENFOLD logo has been so permanently embeded into the theme, that it takes custom PHP coding to remove it? Like, who would ever use it? :) Plus, when adding the custom code, you have to remember to change it with every update.

    I’m writing this because I’m helping a friend – who doesn’t have a logo – set up his site. In basicaly all other WP themes Iv’e been working with through the years, the name of the site will appear as default when there is no user uploaded logo – not the developers logo. This because WordPress often is/was used like a blog – not needing a logo.

    For a lot of newbies who doens’t exactly know that they need a graphic logo or simply haven’t created one yet – it’s a big deal for them to figure out WHY your logo appears, and why they can’t remove it.

    So my wish for Christmas is: Please remove the permanent Enfold logo from the theme, and replace it with the standard site name OR come up with a solution that makes it easier to remove it (like you’ve everyhing else so awesomely easy).

    Thank you so freakin’ much :)

    Jesper

    #197985

    Hi Synne!

    I already added a filter to the logo output and starting with Enfold 2.5 (next theme update) you can remove the logo with following code

    
    add_filter('avf_logo_final_output', 'avia_remove_default_logo', 10, 6);
    function avia_remove_default_logo($logo, $use_image, $headline_type, $sub, $alt, $link){
    return '';
    }
    

    You can place this code into your child theme functions.php file and you don’t need to hack the parent theme files any more.

    Best regards,
    Peter

    #197994

    Hi Peter.

    That’s awesome, except that not everyone needs a child theme. You guys do such a good job on making everything awesome, that in my case (and my friends case), there is no need for editing the parent.

    That said, as I understand it, you need to make the child theme BEFORE you create your site – thus it will reset everything:
    kriesi.at/support/topic/enfold-child-theme-2/

    It’s a pretty big deal for removing something that, in my opinion, shouldn’t be there in the first place – or as a minimum should be something to deactivite in the backend (Like: Show default ENFOLD Logo or Site name) :)

    Jesper =)

    #198075

    Hey!

    Probably will not happen as Kriesi likes to have the default theme on your first install have a solid look. Since the theme doesn’t have a text only title option there would just be a bit blank space for where the logo should be.

    You would be surprised at the number of users who just install the theme, see that it doesn’t look like the demo and immediately complain :)

    Also for child themes, we recently added a import parent theme options button that appears when you install a child theme. So you can switch at any time.

    Cheers!
    Devin

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Remove default Enfold logo from header, permanently’ is closed to new replies.