WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Comments Not Working!!!! (10 posts)

  1. martinfamily2005
    Member
    Posted 4 years ago #

    Look at my page. There is a post there, but no way to post comments, and no # of comments ticker. Please help me figure out the problem.

    Thanks.

    http://www.billboardfamily.com

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    How new is the site? Have you ever had comments before?

    Are they turned on? In settings->discussion

  3. martinfamily2005
    Member
    Posted 4 years ago #

    The site is pretty new, and I had them turned off in the beginning, but now I need them. I checked the settings, and everything is turned on.

    I just tried to see if they worked with the default theme, and they do, so there is something going on in my php/theme somewhere. Can anyone help me figure this out, please?

  4. Te Calleja
    Member
    Posted 4 years ago #

    please check if you have the following code
    <?php comments_template(); ?>
    at the bottom of your post?

  5. martinfamily2005
    Member
    Posted 4 years ago #

    I do. Here is the entire code for the index.php

    [Large code excerpt removed by moderator. Per forum rules, please use the pastebin for all large code excerpts. It works better anyway.]

  6. martinfamily2005
    Member
    Posted 3 years ago #

    Someone please help me fix this, please!!!!! Yahoo Messenger: martinfamily2005 OR contact@billboardfamily.com

  7. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    Well, you've gotta go through the basic trouble shooting steps now. It's the same steps for nearly every WP problem

    First, switch to the twentyten theme temporarily and test your comments. That way we can see if its theme related

    If that doesn't work, disable all plugins temporarily and test to see if its plugin related

  8. martinfamily2005
    Member
    Posted 3 years ago #

    tested the twenty ten theme....and comments are working fine with all of my plugins still running.

  9. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    so it's something to do with your theme....which can be kind of hard to troubleshoot

    <?php comments_template(); ?>

    you've already checked for this I see, is it in your page.php (for pages) as well as single.php (for single post view)?

    Also, do you have anything referring to comments in index.php?
    <?php comments_popup_link('ADD COMMENTS', '1 COMMENT', '% COMMENTS'); ?>
    This is what I have in my index.php, its just a link to commenting, rather than including the comment template as that would clutter my home page

    Then you can look into positioning of the code.... compare to other themes I guess to make sure your code is in the right place

    it's usually above the <?php endwhile; ?> or <?php endwhile; else: ?>

  10. martinfamily2005
    Member
    Posted 3 years ago #

    Here is my entire code for index.php. I have customized almost every page with templates. I will do do on the single, and page pages as well to keep the look uniform.

    http://wordpress.pastebin.com/9aE7Nq2Z

Topic Closed

This topic has been closed to new replies.

About this Topic