Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15710

    Where can I change the code that makes the logo link return you to the home page? I basically just want to have the logo in Coalition just be a stagnant image with no link.

    #88721

    Open up coalitionframeworkphpfunction-set-avia-frontend.php and search for following code:

    if($logo = avia_get_option('logo'))
    {
    $logo = "<img src=".$logo." alt='' />";
    $logo = "<h1 class='logo'><a href='".home_url('/')."'>".$logo."</a></h1>";
    }
    else
    {
    $logo = get_bloginfo('name');
    if($use_image) $logo = "<img src=".$use_image." alt='' title='$logo'/>";
    $logo = "<h1 class='logo bg-logo'><a href='".home_url('/')."'>".$logo."</a></h1>";
    }

    Replace it with:

    if($logo = avia_get_option('logo'))
    {
    $logo = "<img src=".$logo." alt='' />";
    $logo = "<h1 class='logo'>".$logo."</h1>";
    }
    else
    {
    $logo = get_bloginfo('name');
    if($use_image) $logo = "<img src=".$use_image." alt='' title='$logo'/>";
    $logo = "<h1 class='logo bg-logo'>".$logo."</h1>";
    }

    to remove the link.

    #88722

    Great…thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Logo Link’ is closed to new replies.