wp_list_comments() - need more control (3 posts)

  1. digitalmatt
    Posted 6 years ago #

    Hi, I'm currently building a new theme where I need a lot of control over how comments display. I need to significantly change the markup by adding wrapping divs, shifting things around, etc. I also need to be able to distinguish between the first and last comment for a post for special css classes.

    Is there a way to get more control over wp_list_comments() without having to touch the core? The parameters you can pass don't help me with what I need to do at all.

  2. t31os
    Posted 6 years ago #

    Use a custom callback, see this page..


  3. digitalmatt
    Posted 6 years ago #

    Ahhh! Thank you very much, I overlooked passing a callback.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.