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
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
15 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 ...
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
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
28 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 ...
0
votes
1answer
25 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
24 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 ...
5
votes
2answers
781 views

A plugin where users can comment with Facebook or Twitter or OpenID [closed]

Is there any plugin where users can comment with Facebook or Twitter or OpenID...
2
votes
2answers
705 views

Comment Author Name In Reply Form

I have enabled comment replies in my blog. Lets say there is a comment Nick has written... when I'm gonna reply, I want to display a message "Replying to Nick" in the reply's form header. Anyone knows ...
0
votes
2answers
1k views

How to resolve 404 errors for wordpress comments/feed when I have disabled comments

I have disabled comments in my wordpress site. So comments/feed url is giving 404 error. So how should I resolve these errors? doaminname/feed works fine. But domainname/comments/feed is giving error. ...
2
votes
2answers
906 views

How could I create a 'private comments' section on a custom post type?

Related to my How do I create a custom post type for a training CMS in WordPress? question, I would like to know how I can create a private comments section for a custom post type (or any post type ...
0
votes
0answers
90 views

Get most active users sort by comment count

how can I display a list of the most active users (with permalink and thumb) sort by comments count? I found this on WP Codex that list all the users, but I don't know how to sort by comment count. ...
4
votes
1answer
4k views

Redirect user to a custom url after submitting the comment

After someone submits a comment this line of codes redirects him to the post (i believe). Can I modify the code in order to redirect him to a custom URL? do_action('comment_form', $post->ID) Ty for ...
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
48 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 ...
2
votes
1answer
567 views

Can't show comments count per post outside loop

How can I show the amount of a comment per post outside the loop? I tried this in a function already: ' . get_comments_number . ' , but that outputted the text "array" on the screen... What do I have ...
1
vote
2answers
5k views

Add Comment Custom Field

I searched a lot of thread regarding my problem, but unfortunately I found nothing works, and this my final option. I want to add some custom fields on my comment form. How can I do that?
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' ), __( '% ...
0
votes
3answers
850 views

Embedding Youtube video on comments

In my posts, you can embed a video of Youtube by adding the link to the post. You don't have to do anything beside that. On my comments, I can't do the same thing. Is it possible to embed Youtube ...
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
3answers
172 views

Where to remove <link> from comment's feed?

I can't seem to find where to delete/comment the line that prints: <link rel="alternate" type="application/rss+xml" title="[site title] [single title] RSS de los comentarios" ...
2
votes
2answers
2k views

Display all comments or recent comments per user on author page

I have author pages for each author and I want to see all of their comments (or all of their recent comments) if I click on their nickname. How can I do this? I tried the beneath code, but that does ...
0
votes
2answers
88 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', ...
1
vote
3answers
724 views

get_comments_number of depth-1 (Level 1) (1 post)

I selected only 2 levels of comment for my wordpress site. How can I display the number of comment of the first level ? (Depth-1)
0
votes
0answers
175 views

Display the combined WordPress and Facebook comment count in Genesis child theme

I have a Genesis child theme in which I display both WordPress and Facebook comments. I would like to display the combined WordPress and Facebook comment count in the comments link. I found the ...
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 ...
0
votes
0answers
11 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
2answers
107 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 ...
4
votes
3answers
251 views

Display Authors Comments on Profile Page

I am trying to display authors comments on their profile page (author.php), however both codes I tried seem to display everyone's comments. Also the second code is suppose to link to the specific ...
0
votes
1answer
75 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
20 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
38 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 ...
5
votes
2answers
276 views

WP_Comment_Query pagination, delving into the unknown

I am aiming to pagination WP_Comment_Query(). It appears this is either taboo or there is no viable information about it online, not anything. Why? Is it possible? If so, how?
5
votes
2answers
911 views

What's the easiest way to close comments on media/attachments?

I consistently get spam attempts on various and sundry media attachments on my primary WP blog. By default, media has open comments (for instance, ...
0
votes
0answers
34 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
26 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 ...
1
vote
1answer
73 views

What is comment_karma?

doing a var_dump on $comment object, I mentioned there is a comment_karma property. What is that?
0
votes
1answer
24 views

reply to comment excerpt instead of author in comment title

One can reply to a comment using Reply link, below each comment item in comments list. According to codex, by clicking that link and using comment_form_title function like this: $replytext = 'Leave ...
1
vote
2answers
1k views

Custom Post Type Set Comments ON by default without show METABOX

I've created a new custom post type for a specific posts. The posts from my new custom post type, have - by default - set the comments to "off". I need to the comments to be "on" by default. In my ...
0
votes
1answer
9 views

Comment form Dissappeared in posts

I suddenly noticed that comments and comment form never shows up in my website's posts: Comments in page shows up. but in post there is no comment. In single.php I have the <?php ...
0
votes
0answers
16 views

Wordpress comment_form() doesn't submit comments

The problem is that comment_form() displays the form where to write comments, but clicking on the button send has no effect. I checked from wordpress admin area if users are able to post comments and ...
0
votes
1answer
44 views

How do you change the comment count in the back end posts list, to reflect unapproved comments, rather than all comments?

By default, the comment column shows the number of approved comments. I would like to either: Change this to the number of comments pending approval, OR; Create a new column with the number of ...
2
votes
1answer
1k views

Warning: call_user_func_array() expects parameter 1 to be a valid callback, func

I have installed Wordpress in my localhost server. I am a creating custom menu. When I try to remove the existing "primary" menu from it, I get this error Warning: call_user_func_array() expects ...
0
votes
0answers
159 views

Integrate Facebook comments with native comments

I've finally installed the Facebook Comments plugin to allow readers to comment using their Facebook identity. After the installation, I got two different comment sections, with two separate comment ...