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)

6
votes
1answer
2k views

Commenting in user profile page?

I am trying to build custom user profile with the guidance of this tutorial: How to make a WordPress profile page I have successfully implemented it to my theme, everything is working well. Now what ...
4
votes
2answers
2k views

Removing the “Website” Field from Comments and Replies?

In an effort to combat comment spam, I'd like to hide or remove the "Website" field from the "Leave a Reply" section for page and site comments. I have no desire to increase others page rankings by ...
7
votes
5answers
3k views

How to rearrange fields in comment_form()

Im using a custom filter to change the fields, but can´t figure out how to change the order of the fields in the comment form. Desired order: comment field (first/top) name email website This is ...
1
vote
2answers
3k views

Add Comment Custom Field

I searched a lot of thread regarding my problem, but unfortunately I found nothing works, and this my final option. I want to add some custom fields on my comment form. How can I do that?
4
votes
1answer
561 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 ...
2
votes
1answer
5k views

Comment form validation

How can I set the validation rules for the comment field? I change the value of commenter name/e-mail/homepage onmouseover and onblur (I use this instead of labels - so if the field is empty it ...
1
vote
2answers
176 views

Top Commenters: exclude admin

I'm using the following code in my function.php to display the top commenters in my theme: function top_comment_authors($amount = 5){ global $wpdb; $results = $wpdb->get_results(' SELECT ...
1
vote
1answer
101 views

disable comments if array exists

This is the code which is registering the function for rewrite_endpoints(): function wpa121567_rewrite_endpoints(){ add_rewrite_endpoint( 'comments', EP_PERMALINK ); add_rewrite_endpoint( 'stats', ...
15
votes
6answers
3k views

setting comments off as default for pages and custom post types?

I want to turn the comments off by default with pages and custom post-types Initially I simply used conditionals in the comments display function to avoid displaying the block on these pages, but I ...
5
votes
1answer
6k views

Paginate result set from $wpdb->get_results()

Is there an easy way to paginate the result set coming from $wpdb->get_results()? I want to get a paginated list of a user's comments on the author_archive page - some of the users of the community ...
6
votes
1answer
1k views

Filtering the Admin Comments List to Show Only Comments from the Current User?

In the Comments page (/wp-admin/edit-comments.php), every logged in user can see all the site comments. I'd like the users to see only his/her own comments and the comments that are left to ...
3
votes
1answer
1k views

How to add filter in “Comments” at the admin panel?

I found so many information and most of the tutorials only talk about adding filter in post/custom post only. I want to do something similar to this tutorial in 'Comments' area in admin panel. Add ...
0
votes
2answers
405 views

How do you remove the ability for a user to make a comment or post on a page?

I am building a new website on Wordpress, and all my pages have the add comment box at the bottom. I wish fo rthis to be removed from pages such as Home, Contact Us, About etc etc, but want it to ...
12
votes
4answers
479 views

how to reduce the number of spam comments

I've got the Akismet plugin on my WordPress site but I've been getting more and more spammy comments (that get caught). I'm amazed at the number as the site isn't that popular and doesn't have much ...
4
votes
2answers
625 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 = ...
2
votes
3answers
182 views

Can I seperate comments from post?

I have a type of attachments that need full screen display. So, I need to put the comments form somewhere else. How can I tell WP those comments belongs to a post?
1
vote
2answers
329 views

How can I allow editors to leave comments on posts that have not yet been published?

On my NFL football blog all users are allowed to make blog posts. New registrants are given contributor status. When users make a post it is reviewed by an editor, then the editor schedules the post ...
2
votes
2answers
303 views

Disable wordpress comments API

We're using the disqus plugin on our wordpress site, so anyone commenting should have a login through disqus. Yet, I'm still seeing spammers trying to post through the regular comments API. They're ...
4
votes
1answer
344 views

Writing a plugin that notify my friends of new post that mentions(@) them

For example, I write a new post with content "Today I'm happy, because I finally met the girl that @David told me about bla blah..." Once the post is published, there should be an email notification ...
4
votes
2answers
739 views

What are the current recommended best-practices for comments.php?

I'm getting ready to submit a theme to the .Org repo and wanted to make sure that everything is in ordnung. One of the biggest holes left in my design is the comments template. I've taken a look at ...
3
votes
2answers
5k views

Adding Custom Fields to WordPress Comment Forms?

What is the best way to add custom fields to a WordPress comment form? (for example subject, image, etc...) And how do I use the data entered afterwards...
2
votes
0answers
332 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
326 views

Crossposting from WP to Blogger with comments

I know that there is a way to crosspost from WP to Blogger but I am curious if there is a way to essentially mirror WP blog on Blogger completely, in other words crosspost both posts and comments?
4
votes
3answers
852 views

Add comments from the admin panel?

I'm using WordPress as an Authoring tool. Hence I do not use the front end. Now I wanna add the functionality making internal comments. As it is now, you are only allowed to read comments from the ...
2
votes
1answer
671 views

How to remove or replace the log-in link for comment replies?

I need to edit the function get_comment_reply_link() in wp-includes/comments-template.php. All I really wanna do is take out the "log in to reply" text is puts in every comment for logged out users ...
2
votes
1answer
586 views

“Leave a comment” link even when you can't

On http://wordpress.barrycarter.info/index.php/page/7/ I disabled comments for "USDCAD options vs CADUSD options arbitrage?", but it still has a "Leave a Comment" link. Clicking the link takes you ...
2
votes
2answers
893 views

Getting $comments outside the comment template

I have a ajax request hooked on "template_redirect" (the ajax requests the post's url), and I want to display only the comment template: function get_comm(){ if(isset($_GET['get_my_comments'])): ...
1
vote
1answer
322 views

Allowing logged in users to comment without moderation across a multisite installation

I currently do web admin for an internet community based on BuddyPress and Multi Site, and use the Comment author must have a previously approved comment setting to make it easier for users to comment ...
1
vote
2answers
1k views

wordpress threaded comments - customize nested ul / how child ul is displayd

I just wasted 1 day trying to make wp threaded comments works... and I think I'm finally done!!!! except that it doesn't work properly - well it doesn't work the way I want ! :) Child comments get ...
1
vote
1answer
191 views

Change comments form title on a page by page basis

I'm looking to change the comments form title (my theme defaults this to "Leave a Comment" or "Leave a reply to"). I thought perhaps I could add a hook to comment_form_defaults but my snippet below ...
0
votes
1answer
126 views

Comments screen in backend, how to disable Quick Edit | Edit | History | Spam | for non admins

I'm trying to adjust the comments screen for non admins to my project. Right now I'd like to disable Quick Edit | Edit | History | Spam under any comment left for any post created by the user. ...
26
votes
9answers
6k views

Why do I get comment spam even with Akismet and Captcha?

I'm a bit perplexed why I keep getting so many spam comments ... Even though I use both the Akismet and WP-reCAPTCHA plugins on my WordPress blog! WP-reCAPTCHA should stop machine entered spam, ...
12
votes
5answers
3k views

Is it possible to pull comments from facebook into your blog?

I have a client who wants to be able to share his latest blog posts on Facebook (no problem there) but then he wants the comments made on his Facebook page to that share shown on his blog as part of ...
5
votes
2answers
1k views

Linking to Page Showing Only Comments Without Parent Post

I'd like to show post comments on their own page without the parent post. I know I can use wp_list_comments() on the single post page and pass a callback function to use my own comment display ...
10
votes
3answers
657 views

How to make comments work for a post loaded per Ajax?

I am currently loading a single post using ajax. While the post loading works ok, I cannot get the comments to load. Here is my code: My javascript to load the post: <script> ...
8
votes
1answer
771 views

Non-threaded comment replies with link to original comment

I'll explain what I am trying to accomplish. I would like to have regular non-threaded (flat/classic) comments with a reply link to each comment. When someone replies to a comment the reply comment ...
5
votes
1answer
448 views

3 moderators to approve comment

Guys, I need to know how to do the following: When I receive a comment ... This comment must be approved by three moderators. To appear on the site. Anyone know how to do it or some plugin?
11
votes
6answers
6k views

Is there ANY way to remove comments function and section totally?

I don't want any comment querys to run. I don't wont anything about comments to be shown in wordpress admin area. Is this possible in any way? EDIT: Remove all links to the comments from admin bar, ...
2
votes
3answers
211 views

Linking comments from registered users to their profile pages

I am trying to find a way to link the 'username' in comments from registered and logged in users to their profile pages instead of their website URL. And comments from unregistered users to their ...
2
votes
3answers
751 views

Custom comment type maybe?

(First of all, sorry for bad english) If there are people here using wordpress as cms, you probably realize that you dont need comment system that much. Esspecially custom post types like products ...
7
votes
1answer
490 views

Experiences with adding Nonces to the comment form

I was wondering about the impact nonces would have on the default comment form a theme has. Because Nonces are a built-in feature of WordPress I thought about giving it a try. Does somebody has ...
6
votes
3answers
2k views

How do I delete all comments from a specific old blog post?

I'm cleaning up an old, controversial blog entry and I need to remove all the comments from the post. Surprisingly, I can't find a way to do this within the existing WordPress (3.0.4) UI. I can ...
4
votes
1answer
181 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 ...
3
votes
1answer
786 views

Allow anonymous comments, but prevent spam [closed]

Captcha, reCapthca and the like have serious usability issues. And basically anything that requires a user to fill an extra field (other than the comment) each time the user posts a comment, is ...
3
votes
1answer
984 views

How do I turn off wordpress comments ability to capture a users ip address?

Going through the comments table on my wordpress site, I noticed that wordpress is storing the ip address of everyone who makes a comment on my site. How do I remove this functionality? I'm not just ...
3
votes
2answers
740 views

Custom Comment Types

I have created a custom post type for a sort of gallery whereby users can upload work etc. In addition to this I have taxonomies for this type such as categories, tags, colors, etc. But I want users ...
2
votes
2answers
238 views

Comment filtering (search)

Basically I want to develop the ability to search comments on my site. A form with input field where the visitor can enter a search string, which tells WP to display only comments that contain that ...
1
vote
1answer
268 views

Display comments on a comment page without form

I'm using this to allow me to display my comments for posts on category pages: <?php $wp_query->is_single = true; comments_template(); $wp_query->is_single = false; ?> However I don't ...
1
vote
1answer
578 views

One comment per user per post

How can i disable the comment form, if the user is already submitted a comment for the specified post? I am using this now, but this is only good for 1 post / user / website. <?php global ...
0
votes
1answer
1k views

Is it possible to show custom comment metadata in the admin panel?

I've customized my comment form with a new field (city, but that doesn't really matter). I've hooked and filtered and added my comment metadata with add_comment_metadata. I want to show that metadata ...