• anonymousmousse

    (@anonymousmousse)


    I have tried searching through previous posts on this topic, and the available documentation, but I couldn’t really understand much of what I looked at, and there are lot of conflicting suggestions around as to what to do about this problem.
    I’ve just upgraded from 1.2 to 1.5 and my comments (and the link to them) are not displaying. I gather that there is something I have to fix, to do with changing the

    <?php include(ABSPATH . ‘wp-comments.php’); ?>

    line but I can’t figure out exactly what it is.

    Can anyone explain it simply?

    My URI is: https://www.vaguely.org/blog

Viewing 2 replies - 1 through 2 (of 2 total)
  • georgianlady

    (@georgianlady)

    Check out the codex here:
    Upgrading your template from 1.2 to 1.5

    Here’s a snip of it to help you with comments maybe:

    # Update the wp-comments include line in index.php. Replace this:
    <?php include(ABSPATH . 'wp-comments.php'); ?> with this:

    <?php comments_template(); ?>

    # Now save index.php
    # Rename wp-comments.php to comments.php
    # Open wp-comments-popup.php. Find this line at the top : require ('wp-blog-header.php');
    You must comment out that line:

    // require ('wp-blog-header.php');

    The top of your wp-comments-popup.php must look like this:

    <?php
    /* Don't remove these lines. */
    $blog = 1;
    //require ('wp-blog-header.php');
    add_filter('comment_text', 'popuplinks');

    Save the file.
    # Rename wp-comments-popup.php as comments-popup.php

    Be sure to check out the Codex for how to use the tags and what you need to have in your files and how to name them and all that. It’s vital to it working right!

    Thread Starter anonymousmousse

    (@anonymousmousse)

    Thanks for that, it was really helpful.
    I followed those instructions, and it basically works – comments show up. However, for some reason, the post and comment box are replicated 3 times on the page when you click to comment.

    Example:
    https://vaguely.org/blog/index.php/archives/2005/03/10/test/

    One more thing, picky as this sounds: I want the “add a reply” text defined as <h2> rather than <h3> which it for some reason is (can’t see where, there’s no h3 anywhere in the comment files). If someone could give me a tip on how to do that, that’d be great. Not a huge deal, though, I’d settle just to have the page displaying properly. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Comments 1.2 > 1.5??’ is closed to new replies.