Threaded comments in it's simplest form (2 posts)

  1. nielskreijveld
    Posted 6 years ago #

    So, I'm using WP 2.7.1 and I want to use comment threading. I've got a custom HTML template for my comments. The problem is that wp_list_comments() doesn't add threading if I use a callback function to output my custom HTML.

    All I really want to do is list my comments with a custom HTML template, add a "reply to this comment" link and indent the comments that are replies. What's the easiest way to do this?

    Thnx in advance!

  2. nielskreijveld
    Posted 6 years ago #

    Ok so I've achieved what I want. Now I have a new problem though:

    <?php do_action('comment_form', $post->ID); ?>

    That generates some HTML code that I don't like. What do I do to change this HTML code?

Topic Closed

This topic has been closed to new replies.

About this Topic