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
258 views

How to convert WordPress comments to bbPress replies

I have a old blog that I would like to upgrade to a blog/website with bbPress forums and would like to convert the post to topics and the comments to replies. I already created my topics and now I ...
1
vote
1answer
18 views

comments in Admin

I'm confused about what the Comments section on the posts in the Admin actually does. I have Comments turned on in Screen Options for a post. When I display a post, I see a Comments box. If I enter ...
0
votes
2answers
315 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
votes
0answers
22 views

Remove comments from database

I have a number of comments generated by a WooCommerce payment gateway module. For some reason the comments can not be deleted in the backend (no checkboxes). Would it be safe to delete them from the ...
1
vote
0answers
13 views

Posting comment returns 404

I've been tracking an issue in one of our WP installations and keep coming up short of a solution. One of our websites is installed in a sub-directory of our main website. Both are WP installations. ...
0
votes
0answers
18 views

Custom comments list, right depth

I created a custom comments_list() function, it works fine, the only problem is to show child comments inside the parent div. It works well with first and second depth levels but not for others. This ...
0
votes
0answers
7 views

Automated new post & new comment notification system

I am using a WP "blog" as a private conversation tool between two people. I'd like, each time a new post or comment is published, the other user will be notified by email. This should happen ...
0
votes
1answer
241 views

Get Comment Author ID on the fly while posting

I am adding custom data to custom table while author posting a comment. Please find my code in my own answer here http://wordpress.stackexchange.com/a/85109/9821 Now I want to add one more column of ...
0
votes
0answers
12 views

How do I disable comments on a page? [duplicate]

I want to disable comments on my pages. That means there should be no comment form, no message asking to log in in order to post comments, nothing. Under Settings > Discussion is the option "Allow ...
0
votes
0answers
20 views

Comments template override [closed]

I would like to add an extra class to my comments template and I have a call in my functions.php but I don't know how do I pass to comment_class() an extra class? <li <?php comment_class(); ...
0
votes
1answer
585 views

Custom post type: can't enable comments by deafult

I want to enable comments for custom post types just like they are for standard posts, but can't seem to get it to work. In functions.php, as part of registering my custom post type, I have this: ...
6
votes
5answers
2k 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 ...
0
votes
1answer
306 views

Display category-specific comments in sidebar

I'm trying to display comments in the sidebar from only the current category. So far I've got this: <?php // Posts per page setting $ppp = 8; //get_option('posts_per_page'); // either use ...
1
vote
0answers
33 views

Comments on Author page

Update: Ok,the DEBUG log says: PHP Notice: Undefined offset: 0 in /home/content/00/8437600/html/test/wp-includes/query.php on line 3105 PHP Notice: Trying to get property of non-object in ...
1
vote
3answers
22 views

Why are authors allowed to approve comments on their posts? How to revoke privilege?

I was under the impression that only admins/editor roles can approve comments however our authors are able to do so as well on their own posts. I want to disable the ability for an author to approve ...
1
vote
1answer
42 views

How to limit users to one comment per post

I am using WordPress as a petition site and hacking the comments system to work as the petition signup. I would like to find out how I can limit a user to post only one comment per post. So far I can ...
0
votes
2answers
455 views

Genesis Child Theme Modifying Comments display

