Custom Post Type Hierarchies and Breadcrumbs
-
Hi, I have WP 3.5 installation with the Genesis framework and WP Types and WP Views installed (to manage CPT as my coding skills are quite basic). I also have the YOAST SEO plugin installed. ALl on a linux vps.
Now, here is what I want to do.
I have 3 custom post types:
– Cities
– Districts
– AttractionsI would like the breadcrumb navigation to display something like:
HOME > Cities > London (Overview of the city)
HOME > Cities > London > District1 (one of the districts)
HOME > Cities > London > Big Ben (one of the attractions)I have tried Breadcrumb NavXT and various other plugins (i.e. CPT-onomies: Using Custom Post Types as Taxonomies), but I believe my core problem is that different CPT cannot be children or parent to each other, is that correct?
I can make a CPT hierarchical, but that just refers it to another post within the same CPT, not other CPTs.
At this point in time, my head is in pain and I can’t seem to see light at the end of the tunnel.
I am not very experienced with custom functions in the functions.php, but if there is an easy way to do this, I can call PHP code with the hooks in the Genesis framework quite easily, so that shouldn’t be a problem.
Anyway, if you want to see for yourself, the site is: https://www.xhotels.net
Thanks for your thoughts, if I get to a solution, I’ll make sure to post it here as I’ve seen loads of forum posts without one.
Cheers!
- The topic ‘Custom Post Type Hierarchies and Breadcrumbs’ is closed to new replies.