Skip to:
Content
Pages
Categories
Search
Top
Bottom

locating comment lists markup

  • Avatar of Hugo
    Hugo
    Moderator

    @hnla

    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)
  • Avatar of Hugo
    Hugo
    Moderator

    @hnla

    ?

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

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    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)

You must be logged in to reply to this topic.