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)

0
votes
1answer
40 views

Returning error upon comment being flagged as spam

Hello Im using a custom filter that hooks to pre_comment_approved to look for bad words in a custom way. Now when the comment gets flagged it returns spam. How could I post back an error to the ...
0
votes
1answer
108 views

Enable comments for post when comments meta box removed

I've hit the issue described in '11: "Enable comments for post with comments meta box removed" and I'd like to ask for your help to adapt the mentioned there code to the current wordpress version. I ...
2
votes
3answers
96 views

Is it possible to make wp insert last comment onto another page

If we set wp to break comments into pages after X nr of comments and we have X+1 comments , wp only shows that last comment instead of showing X and move the comment from bottom onto the next page. ...
0
votes
2answers
48 views

comments are going to spam

Why all wordpress comments are going to spam? I didn't installed any plugins to protect blog from comment and trackback spam. Please help me to find a solution.
1
vote
3answers
94 views

How can someone submit a comment when my site has no comment field?

I was a bit surprised when I got a message that a comment was awaiting moderation on a website where I have I have turned off Allow people to post comments on new articles and there are no comment ...
0
votes
1answer
202 views

Can I use WP comments for custom tables?

I'm using WP as the framework for my site and I have a bunch of custom tables. Now I need to allow users to write comments to various entities. Let's say one entity is image and I want users to ...
0
votes
1answer
73 views

Comment Blacklist

I have a list of words that I placed in my blacklist_key option values update_option( 'blacklist_keys', $words);. But I still can make a comment with such words. Any ideas? I can't answer my question ...
0
votes
1answer
68 views

How many members have made comments approved for an article?

Good afternoon. Please, I would like to have a function that calculates for each post displayed (one by one), not how many comments, but how many are the authors of the comments for the post viewed at ...
0
votes
0answers
127 views

Integrate Facebook comments with native comments

I've finally installed the Facebook Comments plugin to allow readers to comment using their Facebook identity. After the installation, I got two different comment sections, with two separate comment ...
1
vote
1answer
44 views

Comment Moderation and CDN Caching

I work on a site that is entirely cached by a CDN. We are about to roll out comments and will be moderating every comment before it goes live. When someone posts a comment and the page is rendered ...
0
votes
1answer
526 views

How to get a value from comment meta

I've add the field country in the comment form. Working nice and I can see the value in the table commentmeta. Now I try to display this value in my comment list. In my single.php I call the list ...
0
votes
1answer
63 views

How to remove the number of a comment in the url slug?

Searched through google but can't find anything related to it. Either I don't know what terms to use when searching or there's nothing about it. I want to remove #comment-* we all know that it ...
4
votes
1answer
343 views

Adding another state (spam, reject, approve) to wordpress comments?

i know this might sound a bit weird, but what I'm trying to do is rather simple in mind but may be technically difficult. I'm running small contests on my wordpress site where I ask users to leave a ...
2
votes
1answer
316 views

Why is styling comments so complex?

I've been building a theme completely from scratch and after a straightforward process up to this point, I've reached the comments.php file. Again, nothing too out of the ordinary, until this: ...
0
votes
1answer
204 views

Comment moderation with disqus comments

Comment moderation on custom post types this answer shows moderation on custom posts. Is this possible with disqus?
0
votes
3answers
435 views

How do i hide all comments from logged out users

Is there a way to remove published comments so they're hidden for logged out users?
0
votes
2answers
70 views

Removing the comment function within wordpress

I'm using wordpress for my company website but I want to remove the comments function completely so not just by unchecking a "alow comments" within every page. I did some googeling and the said I was ...
0
votes
2answers
206 views

Wp admin - Set default value to 999 in comments

When you are at the comments menu in wp-admin you only see 20 comments at the time, so if you want to delete alla comments you can ONLY mark the 20 comments you see on current page. It dosent mark ...
1
vote
1answer
94 views

comments_number display outside specified span

I want to display the number of comments a particular post has, so i thought i'd use comments_number, however when i use this the comment number gets printed outside of the span it's supposed to be ...
0
votes
1answer
238 views

display only parent replies count in index.php

Currently my posts display the total count of comments (i.e both replies and sub-comments). I want to display only the number of reply count in my index.php (and not comments for a reply) for each ...
1
vote
0answers
95 views

Loading Multiple Comments Pages via Ajax?

I have been searching Google and still haven't found any great ideas for making comments pages load via Ajax. After searching SE I found this older thread from just a few months ago which provides a ...
0
votes
1answer
80 views

Comments not displaying after changing theme

The 'Leave a Reply' section at the end of my posts are not displaying after changing to the 'The Morning After' theme. Comments and reply sections are displaying when I revert to the Twenty Eleven ...
1
vote
0answers
58 views

Alternative to the filter comment_reply_link

I'm making a plugin and need to add a link to every comment on the front-end. I've used the filter comment_reply_link but that filter doesn't work when we're on the lowest level of threaded comments ...
2
votes
1answer
210 views

How To Disable Comments On New Page

I am writing a plugin that upon activation, it creates a few new pages. On these pages, I want to disable the comments option. I am adding the new pages via the code below: $page['post_type'] = ...
2
votes
3answers
263 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
1answer
63 views

