Tagged: logo
Change the link of the logo.
My enfold is a subdomain and I want the logo to direct me to the main site.
How can I change the link behind the logo?
Tks
you can do that via filter in your child-theme functions.php:
add_filter('avf_logo_link','av_change_logo_link');
function av_change_logo_link($link){
$link = "https://kriesi.at";
return $link;
}
_____________________
by the way: there are a few filters to manipulate the logo:
function avf_change_logo_title($title) {
$title = "The new Title is here";
return $title;
}
add_filter('avf_logo_title', 'avf_change_logo_title');
function avf_change_logo_alt($alt) {
$alt = "New Alternate Text Here";
return $alt;
}
add_filter('avf_logo_alt', 'avf_change_logo_alt');
function avia_new_logo_tag(){
$output = "div";
return $output;
}
add_filter('avf_logo_headline','avia_new_logo_tag');
see: https://kriesi.at/documentation/enfold/logo/#customization
Thank u very much!! :D
Hey!
Glad @guenni007 could help! Let us know if you have any other questions and enjoy the rest of your day :)
@guenni007 thanks for your help as always :)
Regards,
Yigit