Title: make menu parent not selectable
Last modified: August 26, 2022

---

# make menu parent not selectable

 *  [Vince_M](https://wordpress.org/support/users/vince_m/)
 * (@vince_m)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/make-menu-parent-not-selectable/)
 * I would like to use Breadcrumb navXT but I am unable to get it to work properly.
   I have menu items that are custom links so they are not selectable. However in
   the breadcrumbs you can navigate to them, I don’t want a user to be able to navigate
   to them. How would I go about doing this? I need to get this resolved as soon
   as possible.

Viewing 1 replies (of 1 total)

 *  Plugin Author [John Havlik](https://wordpress.org/support/users/mtekk/)
 * (@mtekk)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/make-menu-parent-not-selectable/#post-15972475)
 * If you want to keep the resource in the breadcrumb trail, but just not have it
   linked, you can use the [`bcn_breadcrumb_linked`](https://mtekk.us/code/breadcrumb-navxt/breadcrumb-navxt-doc/2/#bcn_breadcrumb_linked)
   filter. Using the passed in parameters to determine if the breadcrumb is for 
   a resource you wish to not link, and returning false if you wish for the breadcrumb
   to be unlinked. The following article provides an example of how to do this: 
   [https://mtekk.us/archives/guides/remove-the-link-in-a-breadcrumb/](https://mtekk.us/archives/guides/remove-the-link-in-a-breadcrumb/)
 * If you want to remove the resource from the breadcrumb trail, you will want to
   use the `bcn_after_fill` action, iterating over the passed in bcn_breadcrumb_trail
   object’s breadcrumbs array searching for the breadcrumb you want to remove, and
   removing it from the breadcrumbs array.

Viewing 1 replies (of 1 total)

The topic ‘make menu parent not selectable’ is closed to new replies.

 * ![](https://ps.w.org/breadcrumb-navxt/assets/icon.svg?rev=1927103)
 * [Breadcrumb NavXT](https://wordpress.org/plugins/breadcrumb-navxt/)
 * [Support Threads](https://wordpress.org/support/plugin/breadcrumb-navxt/)
 * [Active Topics](https://wordpress.org/support/plugin/breadcrumb-navxt/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/breadcrumb-navxt/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/breadcrumb-navxt/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [John Havlik](https://wordpress.org/support/users/mtekk/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/make-menu-parent-not-selectable/#post-15972475)
 * Status: not resolved