The tag has no usage guidance.

learn more… | top users | synonyms

4
votes
2answers
879 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 = get_comments($...
2
votes
1answer
715 views

How to limit users to one comment per post

I am using WordPress as a petition site and hacking the comments system to work as the petition signup. I would like to find out how I can limit a user to post only one comment per post. So far I can ...
1
vote
1answer
1k 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 ...
0
votes
2answers
928 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 ...
2
votes
1answer
474 views

Display number of comment replies

I want to show the 3 most recent comments and have a small div underneath that shows how many replies each comment has (count how many comments where comment_parent => comment_ID). I do this by ...
2
votes
1answer
1k views

show un-approved comments at wordpress front end

I've almost finished coding up a function that allows contributers when they are the post author to manage comments left on their own post (portfolio) couldnt find a plugin to do it so had to get ...
1
vote
1answer
792 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
206 views

Change Wordpress comments url / word

Is this possible? For example, I want to change http://mysitesitesite.com/post-name/comment-page-1/#comment-452 to http://mysitesitesite.com/post-name/custonname-1/#customname-452 What should I ...
0
votes
2answers
3k 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 = get_comments('status=approve&number=5'...