Viewing 15 replies - 16 through 30 (of 46 total)
  • Actually, that part is working fine after I look again.
    Comment this line out fully by changing
    <!-- B4 upgrade <?php include(ABSPATH . 'wp-comments.php'); ?> -->
    to
    <!-- B4 upgrade <?php //include(ABSPATH . 'wp-comments.php'); ?> -->

    comments_template isn’t finding your comments.php file. Are you sure you have a comments.php file inside your theme folder?

    Also, just curious, is there a reason you don’t just use the version of Kubrick that ships with WP 1.5? It looks like the only thing you’ve modified is your header image and some of the colors.

    Ok, I checked and the file is there….must be something in that file. Can you do the same and post that file up to that site?

    Okay, I added the // to the line you mentioned above. Uploaded index.php and still got the same result.

    Yes, I can confirm that there is a comments.php file in my theme folder, but to be more specific it’s in “themes > Carrots”. That’s the right place, right?

    And about your last question: true it’s mostly changes to the header and colors; I’ve added some “blog” related images in the sidebar. I just had it in my head that I needed to use the theme I was originally using. But now that you mention it, I should probably just add my changes to the default Kubrick theme.

    So, do you suggest that I make those changes to the default theme instead of using my own and see what happens, or is there anything else I should be looking for?

    Can I have a look at comments.php first (post it up to that same site)? Might be something really simple.

    okay, i’m getting the same problem…

    https://www.roobottom.com/diary/

    i’m using the default comments.php and comment-popup.php, but to no avail. Is there a tag you’re supposed to include to get the comments working?

    Oh, think I saw something. Look at line 2. Is that where the problem is?

    roobottom,
    You need a call to
    <?php comments_template(); ?>
    in index.php or single.php or whatever file you are using to show your single post pages.

    Well, I guess that would be the index.php file because I haven’t made any changes to single.php. If you agree, where do I place <?php comments_template(); ?>?

    And I take it line 2 wasn’t a concern?

    davincim,
    It should be:
    if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))

    But that wouldn’t cause your problem. That just makes it so you can’t load the file directly, so you’ll want to change it though.

    You shouldn’t need lines 20-25.

    My previous post was for roobottom.

    MtDewVirus,

    Sorry, you lost me. You want me to delete (or probably comment out) lines 20-25 in which file?

    And you want me to add or change if ("comments.php" == basename($_SERVER["SCRIPT_FILENAME"])) in that same file? And if so, where?

    Thanks.

    comments.php

    Change line 2 so that it’s using the right filename (it has wp-comments.php).

    Yes, comment out lines 20-25 and see if anything changes.

    Darn it! Made the edits, but still not displaying the comments.

    I appreciate your patience with this. So should my next steps be to try using the default theme?

Viewing 15 replies - 16 through 30 (of 46 total)
  • The topic ‘[1.5] Comments not showing when viewing single post’ is closed to new replies.