I have a tough one for you guys here. Let me explain.
I have 3 custom post types
These are all CPT linked by tags and a custom taxonomy (cities) that unites them (n to 1 relationship).
Now, in the breadcrumb, I would like to display the following:
HOME >> CITY (city article)
HOME >> CITY >> ATTRACTION1 (info on attraction one)
HOME >> CITY >> ATTRACTION2 (info on attraction two)
HOME >> CITY >> DISTRICT1 (info on district one)
HOME >> CITY >> DISTRICT2 (info on district two)
My problem is that the CPT are not really hierarchical to each other, despite having defined them as parents and children (I use WP Views and WP Types to manage CPT).
My question is, is there an easy way to “fool” the user into a feeling that these CPY are hierarchical through the breadcrumb navigation?
It’s the only place I need this and my site is not very complex..
Thanks for your thoughts. I’ve tried with consultants of WP Types but they couldn’t figure it out, so I was wondering whether it can be done in a different approach: instead of changing how the CPT are linked, adjust the breadcrumb accordingly.
- The topic ‘Breadcrumbs and hierarchical custom post types’ is closed to new replies.