• Resolved guswhite

    (@guswhite)


    WordPress version: 3.4.1
    WordPress SEO version: 1.2.5
    Thematic 1.0.2

    I just updated to WP SEO 1.2.5 and now my breadcrumbs appear in two places. I am using the code
    <?php if ( function_exists('yoast_breadcrumb') ) {
    yoast_breadcrumb('<p id="breadcrumbs">','</p>');
    } ?>

    to insert the code in my child theme which has been working fine.

    Now it appears the breadcrumbs are also inserted into a div with the id of “wpseobreadcrumb”.

    Should I be using different code to manually insert the breadcrumbs since the update?

    https://www.ads-software.com/extend/plugins/wordpress-seo/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor joostdevalk

    (@joostdevalk)

    Hmm no, I’ve made it auto insert breadcrumbs in this update, but it’s rather annoying ?? I’ll just disable that feature in the next update, for now, delete this line:

    add_action( 'thematic_abovecontent', array( $this, 'breadcrumb_output' ), 10, 1 );

    in class-breadcrumbs.php

    Thread Starter guswhite

    (@guswhite)

    Thanks for the quick response and the info Joost, just what I needed to know! Fantastic plug in, thanks for all your hard work.

    Plugin Contributor joostdevalk

    (@joostdevalk)

    You can try the development version if you want, that should work “normally”. You can download the development version from here, or you can download it directly here.

    Was having the same problem, so thanks for the quick support but also plus one for not auto-inserting the breadcrumbs by default in future versions.

    I’m using Thesis Theme for the site in question and I wanted them inserted on a different hook (not ‘thesis_hook_before_headline’). I inserted the breadcrumb function in a different place and I was getting two versions of breadcrumbs on every page.

    For now I commented out the add_action( ‘thesis_hook_before_headline’, array( $this, ‘breadcrumb_output’ ), 10, 1 ); in class-breadcrumb.php, and everything is working again.

    That said, it would be much appreciated it if the next plugin version has a setting to disable auto-insertion so I don’t have to keep modifying core plugin files every update.

    Thanks for your great work Joost!

    I was having the same problem. Thanks for the fix. This was also throwing multiple W3C errors on search result pages because of the multiple ID use.

    I am using Thesis as well, and the above fix by ckrauskopf worked great.

    I also agree. Disable auto-insertion would be great on next release as well as a more documented way to control the output for styling and applying classes, IDs, etc.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] Duplicate breadcrumbs appear with manual insertion’ is closed to new replies.