I'm using a theme which works with Genesis Framework. The theme is called pinsomo & I'm wondering how to "move" comments count div to the bottom of the post. Here is the demo: [[link has ...
0
votes
0answers
81 views

Comment Submission Timeout - Varnish / Cloudflare

Curious to see if anyone has encountered this before - when a comment is submitted by a non-admin user on a WordPress 3.6 site (standard comments setup, no plugins), the comment is submitted (hits the ...
0
votes
1answer
19 views

Hide comments and posts posted by other user

I've created a user with role Contributor, when i logged in as Contributor all the posts and comments are listed in the dashboard. How to disable this? I just want to see the post made by ...
0
votes
0answers
18 views

Changing theme from twentytwelve to twentythirteen comments not working

I have a wordpress blog located HERE. A couple of days ago I changed the child theme from this blog over from twentytwelve to twentyfourteen. As a result now, my comments box at the bottom of each ...
0
votes
1answer
156 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 ...
3
votes
2answers
956 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 ...
0
votes
0answers
13 views

Prevent moveform() to moving the original location of comment form

I have a post with comment enabled, also enabled threaded comment with max level 3. Each time I want to do a comment reply, the form comment box is moving to the comment which I want to reply. But I ...
1
vote
3answers
315 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 ...
0
votes
2answers
243 views

Show count of all comments by meta_value from a users posts

I'm trying to display the total number of comments for a users posts limited to a comment meta. I've tried using both get_comments() and WP_Comment_Query() but I get the same result of "1" for the ...
0
votes
2answers
455 views

Check for Facebook comments in a post?

How can I check if a post has Facebook comments on it and create a conditional statement? I'd like to show a small comments icon if any comments have been made. Even better, anyone know how to get ...
0
votes
1answer
49 views

Success message in comment form

I am using wordpress 3.8. I am using comment_form(); I need to display a success message on successfully posted comment on blog. How to do this?
0
votes
0answers
24 views

wp_trash_post retrashes already trashed comments?

I have a few mail- and update_user_meta functions that fires when a post, comment or child comment gets thrashed. So when I trash a comment with trash_comment, a mail get sent to the author: "Hey, ...
6
votes
2answers
438 views

Is there a plugin for posting inline comments, like in MS Word?

I want to make a cookbook style wordpress website, on which visitors can place comments inline. Like you do in a paper book with a pen: between the lines. Or like how MS Word handles comments. Does ...
0
votes
0answers
22 views

set custom value on default admin columns based on row values

I added some foreign key to wp_comments db table. Some comments could be indipendent from post. For these comments I've comment_post_ID set to 0. So i need something like: ...
0
votes
1answer
33 views

Comments from other blogs are getting added to my blog?

Today I started receiving a ton of requests to moderate comments on my blog, but when I looked at the comments they are clearly from multiple other people's blogs. What could be the cause of this and ...
0
votes
1answer
33 views

Let both the admin and post author update comment meta

I have a function which lets the post author set the "best comment". I want the admins to also be able to set the "best comment". Who can this be best achieved? // Set Best comment for post ...
0
votes
1answer
30 views

Do I need to deal with WordPress SQL Injection

Do I need to prepare strings against MySQL Injection when inserting into the database using a WordPress comments function such as this: $data = array( 'comment_post_ID' => $post_id, ...
0
votes
0answers
3 views

Store comments that can be searchable and displayed

I am using a theme and plugin that allows you to create a listing of a business and then users can review it like Yelp. The review function works off the comments section and allows users to add a ...
1
vote
0answers
14 views

How-To and Troubleshooting Canonical Links for Paginated Comments

It seems that when you paginate comments, the additional pages don't have their canonical links point back to the original page. This would seem to lead to duplicate content issues (i.e. same post, ...
0
votes
0answers
21 views

How to force users to nest their comments

I am trying to figure out how to force commenters to use threaded comments (and not the general comment box at the bottom of the post) on one particular post. I want only admins to be able to post new ...
2
votes
2answers
907 views

Custom Post Type loops and Disqus

I've created a CPT for a site I'm working on at the moment called "campaigns". I've created a page which displays some content as well a custom loop which displays the most recent Campaign. ...
0
votes
0answers
11 views

How to manage SI Captcha redirections after submitting (with or without errors)?

As reported on the title, is there a way to manage the submitting of a comment in all the possible scenarios? no inserted comment (NO COMMENT) wrong captcha (NO COMMENT) comment and correct captcha ...
0
votes
0answers
18 views

reCAPTCHA is not visible on comments loaded via ajax

I've a php template loaded on a popup and this template should contain on the bottom the possibility for a user -logged in or not- to write comments. for security reasons it was installed the plugin ...
0
votes
1answer
26 views

transition_comment_status gets called when untrashing comments

I can't seem to figure out why untrashing a comment, calls my "approve_comment_callback"-action. Any ideas? I just don't want it to send two emails at the same time, when I untrash a comment. Here ...
1
vote
2answers
52 views

How can I automatically delete comments that contain chinese / russian signs?

Once in a while, I get comments like these: 苍天有眼啊,让我在有生之年得以观得如此精彩绝伦的帖子。 They are absolutely useless to me. I don't even know if it's Chinese / Japanese / Korean / ... How can I tell WordPress ...
1
vote
1answer
180 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
0answers
10 views

Updating comments with replies

I looked around and didn't see any other questions on this topic, so here's a shot in the dark. I am trying to update the meta on a parent comment when it receives a reply. Here's the code I have so ...
0
votes
1answer
15 views

linking to an svg through comments_popup_link

I want to remove the text in the comment section and replace it with svg which falls back to png. This is my code so far <?php comments_popup_link('<object type="image/svg+xml" ...
3
votes
5answers
567 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 ...
0
votes
0answers
11 views

Admin post comments not returning in get_comment function

I don't get the comments of the post submitted by admin in user side. From the users side, I want to show the admin post and each posts comments. I am writing the following code, $args = array( ...
0
votes
1answer
15 views

Broken comments section - Wordpress 2014 Theme

I recently switched my Wordpress theme to the "default" 2014 one. Everything looks great, except I'm having trouble with comments showing up correctly. Can somebody help me understand what's wrong? ...
0
votes
0answers
6 views

Count comments + last pub date for subcategories

How do I get the comment count for a subcategory in this loop? So every child category of 225 had comments. That amount I want to list per child. Tried some stuff with get_comments, but unsuccessful ...
0
votes
0answers
15 views

Email “child comment” author when attached post has been deleted!

This function works great when trashing a comment or deleting a child comment, manually. But when I trash a post or even delete it, the action "delete_comment" doesn't seem to run. function ...
0
votes
1answer
342 views

How does “Your comment is awaiting moderation” work?

The question here is if someone could help me to make the comment "Your comment is awaiting moderation" work correctly for custom page. It works ok for standard Wordpress page but not for my own page. ...