WordPress.org

Forums

Custom Content Type Manager
Yoast SEO Breadcrumbs w/ CCTM (2 posts)

  1. foochuck
    Member
    Posted 2 years ago #

    I'm working to enable breadcrumbs on my site. I'd like to use SEO by Yoast to integrate breadcrumbs into my site: http://wordpress.org/extend/plugins/wordpress-seo/

    I've added their breadcrumb code to my single-celebrities.php template (that was originally generated by CCTM). Here's the code from Yoast:

    <?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } ?>

    So when I navigate to one of my celebrities pages, I get this breadcrumb:

    Home ▸ {Celebrity Name}

    It's missing the main "Celebrity" page in the breadcrumb links - here's what I was expecting:

    Home ▸ Celebrities ▸ {Celebrity Name}

    Is there any way to generate this breadcrumb functionality w/ CCTM?

    http://wordpress.org/extend/plugins/custom-content-type-manager/

  2. fireproofsocks
    Member
    Plugin Author

    Posted 2 years ago #

    Hard to say exactly what's going on, but it seems like maybe there's a conflict with the SEO plugin? Breadcrumbs are kinda a pain because the internet by design is stateless, so usually a breadcrumb isn't so much of "where you've been" -- usually it's "where are you in the hierarchy". WordPress has some warts here with its implementations of hierarchies and custom post-types, and I wonder if maybe the breadcrumb plugin there is simply reflecting those warts of if it's legitimately missing out on something.

    Plugins don't solve problems... developers do ;) My guess is that a custom developed solution here would fare much better than an off-the-shelf plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Content Type Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic