The get-comments tag has no wiki summary.
4
votes
2answers
268 views
Get comments for more than one post
I would like to get all the comments for a group of post (not only one post.
I tried
$comment_args = array('number' => '14', 'post_id' => '10,20,30,40' );
$comments = ...
0
votes
2answers
737 views
how to pull wordpress post comments to a external page
Hello I would like to know if there is a way to pull the contents of comments on a post to a separate page from wordpress. currently this is what i have, i'd like to replace with a function to pull ...
1
vote
2answers
120 views
get_comments_number of depth-1 (Level 1) (1 post)
I selected only 2 levels of comment for my wordpress site.
How can I display the number of comment of the first level ? (Depth-1)
1
vote
1answer
89 views
get_comments() where parent is not 0
I need a way to get just the comments that aren't top level i.e. where parent is not 0.
I've tried:
$args = array(
'parent' => -0
);
$comments = get_comments($args);
I know the parent ...
0
votes
1answer
810 views
Get Comments: Direct link to specific comment + post title
I'm pretty sure that this can be solved quite easy, but for some reason I just can't get it to work.
My current code looks like this:
<?php $comments = ...
0
votes
1answer
559 views
Display latest comments on page with pagination
Im trying to display latest comments from all the post on a page named comments, now im able to use <?php wp_list_comments('per_page=25', get_comments()) ?> and it gets all the comments but when ...