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
<?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!
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.
Please login or Register to submit your answer