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

    (@mtekk)

    Right now there isn’t such thing as a taxonomy archive page (which is a little goofy), thus Breadcrumb NavXT doesn’t generate a breadcrumb for the taxonomy name. If you want to manually add it in, you will need to hook into the bcn_after_fill action.

    As it’s parameters, one will be the bcn_breadcrumb_trail object. Within this object is a member variable called trail (in 5.0 this is renamed to breadcrumbs, though trail still exists as a link to it). bcn_breadcrumb_trail->trail is an array of bcn_breadcrumb objects. You will want to inject a new bcn_breadcrumb object into the second to last slot in the breadcrumb trail.

    Thread Starter jorghe

    (@jorghe)

    The manual way is the one I was looking for, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding a "prefix" to taxonomy’ is closed to new replies.