• Resolved gkhillboro

    (@gkhillboro)


    Hi,

    We have created a custom post type
    https://pwds.nhs.uk/programme/foundation-pharmacist-training-year/

    And have tried a couple of different Breadcrumb plugins (Yoast, Dynamic Content).

    None of these seem to generate clickable links for the breadcrumb heirarchy

    However they work absolutely fine for regular pages and posts, e.g.
    https://pwds.nhs.uk/associates/networks/

    Is there something we need to do to register the CPT to use/create breadcrumb URLs? We’ve approached the devs of the breadcrumb plugins, they have indicated it’s related to the custom post type as their plugin works fine on other content. Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    With all due respect to the breadcrumb creators, they should be able to answer why their plugins aren’t generating the links to the individual crumbs way more than I can. There’s no special setting for post type or taxonomy registration that magically makes them work with breadcrumb setups or plugins. It’s all in how the breadcrumb providers code out the content and information on their end. They would also know what attributes need to be set, or at least should know, so that they can say “make sure you set this feature for your post type”.

    With that thought in mind, from the looks of it, I tried to go to https://pwds.nhs.uk/programme/ which I assume would be the archive page, if you’ve set “has archive” to true. It’s instead redirecting me to https://pwds.nhs.uk/programmes/ which is a page.

    So, my primary guess is that you don’t have “has archive” set to true for this post type, which I could easily see being a reason not to link to that specific crumb.

Viewing 1 replies (of 1 total)

The topic ‘Breadcrumbs for posts created with CPT UI’ is closed to new replies.