Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #369392

    Hi,
    Loving the enfold theme so far, I’ve got a newbie question… How do I change the link of the top left logo on the header to point to something else other than the “root or home”?

    Thanks!

    Fox

    #369664

    Hi foxvendetta!

    Please see here, https://kriesi.at/support/topic/header-logo-url-change/.

    Regards,
    Elliott

    #369883

    Hi Elliot,

    I followed that method and changed the code from:

    $logo = "<$headline_type class='logo bg-logo'><a href='".$link."'>".$logo."$sub</a></$headline_type>";

    to

    $logo = "<$headline_type class='logo bg-logo'><a href='http://mysite.com/alternatelander'>".$logo."$sub</a></$headline_type>";

    but for some reason the changes are not reflecting on the theme itself, any idea where it went wrong?

    Thanks!

    Fox

    • This reply was modified 9 years, 11 months ago by foxvendetta.
    #370133

    Hi!

    Hmm, I think that should be working. Are you using a caching plugin?

    Send us a WordPress login and we’ll take a look.

    Cheers!
    Elliott

    #370496
    This reply has been marked as private.
    #370751

    Hi!

    I added this to the bottom of your functions.php file.

    add_filter( 'avf_logo_link', 'enfold_customization_change_logo_link' );
    function enfold_customization_change_logo_link( $link ) {
    	return 'http://www.resourcegoldmine.com/homepage';
    }

    It should be working now.

    Cheers!
    Elliott

    #370956
    This reply has been marked as private.
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Create Custom Link for Top Left Header Logo’ is closed to new replies.