-
I first searched the knowledge base very well, tried a lot, but then realized that what I was looking for was somehow not there. It’s about cpt and breadcrumbs.
My problem, and I think it’s a small one, is as follows: I have a cpt, let’s call it “cars” for example and an associated taxonomy called “car-categories” with excample content like “Volvo”, “BMW” and so on. I have also set up the primary taxonomy under title & and meta settings and actually most of it works, exactly how I want it:
1.) my single post breadcrumb looks like expected:
a) permalink: my-url.com/cpt-slug/custom taxonomy category name NOT SLUG/post title/
b) example data permalink: my-url.com/cars/volvo/xc40-recharge/
c) breadcrumb: Home >> Cars >> Volvo >> XC40 Recharge2.) my main archive page breadcrumb also looks as expected:
a) permalink: my-url.com/cpt-slug/
b) example data permalink: my-url.com/cars/
c) breadcrumb: Home >> Cars3.) problem is my category archive breadcrumb. This one looks like this:
c) breadcrumb: Home >> Car Categories >> Volvo (Car Categories is without link – it’s the name of my taxonomy)
It should look like: Home >> Cars >> Volvo
a) permalink OK: my-url.com/cpt-slug/custom taxonomy category name NOT SLUG/
b) example data OK permalink: my-url.com/cars/volvo/I use a little plugin for my cpt car permalink setup, but this usage has no effect on the breadcrumbs as I tried it out and disabled the plugin. The breadcrumb looks the same without the plugin.
I hope you understand my issue. I think it’s just a small piece of code snippet at all. Can you help me out?
The ticket ‘CPT breadcrumb small issue with custom taxonomy’ is closed to new replies.