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
0answers
19 views

Stylizing Threaded/Nested Comments

I'm creating my own theme to WordPress. I got problem with nested comments. I don't wanna limit the levels to reply, but I would like them to stay in that format: This is the code I'm using: <ol ...
1
vote
0answers
42 views

Strategies for coping with hyperagressive spambots?

A couple of my sites are getting slammed by a hyperagressive distributed spambot. It's just pure link spam. It all comes from one user name, but from a variety of IPs. Akismet is catching the spam, ...
3
votes
3answers
142 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 ...
1
vote
1answer
53 views

Send Notifications to All Admins

I want to, hopefully without a plugin, get and loop through all admin accounts and notify each admin when a comment has been posted or a user has registered, etc. I tried to look into this but all the ...
0
votes
1answer
20 views

comment files and s

I am building a custom template and would like to incorporate comments and replies using the standard WordPress core. What files and scripts do I need? I copied a comments.php file but the replies ...
0
votes
1answer
36 views

Showing recent post of category in page

Any ideas, how I should do this: Recent post (with comments) shown in page? I need fixed url example.com/question that shows the most recent post, style should be same as in normal one post? Can I ...
0
votes
0answers
85 views

Multiple Comment Threads + Form on one page

i was wondering if somebody has any reference on how to have a wp page with two totally separate wp comment threads + form side by side without using iframes. its a concept page that is basically a ...
1
vote
1answer
27 views

Second comments section for one post/page

For a project, I need to have 2 comments sections related to the same post/page. Is there a way or a plugin to do that ? By default, Wordpress allow only one comment section for one post/page. Thanks ...
1
vote
1answer
341 views

woocommerce allow users to select or use avatar

I am working on constructing a ecommerce site that is run by woocommerce and the free woo theme artificer. Standard with the plugins there is a my account page which allows you to put in basic ...
1
vote
1answer
35 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
vote
0answers
95 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
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 ...
7
votes
5answers
3k 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 ...
1
vote
0answers
72 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
199 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
230 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
657 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
1answer
92 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
80 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
187 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
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 ...
0
votes
0answers
21 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
584 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
52 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, ...
0
votes
0answers
30 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
62 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
61 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
5 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
22 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
25 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
1k 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
1answer
46 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 ...
2
votes
2answers
101 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
318 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
12 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
39 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
730 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
15 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
28 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
11 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
20 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
936 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. ...
8
votes
1answer
771 views

Non-threaded comment replies with link to original comment

I'll explain what I am trying to accomplish. I would like to have regular non-threaded (flat/classic) comments with a reply link to each comment. When someone replies to a comment the reply comment ...
0
votes
0answers
29 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
372 views

Make email not required comments.php

I need to edit my comments.php to make emails NOT required. I've attached my code below, I understand that I need to get rid of $req and $aria_req from my email field, but as the site is live I don't ...
0
votes
1answer
31 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
143 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
16 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
48 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.
5
votes
2answers
597 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 ...