Comments allow your website's visitors to have a discussion with you and each other. When you activate comments on a Page or post, WordPress inserts several text boxes after your content where users can submit their comments.

learn more… | top users | synonyms (1)

2
votes
1answer
55 views

comment_email hook doesn't seem to work for comment editor field

I am building a plugin that allows users to PPK encrypt their users' IP/email data. Thus, IP/email data is set to dummy values in the comments table and encrypted values are stored in corresponding ...
0
votes
1answer
371 views

Get the latest comment from a custom post type where depth = 1?

Happy new year everyone. I've been struggling with this one for a while. I need to get the latest comment from a custom post type, but ignore any child comments i.e. only look at comments with a ...
0
votes
1answer
145 views

Admin can enter JavaScript - potential security risk?

WP 3.5/TwentyTwelve/Clean install. I try this when login as admin and editor. I try add reply for first post "Hello World": <script>alert('XSS')</script><script><</script> ...
0
votes
1answer
158 views

Custom avatars in wordpress comments?

I'm looking for a way to let people connect with facebook when posting comments, and to use their facebook avatars as the avatar for the comments. How can this be done? Do I need to create a seperate ...
0
votes
1answer
61 views

By Default, Turn Comments Off for Pages & Leave Comments On for Posts

By default "Discussion: Allow comments." is checked when a new page or post is created. I know you can make "Discussion: Allow comments." unchecked by default on both pages and posts by going to ...
3
votes
2answers
276 views

How to get comments with mixed status using get_comments?

Is there a way to get comments with more than one status using get_comments function? Let's say I would like to get both trash and hold comments. It is possible to do the same with posts: ...
2
votes
1answer
86 views

How to no follow the paginated comments

I am trying to find a way to add rel="nofollow" to my comments pagination links. Can anyone provide me with a hook or way to do so?
4
votes
1answer
166 views

Allowing more elements in comments via functions.php

I would like to allow certain HTML elements in my comments and have edited kses.php directly in the past. However, I have been hacked recently and replaced all the core Wordpress files and feel I ...
1
vote
1answer
477 views

Customize comment list markup

While creating a new theme, we'll have to customize the comment flow. For doing so there are two functions: wp_list_comments() and get_comments(). I am not very sure how to style the inner elements ...
3
votes
1answer
123 views

Comments number message in password protected post

I've got a password protected post and comments_popup_link('No Comments', '1 Comment', '% Comments'); function displays "ENTER YOUR PASSWORD TO VIEW COMMENTS." message. The question is, is it possible ...
0
votes
1answer
317 views

Get number of comments per page

I am trying to grab number of comments to display per page. So far unsuccessful, looking for something similar to this $wp_query->max_num_pages; Thanks.
1
vote
2answers
186 views

Sync comment data

I have a site that used Facebook comments for a period of time and then removed them for native WP comments. I was able to write a function that grabbed all the comments and re-inserted them into the ...
0
votes
1answer
272 views

What is the Difference in bones_comments() and comments.php

I started to use Bones HTML5 Wordpress Starter Theme, but a little confuse with some built-in function in bones, There is function bones_comments() in functions.php but I cannot find anywhere on the ...
1
vote
1answer
78 views

Get a variable field of all comments of current post

How to get a variable comment field of all comments of current post? I want to display all (for current post) comment user website url in to current post. Thanks for help.
0
votes
2answers
207 views

Getting Post Permalink Outside of Loop Not Working

I'm trying to get post's permalinks outside of the loop via a wordress plugin. Nothing seems to be working. Here is the original code that does not link to any permalink. public function ...
0
votes
2answers
580 views

Getting recent posts from all blogs on mother blog - multisite

I want to get the recent comments on all posts in a multisite network, and I want to display these ceomments in a sidebar on the multisites "mother" blog. To complicate: All blogs are forced to post ...
1
vote
1answer
148 views

The comment login form is visible to me but not to the user

