How do I Breadcrumbs remove category but leave Questions breadcrumb ?
1 Answers
To resolve this issue, you can open the Template.php file and find the line 507.
Replace it with the following code:
if ( $term ) {
$output .= '<span class="dwqa-sep"> </span>';
if ( is_singular( 'dwqa-question' ) ) {
$output .= '<a href="'. esc_url( get_term_link( $term, get_query_var( 'taxonomy' ) ) ) .'">' . '</a>';
} else {
$output .= '<span class="dwqa-current">' . $tax_name . ': ' . $term->name . '</span>';
}
}
Please login or Register to submit your answer