WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Breadcrumbs and hierarchical custom post types (1 post)

  1. titush
    Member
    Posted 1 year ago #

    Hi there,

    I have a tough one for you guys here. Let me explain.
    I have 3 custom post types

    1.) City
    2.) Attractions
    3.) Districts

    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.

    Thanks!

    http://wordpress.org/extend/plugins/wordpress-seo/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic