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

How to limit comment author to one comment per post

Is there a way to limit comments to one per post based on the comment author email ? It should work for none logged in users.
0
votes
0answers
47 views

Let user delete comment on front end only

I have a edit comments page on my sites front end and have placed a delete comment link for users. The link works however it takes the user to the backend to confirm the comment deletion. I cant have ...
0
votes
0answers
16 views

Admin panel: Show Comment Count column also for drafts (not only for published post)

I have a Custom Post Type. In admin panel, for published posts I see the column "number of comment", but for draft post I don't see this column or the option to enable it. How to enable the Comment ...
0
votes
1answer
37 views

How can I edit comment notification email content?

I have to edit the mail content which is default one to send notification to the post author when a comment is submitted. I need to add my custom content by replacing the existing comment mail ...
0
votes
0answers
25 views

Create Custom Comment Type

I have a page when I want multiple comment_template, so I want each of my comment_template to have different type so I see different comments in those 2. My get_comments look like this $args = ...
0
votes
1answer
38 views

Custom comment link

How can I customize my comment link without modifying comment-template.php file line 676: $link = $link . '#comment-' . $comment->comment_ID; I would like to get the same link just little ...
1
vote
1answer
76 views

Multiple Comment Forms in a single page [closed]

I would like to make a "Comment" section on every of my page on my wordpress website. So if you head to http://www.lolcounter.com/champions/lee-sin, You can see on top of the page the "General ...
0
votes
0answers
11 views

Two Comment Threads for 1 Post

I'm toying with an idea to provide a separate comment thread for certain users on my website. The idea is that this is a secondary thread, visible to all, but only accessible to some. I'm trying to ...
0
votes
2answers
31 views

How to add bubble count in WordPress wp_nav_menu menu?

I have to add a bubble notification in WordPress wp_nav_menu like the following code. <ul> <li> Tickets <span class="unread">2</span></li> ...
0
votes
0answers
29 views

Group comments by parent when using get_comments in Wordpress

I have a custom post type for books that I am writing and one for the chapters contained in the book. I have my theme set up so that comments for the chapters are posted and called from the ...
0
votes
2answers
113 views

Get post id within comments loop

I have a custom comments loop on my author.php page. I am trying to get the post id so that I can echo the permalink for the post that the comment belongs to. Also so I can echo some post meta custom ...
0
votes
1answer
33 views

How to enable comments meta box for other author posts?

I am working with a ticket system. which is a custom post type I created as ticket. And allowed to submit tickets in the front of my site. The registered users can post a new ticket, which Can be ...
0
votes
1answer
21 views

Converting restricted html in comments to bbcode

Problem: Wordpress multisite only allows the Admin account to include images in html for security reasons. It is possible to install a plugin that turns off these restrictions, but it apparently opens ...
-1
votes
3answers
39 views

isset($_POST['submit']) ignored on comment submission

I am developing a swear filter plugin for my blog. It is supposed to deny submissions containing any words in a text file called swears.txt. Here is the code I am using for the comment form on single ...
0
votes
0answers
24 views

Comment Reply Name

I have a little problem with my comment list. I want to display a comment reply name like You Tube. This means if someone reply to a comment, than shut be displayed on top of the comment, the name ...
0
votes
0answers
17 views

Comments page id wp_list_comments

Under post i want to display last five comments. At next comment page or after click button "show more comments" I want to display all comments or set quantity comments to display. How can i do it? ...
0
votes
1answer
23 views

How to require users not to be logged in for comments on single page only?

I am trying to make my own guestbook out of default comments, but I normally require users to be logged in. In this case, I need WP not to require it. Is there a way to do it for single page? Thank ...
0
votes
0answers
13 views

Handle comment errors without a session

Im currently working on the comments-section of a WordPress site. I have worked on a lot of WordPress sites, but this is the first time I incorporate a comment section. I was quite surprised to see ...
0
votes
0answers
33 views

Add comment box in a pop-up?

I'm developing a WordPress site and I view the posts in a pop-up div, so I want to add the comment box in the pop-up div as well. I've already tried to do it with Facebook comments, but the problem is ...
0
votes
0answers
29 views

Count comments shows always the count of the first post in the homepage

I have a problem with the "comments count" in the toggle link in my blog: http://www.albertosotophotography.com I have this script (in header.php) for show/hide comments in main page: <script ...
0
votes
1answer
20 views

Comment section not appearing on posts

My comment section simply does not appear on posts, even though on my first couple test posts, it did appear. The current theme I'm using is Tesseract, in case that is relevant. Before that I was ...
4
votes
1answer
32 views

How can I control the comment counts filtering my CPT replies?

I'm developing a plugin that is using the comments table with custom comment_type for CPT replies. The problem was that, I's getting replies to my CPT in Comments page (/wp-admin/edit-comments.php). ...
0
votes
1answer
15 views

Individual Comment Notification Setting For Post Author

Is there a way (Either plugin or custom function), to let every author individually choose, if he/she want's to receive comment notification for his/her posts? Some of my autors need to receive those ...
0
votes
2answers
97 views

Add back to post link on blank comment post error page

When you visit any wordpress post and click on the "Post Comment" button it just post that blank data to the server and while doing the check at php level it shows this annoying error message to ...
0
votes
1answer
25 views

How to save comment name email url fields?

First of all I must admit that I'm not entirely sure about whether or not this question is allowed here (as this is not code debugging question), but still asking in hope some wp users can show me ...
1
vote
0answers
18 views

Why do I have to manually approve comments from one of my users who already has an approved comment?

