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
1answer
855 views

Link name in comments to Author page? Comment Author Meta in Comments?

I wasn't exactly sure how to word the question, so I'm sure that's why I cannot find what I need when searching Google either. I want to link all commenter names to their author.php page if they have ...
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 ...
4
votes
2answers
876 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
2answers
54 views

One comment per user per post but be able to reply to existing comments

I want to restrict my users to be able to comment only once per post but be able to reply to existing comments. How can I do that? I found this code which will do the half trick. With this code the ...
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
1answer
708 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
422 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
3k 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 ...
4
votes
1answer
61 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
248 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
678 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
247 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
184 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
2answers
310 views

Getting the comment number relative to all the post's comments

Any ideas how to accomplish this? Something like this would work, but if there are threaded comments you get the wrong number, because pages with threaded comments have actually more comments than ...
3
votes
2answers
868 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
304 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
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
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
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...
3
votes
1answer
94 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
3k 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
1answer
515 views

How can I manage all multisite pending comments in one place?

I have a WP multisite installation with a large number of sites. Thanks to auto-approving comments from registered users and invite only registration we no longer need to receive email notifications ...
3
votes
2answers
725 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
5k 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
893 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
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 ...
3
votes
1answer
198 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
127 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
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 ...
3
votes
4answers
416 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
518 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
1k 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
726 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
485 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
465 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
188 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
647 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
140 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
74 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
285 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
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
347 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
43 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
248 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
349 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
504 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
119 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
188 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()) ...