• The theme my site is using makes use of a number of taxonomies which has unfortunately made this a bit messy. With your plugin I can almost get my breadcrumbs perfect, but not quite. Currently I can either use:

    Home -> Custom Taxonomy Category -> Custon Post Type

    or

    Home -> Custom Taxonomy Store -> Custom Post type.

    I need to have the following path:

    Home -> Custom Taxonomy Category -> Custom Taxonomy Store -> Custom Post type.

    To give you an idea of the ‘normal’ structure, the full path normally looks like:

    Home ? Coupons ? Category ? Store ? Coupon Code ? Custom Post Type (the coupon)

    I need it to display as Home ? Category ? Store ? Custom Post Type (the coupon).

    Any help would be greatly appreciated.

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

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

    (@mtekk)

    Unfortunately, out-of-the-box this isn’t going to work. I can think of a few ways to make it work, but they may not be the cleanest. The biggest issue is WordPress does not provide a mechanism to switch from one taxonomy to another in the hierarchy for a post (of any type).

    Your best bet is to write an extension plugin that hooks into the bcn_after_fill action and injects the extra breadcrumbs into the passed in bcn_breadcrumb_trail object’s breadcrumbs member array of bcn_breadcrumb objects.

Viewing 1 replies (of 1 total)
  • The topic ‘Add two taxonomies to hierarchy?’ is closed to new replies.