• Resolved aaa

    (@studiolost)


    hi,
    i have a custom post type (prodotto) that has 2 custom taxonomies (collection, hardware) associated. eache “prodotto” cpt is assigned to one of each taxonomy.
    the “collection” taxonomy is flat (has only direct items), while the “hardware” one has children (i.e. : first level item “cabinet hw” has two children, “cabinet pulls/cabinet knobs”)
    i can navigate to the products both beginning from “collections” and from “hardware” (“products”, in the menu bar), but i’ll always finally land to the same, unique items, because of they are multiclassified.

    i have two problems i couldn’t resolve through myself or documentation:

    see: http://dev.studiolost.it/gbt-bonomi/products/

    1) is it possibile to show the hierarchy of nested subcategories? i mean: showing the exact, complete logic path to the product through the nested taxonomy sub-items, like “products > cabinet hw > cabinet knobs > single product”.

    2) is it possibile to force different BC depending on the navigation? i mean: i explore from “collections” and go to “collections > bauhaus > single product” and i have THIS breadcrumb, while if i explore from “products > cabinet hw > cabinet knobs > single product” i’ll get THIS other breadcrumb. i repeat the “single product” in this example is a unique post, has the same ID.

    thx,
    stefano castelli

    https://wordpress.org/plugins/breadcrumb-navxt/

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

    (@mtekk)

    For #1, the best way to achieve this is to have the single product be an explicit member of only the deepest (most specific) hardware term. Since the hardware taxonomy is hierarchical, the product will be an implicit member of the parent terms as well. So for in your example, the single product should only be an explicit member of “cabinet knobs”, assuming “cabinet knobs” is a child term of “cabinet hw”.

    As for #2, this is something that has come up in the past, and is something I’m looking into (see https://github.com/mtekk/Breadcrumb-NavXT/issues/33). Just note that Breadcrumb NavXT is primarily concerned with generating locational breadcrumbs. That is, Breadcrumb NavXT’s breadcrumb trails strive to conform to the idea that there is only one true location for a resource (all other ways to get to it are aliases).

Viewing 1 replies (of 1 total)
  • The topic ‘nested taxonomies and custom paths’ is closed to new replies.