1
vote
1answer
83 views

Can wp_list_comments output into variable?

Is there any way how to output wp_list_comments() into a variable? Something like $output = wp_list_comments(array('reverse_top_level' => false ), $comments); I am writing a plugin and it would ...
-3
votes
1answer
484 views

Getting full code of wp_list_comments instead of replacing it

I am wondering if this is possible, because I don't want to edit the standard/default lay-out of the comments. I already tried that, but somehow it won't put the list items in my div sections. That's ...
0
votes
1answer
57 views

Comment Function

How would I make this Function display only the latest 5 comments? function showLatestComments() { global $wpdb; $sql = " SELECT DISTINCT comment_post_ID, comment_author, comment_date_gmt, ...
0
votes
1answer
285 views

WP Custom Comment Callback Not Responding

I have a client site that has requested a custom comment format for posts of a specific category. In my loop template, I have this: <div id="gallery-commentlist"> <ul ...