You need to look at the code that generates the breadcrumbs, it’s probably not sophisticated enough to deal with custom permalink structures.
]]>I’m using out of the box Genesis breadcrumbs – so I might try the Yoast SEO ones and failing that I guess I’ll have to learn how to edit myself.
many thanks
]]>I’ve read lots of the Yoast articles (particular on the new primary category) but I don’t really understand why it works the way it does.
I have custom post type events – the URL for an individual event is https://www.website.com.au/postname
I have a visual navigation on the front page that links to various archive pages of event types.
If someone clicks on community events, they get breadcrumb home/events/community-events and if they click through on one of the events they get breadcrumb home/events/community-events/postname – great user experience. But sometimes it doesn’t work. If the event has multiple categories say ‘community-event’ and ‘entertainment’ and entertainment is the primary category – once you click from the community events archive page the event will have the breadcrumb home/events/entertainment/postname So if the user wants to click back to the archive page to keep looking through the community events, they can’t – that to me is a bad user experience.
Am I doing something wrong – is it bad to have posts in multiple categories?
]]>That said, it’s conceivable to create a primary term concept with some custom coding. But there will be no ready made breadcrumb code that would recognize such a concept.
I understand what you’re looking for as a breadcrumb, but that’s not how most breadcrumb implementations work. Most breadcrumb trails actually represent a fixed hierarchical structure. You are looking for more of a navigation road map.
It may not be all that difficult to build a road map style breadcrumb trail. Tracking which pages a visitor visits is pretty easy. The details of clearly representing that in a trail might be tricky. Still, you may have trouble finding such an implementation. All the ones I’ve seen are of the fixed hierarchy type. But I haven’t seen everything, there could be something out there.
]]>