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)

4
votes
2answers
813 views

How can I limit the number of comments per registered user per day in wordpress?

I found this code here on WPSE: global $current_user, $post; $args = array( 'user_id' => $current_user->ID, 'post_id' => $post->ID ); $usercomment = get_comments( $args ); if ( 1 <= ...
4
votes
1answer
317 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
1answer
609 views

Aggregate comments, with pagination

I want to build a page that would display all comments, regardless of which post they're attached to. I also want that page to be paginated, since it'll potentially have 10,000+ comments. I'm not ...
4
votes
1answer
390 views

Disable saving comment details (name, e-mail) in cookie?

The European Union has introduced a directive requiring that websites obtain permission for setting all 'non-essential' cookies. In the UK (where my site is based), the appropriate detail is explained ...
4
votes
3answers
3k views

How to load and show comments with AJAX instead of pagination?

Is there a plugin that displays comments like this: http://img541.imageshack.us/img541/6541/47905634.jpg when the user clicks "read more", older comments are being appended to the list with ajax.
4
votes
1answer
60 views

How can I see all of a post's comments on a single page as a reader, if pagination is enabled?

Is there an URL I can access, or an argument that can be passed, to disable pagination on the reader's side? The blog uses standard Wordpress comment pagination, i.e., ...
4
votes
1answer
212 views

Get total number of comments from posts in a specific custom taxonomy

I’m having some difficulties trying to get total number of comments from posts within a specific custom taxonomy. The setup is as such: I’ve created a custom taxonomy for my posts, called “features”. ...
3
votes
4answers
594 views

Facebook comments box on front page

I have a WordPress 3.5.1 installation on my WordPress Shack, with the Facebook plugin 1.3.1 installed and the TwentyTwelve 1.1 theme. I have the settings on Facebook - Comments box so that I display ...
3
votes
3answers
240 views

Are there any drawbacks to install IntenseDebate on my blog?

I am currently using on my blog the default comment system with in addition only the "Quote Comments" plugin. I have seen IntenseDebate and it seems it has many interesting features that probably ...
3
votes
1answer
181 views

Show content only if member left a comment

Functions Php : add_shortcode( 'membervip', 'memberviparea' ); function memberviparea( $atts, $content = null ) { if( is_user_logged_in() ) return '<p>' . $content . '</p>'; ...
3
votes
1answer
495 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 ...
3
votes
2answers
778 views

How to show Disqus comment count number only without text?

I'm using Disqus WordPress plugin. When the page is not fully loaded yet, there's only comment count but after that Disqus auto appends the string Comments to that which looks really ugly. From the ...
3
votes
2answers
271 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: ...
3
votes
1answer
895 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
3answers
1k views

Vanilla Forums as a replacement for WordPress comments?

I really like the way Vanilla Forums is integrating with WordPress however I am wondering if it is possible to take it one step further? What i'd like to be able to do is to replace WordPress ...
3
votes
2answers
4k 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...
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 ...
3
votes
1answer
2k views

Redirect user to a custom url after submitting the comment

After someone submits a comment this line of codes redirects him to the post (i believe). Can I modify the code in order to redirect him to a custom URL? do_action('comment_form', $post->ID) Ty for ...
3
votes
2answers
672 views

Running a function on comment status change

I am making a review system where i need to find update rating average when: A comment gets approved from pending/trash/spam. A comment gets upapprove from approve A admin post reviews (auto ...
3
votes
1answer
4k views

How to get comments by post ID?

I have this custom post query to list all the posts within a specific category. For example I have this: $args = array('cat' => 'home','post_type' => 'post')); $post_obj = new WP_Query($args); ...
3
votes
2answers
837 views

How to auto-approve internal pingbacks?

Whenever I write a post on my blog and link to a previous post, that pingback shows up as a comment needing to be approved. I am running Disqus, but this was happening even pre-use of that plugin. ...
3
votes
2answers
686 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 ...
3
votes
1answer
182 views

Deep customization of the comment form?

I've been handed over a design to translate into WordPress plugin & theme. My question is regarding building a custom comment form. The design used some custom scripts on the comment submit ...
3
votes
1answer
119 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 ...
3
votes
2answers
1k views

Using Wordpress' WYSIWYG for comments

I've been trying to set up the comments section of a site I am working on to use the default Wordpress WYSIWYG (TinyMCE). But it's harder than expected. I used this tutorial to take me almost all the ...
3
votes
1answer
969 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 ...
3
votes
4answers
403 views

Installing Facebook comment plug in without loosing all previous wordpress comments?

I'm trying to install Facebook comments onto a word press blog, but I do not want to loose all the previous comments. I'm curious if anyone has any ideas how to do this. I've looked at a lot of the ...
3
votes
2answers
483 views

Notify commenters about new replies

Is there a plugin to notify commenters of one post to receive emails about new comments made on that post? Only commenters who entered emails will be notified.
3
votes
2answers
948 views

Use rich text editor in comments?

I've been trying to get the TinyMCE editor working in the comments field but I've been unable to do so. Another suggestion I found was http://nicedit.com, the editor is working but the comments are ...
3
votes
5answers
653 views

Comment visibility

There will be many people commenting on a post. So, when a commentator visits the post, he should be able to see 'only' his own comment(s).Post author can see all comments only on his own post. How ...
3
votes
2answers
454 views

function to remove 'comments and trackbacks are closed'

Does anyone have a function I can place in my functions.php that will remove this? I want to avoid altering the core files. It currently says "Both comments and trackbacks are currently closed."
3
votes
2answers
456 views

Seperating custom post type comments from regular blog posts comments

I have a custom post type (gs_index) with commments enabled, and would like to display a list of recent comments only from that particular post type (outside of the loop) I would also like to display ...
3
votes
2answers
184 views

Number of External Links in Comments - Moderation Option

I just ran over a problem to properly use the count of external (meaning no relative or absolute links to my own blog) links on my blog for the Comment Moderation count Option. It's labeled Hold a ...
3
votes
2answers
615 views

Amazon-like star ratings plugin needed. Lightweight and effective. Prefer Ajax

I'm looking for an efficiently coded plugin that will do 3 things... 1) Allow a person to rate a product when they submit a comment, based on a 5 star rating, by simply selecting the appropriate star ...
3
votes
3answers
104 views

How to Block Access to Standard Login Flow and Comment Flow

I've set up custom flows on my Wordpress blog for login, signup, and commenting. I would like to password protect the standard login flow so only I can use it, and block access entirely to the ...
3
votes
1answer
56 views

How to override function twentyten_comment

I am running the Twenty Ten theme. I want to override comment formatting for certain posts. After researching how to do this, I copied the twentyten_comment function from the parent theme ...
3
votes
1answer
228 views

Custom Comments - Parent / Nested Reply

I am making a custom theme and have edited comments.php, but I'm unable to get the comments to save as a reply to another comment. I have succeeded in showing the comment parent id to show as a hidden ...
3
votes
1answer
2k views

How to export comments in WordPress?

I want to export my comments to Excel, PDF or Word. The format really doesn't matter, I just want them exported. I tried the Export Comments plugin, the standard one, but couldn't get it to work, I ...
3
votes
1answer
8k views

How to use a custom comments template

My wordpress makes use of custom post templates. I'm now trying to create a custom comments template as well. I noticed that the comments template is called via this function <?php ...
3
votes
1answer
340 views

Threaded comments - deleting parent comment leads to orphan comments

Got an issue on a site where deleting a comment with replies (where threaded commenting is activated), leads to the child comments being orphaned, causing unexpected behaviour (such as the orphaned ...
3
votes
1answer
42 views

Delayed commenting

We have a client who is using WP as part of an alternate reality game, and as part of it, they want to have 'characters' leave comments on posts at certain times. They basically want to be able to ...
3
votes
1answer
242 views

Custom comments

I'm trying to create a custom comments page with pagination. I have non-hierarchical custom type "apartments". It makes urls like: /apartments/ - for acrhive /apartments/%id%/ - for post page ...
3
votes
1answer
346 views

Disqus over the default commenting engine, what are some pros and cons?

As subjective as this question might sound, pros and cons in the technical sense is what I'm looking for as answers. I've been using Wordpress for about 2-3 weeks and 9/10 of the comments are spam, ...
3
votes
2answers
395 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 ...
3
votes
1answer
116 views

WordPress comment count to include attachment comments

How can I make the comment count on a post on my index page include comments that have been made on, in my case, individual gallery pictures that are included in the post? It seems that comments made ...
3
votes
2answers
176 views

How to target the default Recent Posts and Recent Comments widgets with pre_get_posts?

I added the following to my functions.php: add_action('pre_get_posts', 'keyl_get_emp_posts'); function keyl_get_emp_posts($query) { if ($query->is_main_query()) ...
3
votes
1answer
704 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 ...
2
votes
4answers
202 views

How to prevent spam comments?

I have NoSpamMX plugin installed. I was not getting spam comments for a long time. But now I am getting a lot of spam comments especially in one post. What is the reason that there is such a lot of ...
2
votes
2answers
660 views

Add delete, approve, spam Links to Comments

Anyone know how to add quick comment moderation links for users who have permission to add/edit posts and comments? (Upprove / Unappove / Edit / Spam / Trash ). Note: in my comments.php I call the ...
2
votes
2answers
665 views

How to remove commenters ability to add hyperlinks to comments?

I'd like to be able to filter out a commenters ability to add hyperlinks in their comment text. I removed the "websites" field from the mix to reduce the amount of spammage already (see: Removing ...