July 5, 2013 at 2:44 pm #49401
Wondering how I can add a link to breadcrumbs for a post type when on a taxonomy archive. Basically, lets say I have a post type of Sermons. And then a taxonomy that is series. Right now, when the breadcrumbs are built, the post type isn't added as a level.
Now: Home > Sermon Series
Would Like: Home > Sermons > Sermon Series
Any ideas how to make that happen with any great ease? I've dug a little, but I'm unsure of how this might work.
Loving the Genesis Life!July 5, 2013 at 3:01 pm #49409July 5, 2013 at 3:20 pm #49416
Ozzy, yup. The issue is very specific to CPTs and it's not one I'm really seeing any answers to. Outside of modifying the home link, then I can't find an answer. It's a little surprising that this isn't built in.
Loving the Genesis Life!July 5, 2013 at 3:21 pm #49417
i guess i'd need to see how you're registering your CPT's because i think i have them working the way you're wanting to on my site.
July 5, 2013 at 3:30 pm #49419
This is specific to a taxonomy archive. It works properly on a post in the post type, it's the taxonomy archive where its not showing the cpt in the url structure. Is the page you're linking to a taxonomy archive?
Loving the Genesis Life!July 5, 2013 at 3:40 pm #49420
Be aware that Genesis 2.0 specifically handles breadcrumbs for taxonomy archives, so any filter you do now may need tweaking.
Since taxonomies can be applied to multiple post types, it's not easy to correctly work out which of those post types you want as the "parent" crumb. As such, in G 2.0 it's treated like a standard archive (since that's what a taxonomy archive is), albeit with a different filterable label and different filterable output.
July 5, 2013 at 3:45 pm #49421July 5, 2013 at 4:06 pm #49423
We're playing the waiting game on Genesis 2.0 right, for WordPress 3.6? So we have no specific time table for that release?
Loving the Genesis Life!July 5, 2013 at 4:59 pm #49434July 5, 2013 at 6:52 pm #49450
Yes - 2.0beta2 is stable enough to release new sites on. There's a couple of small changes and fixes between beta 2 and what's currently committed, but not enough to stop you from going for it.
July 5, 2013 at 9:08 pm #49465
I'll take a peek at it. Always a little concerned as we're rolling this out as a client site, but I'll test it a bit. Thanks.
Loving the Genesis Life!
You must be logged in to reply to this topic.