Pelayo de Salvador
asked 9 years ago

Hello, i’m having some issues with the single question page:

1) It shows related questions, and would like to disable them
2) It shows the Simple Share Buttons widget bot under question and answers (just once would be enough)
3) Always shows comments form (can it be changed for a button?)
4) Enormous comment author avatar.

You can check it here.


1 Answers
answered 9 years ago


Issue1. You can send me a screenshot for further checking.

Issue2. You can add the following code to the style.css file:

.dwqa-single-question .ssba { display: none; }
.list-dwqa-question .ssba { display: none; }

Or you can use the following code:

.dwqa-single-question #anspress .ap-please-login { display: none;}
.list-dwqa-question #anspress .ap-please-login { display: none;}

Issue3. You can open the single-question.php file in the folder path "plugins > dw-question-answer > inc > templates > default". Find the line 55.

Replace the following code:

<div class="dwqa-comments">
    <?php comments_template(); ?>

With new code:

<a href="#" id="Leave_a_comment">Leave a Comment</a>
<div id="comment_form_wrapper" style="display: none;">
                          <?php comments_template( '', true ); ?>
<script type="text/javascript" src=""></script>
<script type="text/javascript">
    $(document).ready(function() {
        $('#Leave_a_comment').click(function() {


Issue4. Please tell me detail about this issue.
If the avatar is overlapping the answer, you can add the following code to the style.css file:

.dwqa-single-question .dwqa-comment-author .avatar {width: 32px;}

  • To remove the comment avatar, you can use the following code:

.dwqa-single-question .dwqa-comment-author .avatar {display: none;}

Hope this helps !

Powered by DW Question & Answer Pro