Marie Cash
asked 6 years ago

Hi,
I use yoast Seo breacrumb which is fine on all page (questions, ask a question, and listing question). Your template use also a breadcrumb. I do not want to leave 2 in the page. Is it possile to delete DWQA  breadcrumb ?
Regards

3 Answers
DominicStaff
answered 6 years ago

At the moment, we have integrated the Q&A with the Yoast Seo.
If you show 2 breadcrumbs in the question page, you can send me username & password of your site for further checking.
 

DominicStaff
answered 6 years ago

Please check your site now. We have helped you resolve it.

MarieCash
replied 6 years ago

Ouahhh ! It’s perfect. Thanks a lot. Please could tell what have you done ?

MarieCash
replied 6 years ago

Ok i see. You add a style.

.dwqa-breadcrumbs {
display: none;
}

Is it possible to delete directly via php template ? Why I said this ? because of search engine. It would be better to limit useless links for crawl budget (internal popularity). Yes, it’s boring 😉

MarieCash
replied 6 years ago

Ok, i have something. If we comment line 66 in /preprod/wp-content/plugins/dw-question-answer/incTemplate.php, it’s ok. I would like use this Templates.php in my child theme. But, if I create a directory /preprod/wp-content/themes/make-child-theme/dwqa-templates/inc/Template.php nothing happen. What is wrong ? I try alos with /preprod/wp-content/themes/make-child-theme/dwqa-templates/Template.php without succes. Any idea ?

Regards

Dominic Staff
replied 6 years ago

At the moment, you can not override the Template.php file.
Please send me your single.php file in your theme folder for further checking.

Pierreto
answered 5 years ago

Hi,
I have same problem, i don’t use Yoast but Rank Math.
I think DW question don’t need breadcrumb, SEO plugin or template do this allready.
I want to remove it but as i have problem with other and understand well than we must never give Admin access to other and especially people who create wordpress plugins, can you explain how i can delete it by myself?

Dominic Staff
replied 5 years ago

you can use the following code to remove the breadcrumbs:
.dwqa-breadcrumbs { display: none; }

Pierreto
replied 5 years ago

Hi Dominic,
Ok I put it in custom CSS and it work.

Thanks!

Powered by DW Question & Answer Pro