Yoast SEO
[Plugin: WordPress SEO by Yoast] WP SEO's Breadcrumbs vs. WP e-Commerce Breadcrumbs (1 post)

  1. Alexander Gieg
    Posted 4 years ago #

    I'm developing a web store with WPEC (WP e-Commerce and a theme that supports for WPSEO's breadcrumbs. WPEC has its own breadcrumb support, but it doesn't integrate well with the theme and doesn't appear anywhere else, only in products pages. So, I replaced calls to WPEC's own breadcrumbs (wpsc_output_breadcrumbs) in its template files with calls to WPSEO's ones (yoast_breadcrumb). But, while this works quite nicely, there's a very small problem in that WPSEO's breadcrumbs don't include WPEC's "Products" page.

    Here's how it looks like with the built-in wpsc_output_breadcrumbs():

    Blog-name > Products > Product-category > Product-sub-category > Product-name

    And here's how it looks with yoast_breadcrumb():

    Home-name-as-set-in-WPSEO / Product-category / Product-sub-category / Product-name

    With the odd result that, if I open the bare "Products" page (it's an actual page), it shows a single slash followed by nothing:

    Home-name-as-set-in-WPSEO /

    So, is there a good/elegant way yoast_breadcrumb() could be edited so that it'd detect whether WPEC is running and insert WPEC's "Products" page at the appropriate place, so that it'd end up looking like this?

    Home-name-as-set-in-WPSEO / Products / Product-category / Product-sub-category / Product-name



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 4 years ago by Alexander Gieg
  • This topic is not resolved
  • WordPress version: 3.3.1