I have the "Comment author must have a previously approved comment" option checked, and the "Comment must be manually approved" is very much unchecked. My blog is kinda unknown, and I only have 7 ...
0
votes
0answers
15 views

How to display and edit “Your comment is awaiting moderation.” comment message for logged in users

I want ALL users regardless of their logged in status, except admin, to have their moderated comment status displayed on the front end as per non logged in users. If I could edit the wording of the ...
3
votes
1answer
64 views

Sticky Comments

How can I have sticky comments? I am trying to make it so that I can make a comment go above all the other comments. Is this possible? If so what code can I use to achieve this? Thanks
0
votes
1answer
51 views

How to display the user's comment status on the front end

How can I display the current status of a user's comment/s (on the front end), that is, "approved" or "pending"
0
votes
2answers
74 views

How to allow duplicate comments AND without comment text

I've searched hard but I've been nowhere near close to finding the answer to this... I have a comment meta box that gives the commentor two tick boxes. The tick box is the only input into their ...
0
votes
1answer
19 views

Prevent author from editing comments from others in their post

I want to prevent other authors from editing other people's comment made in their post. Does anyone here know how to do this?
0
votes
0answers
16 views

inserting an if statement in wp_notify_postauthor

I'm trying to use the following code below in a plugin i made to send an email to the post author on a comment update. It works but causes problems when creating the custom post type "ticket". I have ...
0
votes
0answers
14 views

How to use query on pre_get_comments?

I'm trying to make a search field for comments but when I try to modify the query in pre_get_comments nothing changes to the output. This same way IS working with pre_get_posts but for some reason I ...
0
votes
0answers
29 views

How can one display the comments and comment form by supplying a post id?

I have a masonry layout of post images. When you click on one it shows the larger image and some event details. I'm trying to print the comment form along with those details. I've tried simply ...
0
votes
1answer
26 views

is pre_get_comments not working?

I am following through the "Professional Wordpress Plugin Development" book from WROX and I wanted to use this piece of code I found in it (I switched pre_get_posts with pre_get_comments) for my ...
1
vote
0answers
58 views

Comment search plugin

I want to develop a plugin which places a search input field above the first comment on the post pages, filters the comments below that post, and only shows the comments which include the string that ...
0
votes
3answers
42 views

Display Most Recent Three Comments Per Post

I'm using the comments_template() function to echo out my comments template in the sidebar of each post. This is a requirement of the project. It has been requested that I only echo out the three ...
0
votes
1answer
26 views

How does WP decide how to display a page

I am new to WP. I tried reading up as much as I possibly can online, and via browsing through the files. As far as I can tell, no physical pages/links are stored on the disk, so when a page is ...
0
votes
0answers
16 views

Is it better to set social media sharer in entry-footer.php or comments.php in Wordpress blog?

I'm now deciding where should I put social media sharers. Currently, I'm now putting sharers code in entry-footer.php. But is it more semantic to put sharers in entry-footer.php, in the bottom of ...
0
votes
0answers
55 views

Get all child comments ids from parent comment id

I want to get all child comments ids from parent comment id. Do i have to write custom sql or can i use get_comments() to achieve the following output. eg 1 I want to get 2,3,4,5,6,7,8 ids from ...
0
votes
0answers
25 views

Comment form unset email

I want to remove the URL and email field from the contact form. I have removed using following filter: add_filter( 'comment_form_default_fields', 'filter_comment_fields' ); function ...
1
vote
1answer
33 views

Comment displaying full name even after setting another display name?

I've tried everything ... Changing the display name of the user: Changing the author name of the comment: But it doesn't work. The author name of the post is still the user's full name: Why ...
0
votes
0answers
30 views

A new trackback on the post “” is waiting for your approval

I have this message in my inbox. A new trackback on the post "" is waiting for your approval I turned off all trackbacks and comments and I don't know why its still allowing them. Any ideas on ...
0
votes
1answer
31 views

How can I eliminate all comments going into moderation?

I've been asked to rescue an authors' blog following a sketchy plugin explosion. Following their debacle, one of the things that occurred is that all of the comments made by members are being held ...
1
vote
1answer
50 views

Disqus Comments donot appear below the WordPress post [closed]

I a have fully working WordPress website built using ColorMag theme. In order to integrate Facebook Comments, I added Facebook Comment Plugin. I disabled default WP comments. Later when I added Disqus ...
0
votes
0answers
9 views

How to Move Comments from a Page to Author Page?

I created an About Me page (let's call it Page A) for my site, but now I'd like to move much of that content onto my author page and use Page A for more of an About This Site type thing. The problem ...
0
votes
1answer
20 views

Modify comments_popup_link output

The following function generates the plain output eg. No comments, 1 comment etc. comments_popup_link( __( 'No comments', 'textdomain' ), __( '1 Comment', 'textdomain' ), __( '% ...
1
vote
1answer
48 views

Spammers attacking my Wordpress Site - Removing URL field from core? [closed]

I removed url field from my comments so there is just basically name, email and textarea field. But spammers are keeping spamming me with comments that has URLS even if comments form doesnt have any + ...
0
votes
2answers
89 views

Get number of comments after modifying comment query

I have modified the comment query arguments in comment-template.php from $author_id = get_query_var( 'author_id', 1 ); $comment_args = array( 'order' => 'ASC', ...
0
votes
2answers
43 views

How to move comments box above comments

<?php /** * The template for displaying comments. * * The area of the page that contains both current comments * and the comment form. * * @package Tesseract */ /* * If the current post is ...