I can't figure out how to apply the <div> tags to the single.php and comments.php so a page WITHOUT comments displays correctly.
See page WITHOUT comments enabled.
See page WITH comments enabled.
Can anyone offer any help.
Thank you,
Charlie
I can't figure out how to apply the <div> tags to the single.php and comments.php so a page WITHOUT comments displays correctly.
See page WITHOUT comments enabled.
See page WITH comments enabled.
Can anyone offer any help.
Thank you,
Charlie
the error is probably in comments.php of your theme (a div opened or closed within a conditional area of the code)
have a look at it yourself, or paste the code of comments.php into a http://wordpress.pastebin.com/ and post the link to it here.
See code for comments.php
http://pastebin.com/embed_js.php?i=BSX5Tv4Y
See for single.php
http://pastebin.com/embed_js.php?i=DUjzZeax
no need to wrap the url of your pastebin - simply paste the url into your post, and it should automatically turn into a link.
in the last few lines of comments.php,
try and move the </div> to the position before the last endif line:
i.e. from how it is now:
<?php endif; // if you delete this the sky will fall on your head ?>
</div>
to this:
</div>
<?php endif; // if you delete this the sky will fall on your head ?>That did it! Thank you.
I must have tried moving that div tag everywhere BUT there.
This topic has been closed to new replies.