Claudia Hetz
asked 9 years ago

I followed the instructions what I believe to be accurately…and all the pages except the single question view are formating and displaying nicely. I am at a total loss as to what is going on with this single view page and also the whacky spacing and objects.

![enter image description here]( "enter image title here")

1 Answers
answered 9 years ago

Please send me your site URL, we will check and help you resolve it.

replied 9 years ago

It seems that is was something to do with WPAMU not stripping out returns…so that is fixed – thanks

site is

I do have one question however, I would like to have the comments option on the forms as a button and then when you click it a the comments form becomes visible…would you have any suggestions for how you think would be best to approach this?

When I am done with that if it’s good – I can show it to you guys and then maybe its something good for the build o GitHub

dominic Staff
replied 9 years ago

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() {


Hope this helps !

Powered by DW Question & Answer Pro