jimfo
asked 6 years ago

How do I Breadcrumbs remove category but leave Questions breadcrumb ?

1 Answers
DominicStaff
answered 6 years ago

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>';
}
}
Powered by DW Question & Answer Pro