If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

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

    Is there a way to attach an absolute url (http://www.nameofthesite.com ) to the site logo instead of retrieving the site url that’s entered in WordPress?


    I guess it’s this file that needs to be modified:


    and the function is: avia_logo

    How can it be done?


    in framework/php/function-set-avia-frontend.php

    * return the logo of the theme. if a logo was uploaded and set at the backend options panel display it
    * otherwise display the logo file linked in the css file for the .bg-logo class
    * @return string the logo + url
    function avia_logo($use_image = "")
    if($logo = avia_get_option('logo'))
    $logo = "<img src=".$logo." alt='' />";
    $logo = "<h1 class='logo'><a href='http://www.nameofthesite.com/'>".$logo."</a></h1>";
    $logo = get_bloginfo('name');
    if($use_image) $logo = "<img src=".$use_image." alt='' title='$logo'/>";
    $logo = "<h1 class='logo bg-logo'><a href='http://www.nameofthesite.com/'>".$logo."</a></h1>";

    return $logo;

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

The topic ‘Site logo with an absolute url instead of site url in WordPress’ is closed to new replies.