Support » Fixing WordPress » Can't leave Comments on Posts

  • Hey there. I have researched this problem and still cannot figure out the solution that pertains to me.

    you can see “No Responses” which is an active link that goes no where. I have messed with the stylesheet quite a bit, but even after messing with almost all the css I can’t figure out why i’m not linking to a comments section.

    I’ve removed all plugins. I’ve checked the code from the default theme to the puretype theme that I’m using. I’ve read the perma-link topic and the migrating plugins – enhanced comment display (a little crazy advanced for me). I still can’t figure it out.

    Any help is GREATLY appreciated. Thx

Viewing 10 replies - 1 through 10 (of 10 total)
  • Michael


    Forum Moderator

    one reason: the link to the comments seems to be a relative link, just the #respond part, no permalink part.
    that would be in the template file that shows the front page (the daily lookbook) after the code to show the time of the post, below the title code.

    another reason: single.php might not have the code comments_template() below the line with the_content()

    without seeing these template files, this is only an assumption.
    you could paste the code of these files into a each and post the links to them here.

    hope, comments are allowed in the ‘settings’ – ‘discussion’ and also for the individual posts.

    🙂 Thanks so much for taking a look. Please let me know if you need any other pages. I will put them into pastebin. I really appreciate your help!! This has been such a struggle.


    I’ve been looking at this page –

    but still can’t figure it out. Thanks again 🙂

    I forgot to mention that comments are allowed in the discussion settings and in each post. thx.



    Helllloooo ? 🙂

    I still need help with this. I took a break for a while. I definitely do not have the code for comments_template() below the line with the_content().

    I’m not sure how the code should appear. Any help would be super. thanks. Otherwise I’ll just start from scratch. YIKES. 🙂

    Moderator keesiemeijer


    Your pastebin links are not working anymore. Please re-pastebin.



    I REALLY appreciate your help! 🙂 Let me know if you might need any other pages.

    blogstyle.php –
    single.php –
    page.php –



    I feel like this should be a pretty easy fix cause I know I just need to add the code that calls the comments page. But I don’t know what that code is and can’t figure it out to save my life 🙂

    I have no code with comments_template. And I know the anchor for #respond works on other pages (other wordpress/puretype sites), but since i have no relationship for that anchor it doesn’t really get me anywhere. Oh the frustration.

    thanks again. I’ll check back soon.

    Moderator keesiemeijer


    try this
    On blogstyle.php replace this:

    <div class="post-info">Posted by <?php the_author() ?> in  <?php the_category(', ') ?> on  <?php the_time('M jS, Y') ?> |  <a href="#respond" title="<?php _e("Leave a comment"); ?>"><?php comments_number('no responses','one response','% responses'); ?></a></div>

    with this:

    <div class="post-info">Posted by <?php the_author() ?> in  <?php the_category(', ') ?> on  <?php the_time('M jS, Y') ?> |  <?php comments_popup_link('Leave a comment', '1 comment',
    '% comments'); ?></div>

    do you have a comments.php in your theme. You cannot comment because the comment template is never called in single.php or page.php: <?php comments_template(); ?>

    Hey. Thanks so much. It didn’t work. I don’t know what i’ve done. I have to get the original puretype files.

    I do have a comments template. It’s comments.php. I don’t know why it’s not called.

    🙂 thanks again for your help!

    Ahahahaha 🙂 I GOT IT!!!! I had to do this:

    <div class=”post-info”>Posted by …. | #respond” title=”<?php _e(“Leave a comment”); ?>”><?php comments_number(‘no responses’,’one response’,’% responses’); ?></div>

    and then I had to add this into blogstyle, page and single .php pages.
    <div id=”comments”>
    <div id=”respond”>
    <?php comments_template(); ?>

    before my <?php else : ?> tag.

    OH I’m so EXCITED. 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Can't leave Comments on Posts’ is closed to new replies.