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)

1
vote
1answer
15 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 ...
-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
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(); ...
1
vote
0answers
32 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 ...
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
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 ...
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
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
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

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 ...
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, ...
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
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 ...
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" ...
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
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
0answers
11 views

Comment Nav versus jquery Tabs

I have a page full of comments. These comments have 3 custom_fields assigned to it (using get_comment_meta): New In Progress Solved From my page I call the comments using: wp_list_comments( ...
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
1answer
14 views

Copy and Paste Password for Comments

One of my newer clients has an extensive WordPress blog (on SE I am a Joomla man) and I am sure there must be some reason behind this. For comments it asks you to copy a password - and then paste ...
0
votes
1answer
30 views

Display DISQUS on homepage

I have installed disqus and I want it to show up on my homepage. It replaced the old wordpress comments system on pages and posts but I also want it to appear on index.php my index.php file now - > ...
0
votes
0answers
11 views

Prevent comments from being rendered as HTML

I would like users to be able to enter XML structured text in the comments, but wordpress consumes the tags and they are not rendered. How can I disable this functionality? HTML is not important to ...
1
vote
0answers
17 views

Display date and time in comments

I use wp_list_comments(); to display a list of comment in WordPress. But it does show the format characters instead of the correct datetime. How can I fix this bug? Thank you.
0
votes
0answers
52 views

WooCommerce Review Modification [on hold]

I'm trying to modify how the WooCommerce Reviews are displayed. I want to remove all tabs on the product page and display the reviews as part of the main content. I understand how to disable all the ...
4
votes
2answers
107 views

What for is the table “wp_commentmeta” exactly?

I have been reading about the Database Description of Wordpress. I haven't understood the meaning to the use of the table wp_commentmeta. The documentation says: Each comment features information ...
0
votes
0answers
6 views

Comment box html [duplicate]

I want to allow users to be able to use the codes <ol>, <ul> & <li> in the comment section, but my google-foo is weak (100% chance I'm using the wrong keywords), mind helping me ...
0
votes
0answers
13 views

Turn off comments for given CPT checkbox?

I'm wondering what's the best way of turning off comments for a Custom Post Type? I don't want to turn it off completely which is quite easy but to create a checkbox in wp-admin that will turn off ...
0
votes
0answers
36 views

I want to use ONLY Disqus and turn off default Comments

If I set "Comments: OFF" (Discussion > Allow comments > OFF) on post - Disqus (and default WP Comments) does not show on single post. I founded in settings (Comments > Disqus > Plugin Settings) ...
0
votes
1answer
43 views

Trash a post, send associated comments into the trash bin (change status)

When trashing a post, all comments associated with this post get the status "post-trashed". They do not end up in the trash bin. In my theme the author gets a point for posting a post or a comment. ...
0
votes
0answers
25 views

Hook into trash_post_comments, update_user_meta

I have a theme where the author get points for posting posts and comments. When I trash a post, the user get 1 point removed from their score. This works fine with this function: However... When I ...
1
vote
1answer
77 views

When trashing a post, also trash related comments

As it is now, when I trash a post, the related comments get deleted at once. Is this standard? Instead I'd like them to be moved to the trash bin, when I trash the post. How can I achieve this? I ...
0
votes
0answers
57 views

spacebar is not working in input and textarea

i have displayed comments box with <?php comments_template(); ?> and now when i am styling the input and textarea. Surprisingly both are not allowing spacebar. That means when i type something ...
1
vote
2answers
70 views

Count all comments of a custom post type

I know how to count comment per post, user and in total but i am having problems getting the total amount of comments post in a specific post type. I guess i can loop trough all the posts and count ...
1
vote
1answer
26 views

WordPress comments work locally only?

Here's my issue: on localhost: comments just work for both registered & logged in users AND for guests, live (on-line): comments work only for registered & logged in users, comments posted ...
0
votes
0answers
12 views

Comments - Ensure the correct field is highlighted for nested replies

I've got my comments working great, well.... Just about Great!!!! I'm a passionate UX guy doing my blog. I've got the comments form to beautifully reposition its self under neath a comment so that it ...
0
votes
1answer
25 views

Apply comment to different post (not the current post) [duplicate]

I'm building a scrolling page website and on that page I have comment form and some posts from different categories. Comments applied to wrong post. Is there a way to choose the post I want ? ...
0
votes
0answers
46 views

wp-editor-area textarea disapear on cancel-comment-reply-link click

I am using this tutorial to implent the wp_editor in comments. everything went fine except when i click on cancel-comment-reply-link. the form move on to its initial position on the bottom of ...