Hiding breadcrumbs the right way

This topic contains 4 replies, has 3 voices, and was last updated by  Josh Elledge 8 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #40678

    ultraman
    Free User
    Post count: 15

    Hi. Many questions today!!

    What would be the right way to hide breadcrumbs from every pages and keeping those changes with future upgrades?

    Thanks

    #40695

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    there is a hook for that. Please add this to your active theme functions.php file:

    
    
    add_filter('geodir_breadcrumb','geodir_breadcrumb_remove',10,2);
    function geodir_breadcrumb_remove($breadcrumb, $separator){
    return '';
    }

    Thanks

    #40702

    ultraman
    Free User
    Post count: 15

    Excellent! Works great.

    Thanks

    #40705

    Paolo
    Site Admin
    Post count: 31206

    You are welcome 🙂

    #41386

    Josh Elledge
    Expired Member
    Post count: 11

    Thanks for this answer! Exactly what I needed.

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket