• I am helping administer a WP site that has a Blog. I have made some posts to the blog. I have the allow comments check box enabled. When I look at the Blog I cannot see how someone could leave a comment on a post. I don’t see any “comment” link or button or any way to initiate a comment on a post. I feel kind of stupid but I am not getting how this is done.

    Could someone take a look at the blog and see if they can leave a comment? Thanks for any help.

    http://www.helitrax.com/blo

Viewing 15 replies - 1 through 15 (of 16 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Make sure your single.php template calls in the comment form. Look for the word comment in that file.

    HI
    I am getting a similar error.
    This is from my single.php template:

    </div>
    
    <?php comments_template(); ?>
    <?php endwhile; ?>
    <?php else: ?>
    <h2 class="center"><?php _e('Sorry, no posts matched your criteria.', 'kubrick'); ?></h2>
    <?php endif; ?>
    
    </div>

    Please help. Also, I was getting a second weird error where comments were posting on my static pages. I was able to go into the pages.php and removed the <?php comments_template(); ? which took care of that part. I uninstalled and reinstalled wordpress. I reinstalled the template. Any help is appreciated.

    Moderator Kathryn Presner

    (@zoonini)

    Reneeeee – can you provide a link to a post on your site where you’re having the comments issue?

    Moderator Kathryn Presner

    (@zoonini)

    Also – do you have a comments.php file?

    First, you are wonderful for answering my call for help.
    Page Link: http://wordorama.com/
    Blog Page Link: http://wordorama.com/blog/ (This is the one I want the comments to be enabled in. In the editing screen in 3.0 there were controls for comments. These seem to be removed in 3.1)

    comments.php file:
    [Code moderated as per the Forum Rules. Please use the pastebin]

    Moderator Kathryn Presner

    (@zoonini)

    This post says that comments are closed.
    http://wordorama.com/2011/02/24/the-web-is-for-all-of-us/

    Have you made sure comments are enabled under Settings > Discussion ?

    Have you set that individual post to not display comments by mistake? In 3.1 a number of Screen Options are hidden by default and you’ll need to enable them to see them. The commenting option may be one of them. Click Screen Options to re-display them.

    More info: http://ottopress.com/2011/wp-quickie-metaboxes/

    Hi,
    Here’s a screenshot of the post page:

    I just re-ckecked your other suggestions:
    YES: Have you made sure comments are enabled under Settings > Discussion ?

    Checked and verified: Have you set that individual post to not display comments by mistake?

    Could this be failing because I removed the line<?php comments_template(); ? from pages.php and then set my blog link to a page that was NOT the first page? First page is static.

    Does the page.php override comments.php or single.php?

    Moderator Kathryn Presner

    (@zoonini)

    Could this be failing because I removed the line<?php comments_template(); ? from pages.php and then set my blog link to a page that was NOT the first page? First page is static.

    Does the page.php override comments.php or single.php?

    No and no. 😉 Page.php is only the template for your static information pages, like About, etc. It has nothing to do with blog posts.

    The screenshots you sent earlier don’t actually show me that you’ve explicitly set that post to display comments. Can you open the post itself and take a screenshot which shows that comments are enabled. What you took a screenshot of only shows that the comment options are set to display on the admin side – it has nothing to do with the public display.

    Hi! I am traveling and the wifi on the bus is blocking FTP (can’t send a screen shot.) I did make some progress, but it is still not resolved.

    As you suggested I drilled down to the actual post and enabled the comments (there were two boxes I clicked–one at the top of the page and another at the bottom.)

    That worked (yay) when I previewed the page directly from the editor. Individual post ink

    But when I go to the page from the site (click on the blog link which shows the post here:BlogPageLink) there is no indicator that a view can post a comment until they actually click on the post. I don’t think that my audience will do that. They need to be able to immediately see the comment box.

    I sincerely appreciate your helping with this.

    Moderator Kathryn Presner

    (@zoonini)

    Hiya, glad you got the comments enabled. You’re going to need to edit your index.php to add a link to comments. Try looking in a default theme like Twenty Ten for sample code and copying it over or going back to an unedited copy of your index.php if you still have it.

    Thread Starter markf1

    (@markf1)

    Gee my post got hijacked while I was sleeping <g>! Well it’s good someone got some help from it.

    I found the single.php file it the wp-content/themes/default folder. not sure if it matters but we have another folder wp-content/themes/helitrax where some of our theme files are.

    Below is the code from the file. I see the line with comment in it near the bottom. Not sure what that means and how to get the comments to be available in the Blog. I’m not very educated, unfortuantely, on php. Thanks for any help! 9is there a better way for me to include code in this post?)

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Moderator Kathryn Presner

    (@zoonini)

    Please post code in the pastebin: http://wordpress.pastebin.com/

    Have you gone through the troubleshooting steps I suggested to the other poster earlier?

    In particular, have you made sure comments are enabled under Settings > Discussion ?

    Thread Starter markf1

    (@markf1)

    Thank you! I tried using the pastebin but didn’t quite understand how it was supposed to work. It offered to let me download a text file which is what I did and then pasted that into my post. Please forgive my newbyness.

    I do have a comments.php file. I do have comments enabled in the Settings>Discussion area. I also have comments enabled in the Screen Options. We are using WP v 2.9.2

    I’m not sure where to go from here. Is there anything else I can provide to help get this sorted out?

    thanks for your help!

    Moderator Kathryn Presner

    (@zoonini)

    I found the single.php file it the wp-content/themes/default folder. not sure if it matters but we have another folder wp-content/themes/helitrax where some of our theme files are.

    Check single.php in the helitrax folder. That one would be overriding any single.php in “default.”

    Do you see this line in it?

    <?php comments_template(); ?>

Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘Blog comments’ is closed to new replies.