• Resolved skylarkcob

    (@skylarkcob)


    Looks like the breadcrumb display function doesn’t use an input parameter for the separator.

    foreach ( $crumbs as $key => $crumb ) {
    	$link = ! empty( $crumb[1] ) && ( $remove_title || $size !== $key + 1 );
    	$link = $link ? '<a href="' . esc_url( $crumb[1] ) . '">' . esc_html( $crumb[0] ) . '</a>' :
    		'<span class="last">' . esc_html( $crumb[0] ) . '</span>';
    
    	$html .= $args['before'] . $link . $args['after'];
    
    	if ( $size !== $key + 1 ) {
    		$html .= '<span class="separator"> ' . wp_kses_post( $this->settings['separator'] ) . ' </span>';
    	}
    }

    In file wp-content\plugins\seo-by-rank-math\includes\frontend\class-breadcrumbs.php line 143.

    • This topic was modified 3 years, 4 months ago by skylarkcob.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom delimiter for breadcrumbs’ is closed to new replies.