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

    (@mtekk)

    You’ll want to hook into the bcn_breadcrumb_url filter, and return NULL rather than the URL for your placeholders. Checkout this post on an example using bcn_breadcrumb_url for a slightly different purpose but it will give you an idea of how to use it: https://mtekk.us/archives/guides/link-to-a-page-rather-than-the-category-archive-in-a-breadcrumb/

    Thread Starter Vince_M

    (@vince_m)

    Thanks John for the response. However I am really new to WP and having trouble understanding this.

    Plugin Author John Havlik

    (@mtekk)

    Here is a link to a new article that is more tuned to what you need to do: https://mtekk.us/archives/guides/remove-the-link-in-a-breadcrumb/

    Thread Starter Vince_M

    (@vince_m)

    Perfect this sounds exactly like what I need. I do have one question. As I said I am really new to WP and am not sure what you mean by

    “site specific plugin”

    Thread Starter Vince_M

    (@vince_m)

    Hi there,

    I was able to make a site specific plugin and placed the code. What I want is for the top level menu item to be not linkable. For instance if we had a menu item of Who we are with child items of people, places and things. I don’t want the user if in the people page to be able to click on the Who we are in the breadcrumb.

    I don’t want them to be able to go to another page.

    Thread Starter Vince_M

    (@vince_m)

    I put in the code you specified but it won’t work for more than 1 page. I need it to work for than one menu item.

    Menu is:
    Who we are, sports, athletes, Services, Sciences and What’s Happening.

    These all have dropdowns and in the breadcrumbs I don’t want a link to the menu parent.

    Thread Starter Vince_M

    (@vince_m)

    this works perfectly now. Thank you so much.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Remove Parent Category’ is closed to new replies.