Ready to get started?Download WordPress


Breadcrumb NavXT
[resolved] two parent categories and breadcrumb sorting (3 posts)

  1. Pru
    Posted 3 years ago #

    If I have two parent categories with posts belonging to a child of each of those two categories, is there any way to make the breadcrumbs stay consistent?

    For instance, if I have a post in the parent/child category of "City/Atlanta" and also "Cuisine/Chinese" then when I am browsing the City/Atlanta archives the NavXT breadcrumb displays like so:

    Blog > City > Atlanta > Joe's Chinese Food

    But if I have a second post also in "City/Atlanta" but in "Cuisine/African" then that post shows like this even when I am browsing the City/Atlanta archives:

    Blog > Cuisine > African > Joe's African Food

    In my mind, I would logically expect the breadcrumb to know how to generate the trail based on the categories I am browsing (city vs cuisine) but then again, maybe this is not so simple after all?


  2. John Havlik
    Plugin Author

    Posted 3 years ago #

    Breadcrumb NavXT displays generates locational breadcrumb trails, so the trail for a particular post will be the same, regardless of how you get there.

    Currently, Breadcrumb NavXT finds the first term hierarchy for the taxonomy specified for the post type and uses that for the trail (this is for hierarchical taxonomies, flat taxonomies work a little different). This should explain the behavior you are seeing.

  3. Pru
    Posted 3 years ago #

    Thank you for the explanation.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic