Support » Plugin: jQuery Comment Replies » Add numbers of replies

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Doodlebee

    (@doodlebee)

    That all has to do with your styling. The plugin basically uses the default WordPress wp_list_comments method, just adds and extra class so you can have the expansion. if you want to change the default styling/layout of the comments themselves, then you need to use CSS, and/or add a function to your functions.php (to use a callback for the wp_list_comments) file to make those changes. My plugin doesn’t touch any of that, but here’s an example on how to do that in the codex.

    Plugin Author Doodlebee

    (@doodlebee)

    Bah, I misunderstood your question – sorry. No, not really. You could edit the core code to do that, but if I ever update, it’ll overwrite your changes. As to how, though, I have no idea. I’ve never been asked that before.

    EDIT: seems there is a method to do it, and use use the callback function (as mentioned previously) to pull that off. In place of the text (“children”) you could use $show, where $show:

    $options = get_option('bb_jcr_options');
    $show = $options['show_replies'];

    Thank you for reply, i’ll check it and tell how it works

    Plugin Author Doodlebee

    (@doodlebee)

    Did you get this working? Or…?

    Sorry for the delay. Any way it doesn’t work for me 🙁

    Plugin Author Doodlebee

    (@doodlebee)

    Let me see what I can pull off for you 🙂

    ^ Did you come up with a solution? I also need this.

    Plugin Author Doodlebee

    (@doodlebee)

    No, no solution. There isn’t a function that does this kind of thing natively. I’ve been trying to get it to work, but there’s a LOT that goes into it, and I haven’t been able to get it going, because it’s a pretty complex query.

    It’s something I may be able to work into my next release, but unless I sort out exactly how to do it, I don’t think it will.

    Now, an alternative is to get Show Total Conversations, and at the top of your comment list, instead of just saying how many comments there are, it’ll say something like “5 comments with 4 threads”) – but putting an actual comment *count* with each thread is proving to be far too complicated.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Add numbers of replies’ is closed to new replies.