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
12 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
68 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
44 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
288 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
35 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
35 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
56 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
30 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
24 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
18 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
41 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
46 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
32 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
46 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
18 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
177 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
42 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
26 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
22 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
84 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
85 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
138 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
28 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
22 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
33 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
39 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
57 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
61 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
51 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
27 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
18 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
1answer
103 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
26 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
54 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
36 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
36 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
83 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
25 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
49 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
113 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
70 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 ...
0
votes
0answers
15 views

Is there a way to allow visitors to respond privately to a comment?

I'd like to allow visitors to reply to a comment by filling a contact form that would send an email to the comment's author (eventually whith a copy to the site admin). This way visitors could send ...
0
votes
1answer
133 views

Make custom Wordpress comments list

i'm making a custom Wordpress template and I've made this HTML code for single comment template: <div class="comment" id="1"> <div class="useravatar" ...
0
votes
1answer
21 views

Stop theme displaying comments

So with all comments disabled on pages/posts theme's still display any existing comments. Is there a way to programmatically stop this happening without adjust the theme's code? My plugin uses ...
0
votes
0answers
56 views

Categorizing or tagging post comments

To implement a particular requirement I want to be able to categorize/tag post comments as well. Is there any plugin that does it? Or is it even possible? For example: there might be a post and some ...
0
votes
2answers
127 views

Echo out custom fields in comments

I am trying to figure out how to echo 4 created fields from a plugin in my theme template for the comment form and customize the comments output as well. The plugin I am using lets me add custom ...
0
votes
0answers
35 views

Previous and Next comment page link not work

I have a custom post type name recipe. I've already removed slug for post: From: example.com/recipe/cake-post To: example.com/cake-post But I have problems with break comments into page: previous ...
0
votes
0answers
32 views

Send post via XMLRPC with open comment

I'm trying to send post via xmlrpc to wordpress but I don't know how to send comment_open to the wordpress. Is there any options to do so? I read the documentation but didn't find any option regarding ...