Skip to:

locating comment lists markup

  • Does anyone know how I can get to the markup for the ol list . comments.php has the loop which is fine but I need to access the li markup hidden in this callback somewhere.

    <ol class="commentlist">
    <?php wp_list_comments( array( 'callback' => 'bp_dtheme_blog_comments' ) ); ?>
    </ol><!-- .comment-list -->

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

    Am I simply missing something obvious? and need to look harder :-)

    Clearly I was not looking hard enough so having found the callback in functions.php the need now – having copied it over to child theme function.php – is how to apply classes to the li elements – has anyone any approaches to adding odd even classes to the comments.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘locating comment lists markup’ is closed to new replies.
Skip to toolbar