• Hello –

    I wish to exclude my collective ‘Blog’ page from my breadcrumbs because of my site structure.

    The site uses categories for navigation and listing entries. One of which being ‘Blog’ (which must exclude the other category).

    This leaves me with two breadcrumbs of ‘Blog’ when in a blog page…

    This can be demonstrated here

    Thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Appreciate if this can be implemented….i’m facing the same issue

    look for the same thing…

    This is a bug. The function does not check if a posts page has been configured in the WordPress “Reading Settings”.

    Replace /wp-content/plugins/breadcrumbs/yoast-breadcrumbs.php, line 213 from this:

    $bloglink = $homelink.' '.$opt['sep'].' <a href="'.get_permalink(get_option('page_for_posts')).'">'.$opt['blog'].'</a>';

    to this:

    $bloglink = $homelink;
                    if ( $page_for_posts = get_option('page_for_posts') )
                        $bloglink .= ' '.$opt['sep'].' <a href="'.get_permalink($page_for_posts).'">'.$opt['blog'].'</a>';

    I’d like to add a patch file but it doesn’t seem to be possible to add attachments here…

    Perfect ! Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Exclude 'Blog' page from breadcrumbs’ is closed to new replies.