Hey there!
I’d like to learn how to change the link from “root.com” to “root.com/home/” that the logo linked to as well as the “home” text in the bread crumbs which is the .trial-begin class :)
Thanks in advance if anyone has insight on this!!
Hey guys just giving this a little bump In case anyone can help with this type of thing :)
Figured out how to change logo link from another thread…(custom functions plugin):
add_filter(‘avf_logo_link’,’av_change_logo_link’);
function av_change_logo_link($link)
{
$link = “http://kriesi.at”;
return $link;
}
Still working on the breadcrumbs home link.
Hey guys, not sure if I’m no longer able to receive support or if this is just a tough issue that’s hard to solve on changing the Home link in the breadcrumbs, giving it another bump.
Hi,
Bumping has the opposite effect on our forum, so please try avoid doing that. Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.
Regards,
Rikard
Wordpress 5.1.1
NOT WORK in breadcrumbs , how can i change in breadcrumbs “Home” link
add_filter(‘avf_logo_link’, ‘avf_change_logo_link’);
function avf_change_logo_link($link) {
$link = ‘https://newaddress’;
return $link;
}
thank
Hi,
Try adding this code to the end of your functions.php file in Appearance > Editor:
function change_breadcrumb_home(){
?>
<script>
(function($){
$(window).load(function(){
$(".breadcrumb-trail").find("a.trail-begin").attr("href", "https://www.google.com");
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'change_breadcrumb_home');
Please replace the link in the code with yours.
Best regards,
Mike