Assumptions: Page D is an instance of some post type and B and C are terms of the same taxonomy where C is a child of B and “Page D” is an explicit member of terms C and B.
Do you want to simultaneously display both paths, or select one based on how the user arrived at “Page D”?
If you want to simultaneously display both paths, that is an ‘attribute’ based breadcrumb trail and requires Breadcrumb NavXT Attributes.
If you want to pick the term hierarchy based on the path followed by the user, then that is a path breadcrumb trial. This functionality is implemented in Breadcrumb NavXT Paths for selecting term hierarchies.
-
This reply was modified 9 years, 4 months ago by
John Havlik.
Thank you so-so much for your kind reply.
Actually I am using Page, not post. And I want Breadcrumb Path as per “Page Visited” not related to URL or Parent-child relation.
I want to show only one path, based on how the user arrived(browsed) at “Page D”
You are looking for path breadcrumb trails for hierarchical posts, which isn’t something that is easy to accomplish with Breadcrumb NavXT at the moment. Breadcrumb NavXT was not designed to generate path based breadcrumb trails. Dealing with quasi path breadcrumb trails for taxonomy terms is easier due to the internal structure of the plugin.