BuddyDev

Search

[Resolved] Breadcrumbs

Tagged: 

  • Participant
    Level: Enlightened
    Posts: 40
    Jessica Martin on #22189

    Where can I enable/disable breadcrumbs?

  • Keymaster
    (BuddyDev Team)
    Posts: 24712
    Brajesh Singh on #22205

    Hi Jessica,
    If you activate Breadcrumb NavXT or Breadcrum Trail plugin , the breadcrumbs will be visible automatically.

    To disable, please put this in your child theme’s functions.php

    
    add_filter( 'cb_breadcrumb_enabled', '__return_false');
    
    

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 40
    Jessica Martin on #22216

    Thanks! I thought it was in the theme. Since I am using Yoast SEO I just used this instead of a plugin:

    
    
    //IGMR Add Yoast Breadcrumbs Before Header
    
    function igmr_yoast_breadcrumbs() {
    if ( function_exists('yoast_breadcrumb') ) {
      yoast_breadcrumb( '<div id="breadcrumbs" class="inner clearfix">','</div>' );
    }
    }
    add_action( 'cb_before_container', 'igmr_yoast_breadcrumbs');
    
    

    Is there a benefit to using one of the plugins you suggested?

  • Keymaster
    (BuddyDev Team)
    Posts: 24712
    Brajesh Singh on #22228

    Hi Jessica,
    Thank you for sharing.

    No, There is no special benefit. I personally try to avoid monolithic plugins with too many features and keep single feature focused plugins. That helps when I need to change a plugin for some reason.

    There is no difference usability wise for WordPress.

    PS:- If you are using Breadcrumb trails, we enhance it by adding support for BuddyPress.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: resolved