WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Breadcrumbs sub category not displayed (1 post)

  1. Remco Tolsma
    Member
    Posted 2 years ago #

    WordPress version: 3.4.1
    WordPress SEO version: 1.2.5

    I did this:

    WordPress post: "Test bericht"

    Selected categories:

    • ✓ Category

      • ✓ Sub category

        • ✓ Sub sub category

    /wp-admin/admin.php?page=wpseo_internal-links

    Taxonomie om in de kruimelpad te laten zien voor:
    Berichten: Categorie

    I expected the plugin to do this:

    Home » News » Category » Sub category » Sub sub category » Test bericht

    Instead it did this:

    Home » News » Category » Test bericht

    If we uncheck the parent categories "Category" and "Sub category" it works as expected, but we don't want to uncheck the parent categories. In some cases however it is working as expected, depending on the order of the terms.

    I think the $terms[0]->parent != 0 check on the following line is not sufficient enough:

    http://plugins.trac.wordpress.org/browser/wordpress-seo/tags/1.2.5/frontend/class-breadcrumbs.php#L97

    Is this somehting that could be fixed in an next release?

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

    [ Please do not bump, that's not permitted here. ]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic