• I’m using BreadCrumb NavXT Plugin for the breadcrumbs.

    I have a website with a menu with this sections:

    Company (parent)

    -> Presentation (child)

    -> Team (child)

    -> Section A (child)

    -> Section B (child)

    -> Section C (child)

    I don’t have content for the Company section, so I’ve created a menu link item that points to #.
    Breadcrumbs on presentation page became:
    Home > Presentation

    But I want breadcrumbs to reflect the structure of the menu:
    Home > Company > Presentation
    So, I’ve created a dummy Company page with no contents.

    But now company gets a link to a no content page in the breadcrumbs.

    Is there a way to remove the link for the parent page?

    Is there any alternative best practice for this type of problem?

    Thank you

    https://www.ads-software.com/plugins/breadcrumb-navxt/

Viewing 1 replies (of 1 total)
  • Plugin Author John Havlik

    (@mtekk)

    Is there a way to remove the link? Yes, but you will have to write an extension plugin to do it. The easiest way to do it is to use the bcn_breadcrumb_url filter. Then have it return false if the $url (parameter 1) or the $ID (parameter 3) matches the one you do not want to have a link for. See the Breadcrumb NavXT Documentation for more information on the bcn_breadcrumb_url filter

Viewing 1 replies (of 1 total)
  • The topic ‘Remove Link From BreadCrumb on certain parent pages’ is closed to new replies.