WordPress wp_list_comments(): Build a Custom Comment Card Template with ...
Custom comment markup with a wp_list_comments() callback wp_list_comments() prints the comments of a post with WordPress’ default markup: an <li> per comment with the avatar, author, date and text in a fixed structure. A design with comment cards, a “3 days ago” date or a different order of elements needs its own markup. The callback…