• Good morning–

    I’m encountering a challenge in setting up Breadcrumbs as I had hoped. Here’s my situation.

    We have reorganized my site content into different sections, and have inserted a landing page at the “top” of the different sections to help guide users to the appropriate content in that bucket.

    When users click on a link on that landing page, and go to the tertiary page, I would like them to see a breadcrumb like this: Home > Landing Page > Tertiary page.

    However, two issues:
    * We have not changed the parent/child relationships of the pages because of the URL changes that would involved (and there were too many to do a rewrite).
    * The landing page is actually a custom post type, so can’t apply it as a parent to any of the pages.

    I purchased Paths, but am a bit at a loss for how to use it. Is there a way to set this up either with paths, or perhaps using a custom taxonomy? Any advice appreciated. Thank you very much!

Viewing 1 replies (of 1 total)
  • Plugin Author John Havlik

    (@mtekk)

    Ideally, you’d set the Tertiary page as a child of the Landing Page. If this involves crossing post types, as it sounds like it does, it shouldn’t actually affect the permalinks that WordPress generates. This will require the least ammount of custom code. The only ‘difficult’ thing is doing the mapping if you have a ton of posts/pages, and in that case, only change the top most level where there should not be as many items (or consider scripting the establishment of the parent<->child relationship).

    Otherwise, you could assign a custom taxonomy term that unique for each landing page, assign that term to the “child” posts and then use Paths to assign the appropriate landing page as the replacement for the term. This assumes that your “Tertiary” page post type uses the taxonomy as its hierarchy. Now, that may be a problem is the “Tertiary” post has children (Breadcrumb NavXT currently does not support hierarchy juggling/fallback, though it is being considered for the next release see https://github.com/mtekk/Breadcrumb-NavXT/issues/202).

    • This reply was modified 5 years, 10 months ago by John Havlik.
Viewing 1 replies (of 1 total)
  • The topic ‘Pages + CPT’ is closed to new replies.