• Hello,
    I’m using a couple of pages that are used just as “container” for other pages, so in the backend it is easier to find and manage their children pages.

    The problem is that in the breadcrumbs they’re added in the list as a normal linked page.

    Is there a hook to use to remove or unlink (just keep the name but not the anchor) that pages from the breadcrumb?

    https://ww.wp.xz.cn/plugins/breadcrumb-navxt/

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

    (@mtekk)

    Look at the bcn_after_fill action. It passes in the trail array (array of bcn_breadcrumb objects) by reference and runs after the trail has been fully populated. With this you can then loop over the array, find the breadcrumb you want to modify and set it’s URL to ''.

Viewing 1 replies (of 1 total)

The topic ‘Unlink or remove specific pages’ is closed to new replies.