I am beginner in wordpress & i am working on my own blog ( http://cssground.com/ ). Right now i am facing an issue with the comment form. The comment form is visible to me & it's work fine but ...
3
votes
1answer
92 views

How to prevent deleting of comments when deleting a post

Like the title says: How can i prevent Wordpress from deleting post comments when i delete a post? What i am trying to accomplish is that i want to merge all comments from different posts to posts ...
0
votes
1answer
63 views

How to implement just the wp commenting area on my custom site?

I'm searching for some site where I can find line by line explanation of an wp theme's code. Because, I want to implement on my site just commenting area. I don't need sidebar, gadgets, searching, ...
0
votes
2answers
221 views

How to update wp_posts with just the returned comment count from wp_comments (SQL GROUP BY)

I am doing a special migration from someone's custom CMS to a WP installation. I successfully got the posts and comments migrated into their respective tables. Now I need to get the comment count ...
3
votes
1answer
503 views

How to enable comments for pending and draft posts?

I have a custom post type with comments enabled. The comments metabox in the admin only appears when the post is published. I'm wanting to use the comments system as more of a discussion between ...
0
votes
3answers
292 views

Remove the deleted user comment

Problem I have a user based site, so when user deletes his profile somehow his/her comments stay visible. There is no name and blank avatar with the comment. Is there any way to delete the comments ...
1
vote
1answer
54 views

Same email for all comments

I have An administrator must always approve the comment checked, as well as Email me whenever Anyone posts a comment. This sends an email to the post author. I don't want that. I have one person in ...
2
votes
1answer
226 views

Allow guests comments on single post

I would allow guests comments who are not registered yet to comment only one single post. Other posts have to be commentable just for registered users.
0
votes
1answer
123 views

2 tick boxes appearing below comments

In my site I have two tick boxes appearing above each other underneath the comments section. I have tried disabling pingbacks etc. How do I remove these? example - ...
0
votes
1answer
186 views

Retrieve comments from current post using SQL

I am trying to use this code below to auto-refresh comments but at the moment it is displaying all comments. I would like to only show comments for the current post. I am not very experienced with SQL ...
6
votes
1answer
743 views

Importing old Disqus comments into WordPress

Anyone got a working way to import old Disqus comments into WordPress? Presumably by converting the Disqus XML export format to the WordPress XML import format. Note that this plugin is for some ...
5
votes
1answer
82 views

Allow variable amount of comments before pagination

There is an option in the admin settings allowing you to define how many comments should be listed before creating a new page for the next ones. I would like to have the same number of comments for ...
0
votes
2answers
332 views

How to use filter on comment submission/insert

I am working on a small project for my family to share info, recipes etc. And I added a "@" mention feature. Now that the mention feature works I need to notify the user they were mentioned. I ...
2
votes
1answer
55 views

Comments view limited to 20 results - any way to increase to 50 or 100?

Each day I manually delete the spam posted on my blog. The comments view allows a maximum of 20 comments in the view. When I have 200 spam entries - I need to click through 10 times to get rid of it ...
2
votes
1answer
244 views

How to Auto Approve Comments on a Specific Page?

I am using WordPress comments on a page as a Contact page and I am able to show those comments only to logged in admin. Now I would like to automatically have any comments placed on my Contact page ...
0
votes
1answer
197 views

Is this a wordpress bug? get_comment_link auto shoots when user visits his dashboard

If user is editor, this function auto-shoots when user visits his dashboard! How is this possible? This function should only work when user successfully posts comment, so what is happening? could be ...
0
votes
2answers
93 views

My posts show 2 comment forms

We have a Wordpress site, lifering.org, hosted on GoDaddy. We recently upgraded our virtual server's Linux operating system, which involved rebuilding the site from a backup. Now I our single ...
2
votes
0answers
312 views

comment_post_ID 0 (cannot remove from dashboard)

Ran across something a bit odd that I haven't seen before. A client has a pretty active blog and uses Akismet (paid) to protect against spam. At least once a day, they're reporting a spam comment that ...
0
votes
1answer
1k views

How to resolve 404 errors for wordpress comments/feed when I have disabled comments

I have disabled comments in my wordpress site. So comments/feed url is giving 404 error. So how should I resolve these errors? doaminname/feed works fine. But domainname/comments/feed is giving error. ...
1
vote
2answers
192 views

Get only one comment per post with get_comments

Is there a way to limit get_comments results to just the latest comment from every post?
1
vote
2answers
1k views

Comment_Reply_Link Not Showing?

When I use the following code, everything shows except the reply link! Anybody know what I've done wrong? I'd like the link to show up with the word 'Reply.' Live example: ...
1
vote
1answer
244 views

How can I change the link in comment form “Log in to post a comment”?

Right now there is a link and I am using a plugin for a modal box and I would like to change the link in the code. Where is the html and php file with the code located? I have looked in my theme ...
0
votes
1answer
67 views

How to prevent multiple comments

We have an internal WordPress blog and a sort semi-trolling type situation going on. Almost all posts are flooded with comments by a single person. Basically the person is keeping a blog in the ...
0
votes
2answers
368 views

Actual comments not showing, but form is?

I have edited the comments form to remove a few fields and now the approved comments don't show up, just the form itself. What am I missing from this? <?php $comment_args = array( 'fields' ...
1
vote
1answer
132 views

Admin comments and user restrictions

I have set a bunch of roles within wordpress with the help of the "members" plugin. But the capabilities regarding the comments moderation are very limited ("manage_others_comments" or not) What I ...
1
vote
3answers
359 views

Comment as post - understanding wp_list_comments

I'm creating a site where a central question will be posed on the front page with excerpted first-tier comments linking to a page with the full first-tier comment, presented almost as a post, with ...
1
vote
1answer
509 views

how to properly use comments-template.php

I want to modify comments form for both logged in users, and for those who are not. I modified the form for those who are not logged in by changing my comments.php but I'm not quite sure how to ...
1
vote
0answers
77 views

Why does akismet prevent jetpack comments from appearing in my moderation queue?

On the blog I run, when I have Akismet activated, it somehow prevents comments posted via Jetpack from appearing in the moderation queue. I know it's Akismet because I have disabled every plugin but ...
3
votes
2answers
421 views

Hide comments awaiting moderation from user who submitted the comments

This is a strange one. I host a website that is primarily for children. All posts are moderated. Users are required to enter a user name and location (State), but are not required to be registered ...
0
votes
2answers
376 views

Recent Comments from Specific Category Widget

I've been trying to create a sidebar widget to display recent comments from specific category. I'm having difficulties in determining how Wordpress knows from which categories the comments are. I ...
0
votes
1answer
1k 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 ...
1
vote
2answers
48 views

how to find user ids of all commenters in a post

Is there a function in wordpress that grabs all the users(user ids) who have commented on a post? I have the post id available.
0
votes
1answer
933 views

custom comment_form fields not displaying

My ideal comment form will have 3 fields- Name, Location, Comment. I'm using the following bits of code- comments.php <?php comment_form( array( 'fields' => apply_filters( ...
0
votes
1answer
139 views

custom comments form for custom post type

Hello everyone I am creating a theme dedicates to hotels display and booking in which I have created a custom post type 'Hotels' so now I want a mechanism to book the hotel rooms and a "book now" ...