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?
Site logo with an absolute url instead of site url in WordPress
3 posts from 2 voices-
Posted 1 year ago #
-
I guess it's this file that needs to be modified:
function-set-avia-frontend.php
and the function is: avia_logo
How can it be done?
Posted 1 year ago # -
in framework/php/function-set-avia-frontend.php
if(!function_exists('avia_logo')) { /** * 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>"; } else { $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; } }Posted 1 year ago #
Reply
You must log in to post.














