Hi,
How do we change the URL assigned to the site logo? In the case of http://act.hiphi.org (subdomain) we want the logo to link to the primary domain (http://hiphi.org).
Thanks,
Brian
Hi getmebrian!
Here is the function enfold is using
You an modify that, get the browser URL instead of is mobile and change the URL based on your needs.
Let us know if we can do anything else for you
Best regards,
Basilis
Hi,
I can’t get this to work. Deleting the “if mobile” line doesn’t work… replacing it with browser URL caused site to crash. Please advise what this code should look like.
Thank you,
Brian
You need a custom function to do it:
function avf_logo_link_custom()
{
return "http://hiphi.org";
}
add_filter('avf_logo_link', 'avf_logo_link_custom');
Hi!
Please add following code to Functions.php file in Appearance > Editor
add_filter('avf_logo_link','av_change_logo_link');
function av_change_logo_link($link)
{
$link = "http://kriesi.at";
return $link;
}
@jfumanya Thanks for your help :)
Best regards,
Yigit
Fantastic – thank you!
Hi,
You are welcome! :)
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)
Regards,
Yigit