[Plugin: Yoast Breadcrumbs] How to delete separator when not showing HOME in the breadcrumb? (2 posts)

  1. Paul
    Posted 6 years ago #

    I don't want "Home" to show in the breadcrumb so I deleted the text for it in the Settings panel, but there's just one problem... now the breadcrumb starts with the separator. Is there any way to delete it? Thanks!

  2. surajitphp
    Posted 6 years ago #

    Replace with this:
    foreach ( $links as $link ) {

    if (!$link['cur']) {
    $output .= ''.$link['title'].'';
    $output .= ' '.$opt['sep'].' ';
    } else {
    $output .= bold_or_not($link['title']);

Topic Closed

This topic has been closed to new replies.

About this Topic