Tagged Questions
0
votes
1answer
25 views
ol children instead of ul children
I've created a new walker class to display a custom layout when using the wp_list_comments(); function and this is perfect, the only thing is that all replies to one comment are listed in a <ul> ...
0
votes
1answer
729 views
customizing TwentyEleven comments template
Typically I don't utilize comments on my sites, however I'm using the comments functionality as a sort of live-feed testimonials page. To do this, I've borrowed comments.php and the comments portion ...
2
votes
3answers
178 views
How to get last comments but not from admin (or other specific user role/capability)?
I'm using get_comments to show lastest comments i.e.:
<?php
global $comments, $comment;
$comments = get_comments( array( 'number' => '5', 'status' => 'approve', 'post_status' => ...
0
votes
2answers
1k views
How to call wp_list_comments() outside of the comments template?
I'm simply typing wp_list_comments() in page.php but nothing is shown. But if I put the comments_template() tag there, then the comment form, comments and pings are shown. Why is that, why can't I use ...