Plugin: How should I handle deleting comments?

I am writing a plugin that creates an api for a custom post type. Users can comments on the custom post types and the comments are added using WP core comment methods. My question arises when trying ...
2
votes
1answer
235 views

Why do I get email notifications about comments that Wordpress has already determined are spam?

I have a wordpress.org blog that I host on my own site. I have the Akismet plugin installed, and in general I keep both up-to-date (e.g. at the moment, Akismet is at version 2.5.7, and Wordpress at ...
0
votes
1answer
51 views

Changes in comments.php in the child theme does not show up on the site

I am trying to customize the comments template in the comments.php and so have made some changes to the code, including a call back function in wp_list_comments() (which I have defined in ...
0
votes
1answer
215 views

wp_query select if have comments

I previously asked and accepted a similar question here: wp_query and comment_parent - select only posts with top level comments So I'm trying to use wp_query to select only posts that have comments. ...
0
votes
2answers
288 views

One comment per user email per post

i have this code to limit the comments per user. <!-- #only one comment --> <?php global $current_user,$post; $args = array('user_id' => $current_user->ID,'post_id' => ...
0
votes
1answer
164 views

Facebook comments widget - App ID

I have installed a Facebook comments widget that seems to be working just fine without the App ID. Is the App ID really necessary? What advantages will it give me if I add it?
0
votes
3answers
755 views

adding a text message beside the comment submit button

What is the cleanest way to display a text message beside the submit button like this in screen shot: I am currently doing it by editing the file wp-includes/comment-template line 1577 (wordpress ...
0
votes
1answer
306 views

How to allow logged in users to post anonymously

I've been searching and searching for a while now to see if there's a way to allow people who are logged into my BuddyPress site to make a post on the activity section as "anonymous" or as their ...
0
votes
1answer
142 views

How to make all the posts commentable by default? Imputs in Settings/Discussions are not saved

I've modified my website quite a bit and now looks almost as I desire. I've set all the posts to be commentable in Settings/Discussions but it seems that this imput is not saved and new posts by ...
1
vote
1answer
57 views

Display Custom comments field number

I have some custom comments fields, I need to display the number of times that a meta value is used Example : I have a custom comments field "Do you like this post" with multiple choice : Yes ...
0
votes
1answer
210 views

Function to prevent users from trashing comments

Is there any way to prevent/hide trash button for comments? Note that I only want to prevent users from emptying the trash for comments. Can't seem to find a way. Is there any possible way to do that ...
0
votes
1answer
163 views

Comments screen in backend, how to disable visual editor when replying to a comment

I'm almost done to create my project with WP and all the steps taken have brought me almost to the finish line. The following recent answers I had were able to help me customizing the comments area: ...
3
votes
4answers
788 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 ...
5
votes
1answer
123 views

Comments screen in backend, how to disable email address of commenter for non admins

I'm trying to configure the comments screen in the backend to fit my project. I've already been able to take a first step by resolving this question: Comments screen in backend, how to disable Quick ...
0
votes
1answer
177 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. ...
0
votes
2answers
165 views

show posts from one category with comments only

Would anybody have a good idea for getting the WP to spit out all posts from a category with (approved) comments only? I have an ecommerce site set up, and treat comments on product posts as ...
0
votes
1answer
1k views

Comments are invisible, what's the problem with wp_list_comments?

My code is the following: <?php get_header(); ?> <div id="main-content"> <section id="primary"> <!-- <h2 class="cat-title">Latest news</h2> --> ...
0
votes
2answers
522 views

<?php wp_list_comments(); ?> is it possible to have the full code instead in the comments.php page

I strongly need to edit some parts of the comments left by the users, I want to add a link to the commenter's author.php page if he/she is a registered user by placing a text link somewhere next to ...
0
votes
1answer
46 views

Display facebook comments made on site

Im using facebook comments for wordpress, now i would like to display the recent comment using the widget but its getting an error Fatal error: Cannot use string offset as an array in .. Is there ...
0
votes
1answer
61 views

How can I have a full comments.php for an easy editing of all its aspects?

Is there a way to get the full code of the comments.php instead of the one I have with any recent theme where I just can edit few parts of it? I know it's encoded but I wonder if there's a chance to ...
4
votes
1answer
290 views

show number of open comments on custom dashboard

On my custom dashboard, I want to show the number of total new comments (somehow like "right now"). Just like "You have ... open comments to take care of". So all I want is the total number not a list ...
1
vote
1answer
257 views

Display User Role Next To Comment

I've search around but I can't seem to find exactly what I'm looking for and for the first time I don't even know where to start. How do I display the user role (Admin, Editor, Author Contributor, ...
1
vote
1answer
91 views

Creating a plugin to sanitize comment and the url field before display only

I want to create a plugin to sanitize comment and mainly the url field before display only (not before adding to database), to filter the url fields and only allow displaying this field only if it ...
1
vote
1answer
866 views

How to add enctype to multipart/form-data to comment form?

I need a way to change the encoding type for my comment form, without hacking the core files. I'm aware of the function to work on the post editing form: post_edit_form_tag. I've tried this: ...
3
votes
1answer
373 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 ...