Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #642859

    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!!

    • This topic was modified 7 years, 9 months ago by AD.
    #643047

    Hey guys just giving this a little bump In case anyone can help with this type of thing :)

    • This reply was modified 7 years, 9 months ago by AD.
    #643054

    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.

    #643079

    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.

    #643307

    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

    #1092677

    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

    #1093179

    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

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.