Antonios Krinis
asked 9 years ago

Hello,

I would like to disable wordpress’s comment system from loading at the template of single question page.
I build a custom template for single question page, but when i call this
<div class="dwqa-content">
<?php the_content(); ?>

it loads also the built-in comment system. I would like to disable it only for single question pages and not to all my pages/posts in WordPress.

How can i do this?

Thank you in advance!

1 Answers
DominicStaff
answered 9 years ago

Hi,
If you want to remove the comment section only for single question, you can use the following code to remove it. Please add the code line to the style.css file:
.single-dwqa-question .comments (display: none;)
If you still face there issue, you can send me your site for further checking.
Regards,

antonios krinis
replied 9 years ago

Thank you, I fixed it 🙂

Powered by DW Question & Answer Pro