WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
duplicate breadcrumbs after upgrade (5 posts)

  1. vitamineg
    Member
    Posted 2 years ago #

    WordPress version: 3.4.1
    WordPress SEO version: 1.2.5

    I did this: upgraded WordPress SEO to the latest version

    I expected the plugin to do this: change nothing in the displaying of breadcrumbs

    Instead it did this: displayed two instances of breadcrumbs instead of one.

    I am using thesis and before the upgrade, the site was displaying only one instance of breadcrumbs based on the function i put in the custom_functions file as follows:

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

    Help! thanks.. the site is http://news.buydancepoles.com

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

  2. philreardon
    Member
    Posted 2 years ago #

    I'm having this same issue, only in thematic. I engineered a temporary fix, by commenting out the appropriate line in /wordpress-seo/frontend/class-breadcrumbs.php

    I'm pretty sure I had more control over how these breadcrumbs appeared in the older version... what happened?

  3. vitamineg
    Member
    Posted 2 years ago #

    I engineered a temporary fix, by commenting out the appropriate line in /wordpress-seo/frontend/class-breadcrumbs.php

    Which line did you comment out Phil?

  4. vitamineg
    Member
    Posted 2 years ago #

    I commented out line 16 in file class-crumbs.php and duplication no longer exists. Again, i am a thesis theme user.

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

  5. avgjoe
    Member
    Posted 2 years ago #

    @vitamineg / @philreardon - Thanks! This was driving absolutely bat crap nuts trying to figure this out.

    Sigh.. Yoast and Thesis not getting along again. I really REALLY wish Thesis would allow a better integration of Yoast's plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.