• Hey guys, does anyone know how to get nested comments to work?

    I enabled it in dashboard and added this line in comments.php

    <?php comment_reply_link(‘reply_text=Reply’); ?>

    Nothing happens.. been reading a bunch of tutorials online but they do not work either.

    I am using version 2.9.2

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Yeowza

    (@yeowza)

    hello esmi, thx for reply,

    I took a look at your link but could not find anything about nesting / threaded comments.

    Do you mean to say that I need to be using wp_list_comments() to get the comment_reply_link() to work?

    If that is so then is there any way I can get comment_reply_link() to work without using wp_list_comments() ??

    Do you mean to say that I need to be using wp_list_comments() to get the comment_reply_link() to work?

    Exactly! If you need a customised comment display, use the custom callback parameter.

    is there any way I can get comment_reply_link() to work without using wp_list_comments() ??

    Assuming your comments are on single post pages, you’d need to ensure that you added:

    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>

    to header.php – preferably just before <?php wp_head(); ?>. But I have to admit that I’ve never tried to get it working without wp_list_comments.

    Thread Starter Yeowza

    (@yeowza)

    i think i understand more now esmi, thx again

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Nested comments’ is closed to new replies.