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
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 + ...
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
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', ...
1
vote
3answers
771 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
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
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 ...
4
votes
3answers
277 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
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 ...
5
votes
2answers
371 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
932 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
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 ...
1
vote
1answer
171 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
38 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
2k 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
65 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
165 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 ...
1
vote
3answers
136 views

Filtering Comment Reply Links (comment_reply_link_args) for “infinite replies” in nested comments

UPDATE: I'm going to update this one up at the top, because the solution I've found was with a differing filter hook. I'm going to look again at reply_link-specific hooks now that I better understand ...
0
votes
1answer
14 views

Comments enabled, but disabled at the same time

I have comments enabled under the "Discussion" settings (http://postimg.org/image/pvc3cb8yp/). However, every new post has comments turned off by default (http://postimg.org/image/ivagy6uuv/). When I ...
1
vote
3answers
2k views

How do we remove the H3 tag for the reply-title I.D

We're doing some SEO tweaking to a site, and our SEO guru informs us that we need to remove the <h3> tags from the #reply-title element, output from line 1554 of comments-template.php. It's the ...
2
votes
4answers
5k views

Notify multiple email addresses on comments

Can you recommend a plugin that enables notification on multiple email addresses on posted comments? Looking for a plugin that both notifies a global list of email addresses and the author of the ...
0
votes
1answer
66 views

Custom post type updated to support comments, yet comments don't appear

I have several different custom post types. One post type did not display the comment section, today I found out it was because I forgot to add it to the "supports array" ...
1
vote
1answer
2k views

Set post comments open function

I've been searching high and low for a php function to set a comments of a given postID open only found function to check what the comment status is <?php comments_open( $post_id ); ?> I ...
0
votes
0answers
70 views

Paginate Comments Via Ajax When Not On Parent Page

I have a page that I am using a custom query to pull in the comments from another post. The comments are successfully being rendered and formatted and the pagination links are showing up correctly as ...
0
votes
0answers
42 views

Not receiving any e-mails after new comment

I know this has been asked several times before in the past, but I think my situation is a bit unique. I am not receiving any e-mails when someone leaves a comment on my posts. Neither are any of the ...
2
votes
1answer
90 views

How i can let users add notes to my posts

I want to let users add notes to my blog posts, but I want to keep the notes separated from posts. What I mean is to have something like comments. Is it possible when a user writes a comment that ...
3
votes
1answer
87 views

WP_Comment_Query() displays “password protected” comments?

It appears that looping through wp_comment_query() with the argument post_status set to publish also lists comments that are posted on password protected posts. Is this the correct behavior or is ...
0
votes
1answer
89 views

'comment_post' hook doesn't seem to work? [closed]

This is driving me crazy - Does anyone know why this 'comment_post' hook doesn't seem to work!? I've basically written an entire email notification plugin for it and it's failed on the first step. ...
0
votes
3answers
2k views

Getting comment count per post not working

I have this function: <?php $popular = new WP_Query('orderby=comment_count&posts_per_page=5'); ?> <?php while ($popular->have_posts()) : $popular->the_post(); ?> ...
0
votes
1answer
178 views

How to import facebook comments to Wordpress database?

I want to get rid of Facebook Comments from my website, but I have a lot of comments there. Is it possible to import facebook comments to normal Wordpress comments system or something else (i.e. ...
5
votes
1answer
1k views

How to change “You must be logged in to post a comment.”

Some of my users have mentioned that my site is confusing for them. As this is the case, I would like to actually make links to Login/Register for my unregistered visitors to quickly do so if they ...
3
votes
4answers
13k views

Why are the comments disabled by default on my custom_post_types?

I am using a custom post type + taxonomies in a podcast solution for a client. The setting (settings >> discussion) for comments is set to "allow comments". When I add / edit posts under the "posts" ...
1
vote
1answer
73 views

Hide Post comments when displayed via WP_Query

I've written a shortcode which displays 'x' number of posts on the homepage of my site when I write [blog posts_per_page-"3"]. Here it is: function getBlogPosts($atts) { ...
1
vote
1answer
301 views

Show comments in a popup

I want to show comments in a popup for the page with id=22. This is the anchor on whose click the popup will open: <a class="button button-small button-line-light comment-popup" ...
0
votes
1answer
18 views

Get Commentor IP When Marking Comment As Spam

What I am trying to do is create a list of IP addresses each time I click Spam on a comment. The only issue I have now is, how do I get the commentors IP address inside this function. This is what I ...
0
votes
1answer
106 views

Woocommerce Theme Reviews / Comments

Ok so i'm creating a Wordpress theme and i'm at the point where i'm trying to get a list of the reviews but the default comments_template() HTML isn't how I need it. I don't have a /comments.php ...
0
votes
0answers
30 views

How to modify core when there is no hook?

I want to add a custom HTML5 attribute to the <form> element in the comments form. Since the form field itself is generated by comment_form(), and there is no hook to edit within the opening ...
0
votes
1answer
99 views

Remove comments validation (remove filter?)

How i can remove wordpress comments content validation, I do not want to or examined the earlier there was no such comments. I see for: ...
0
votes
1answer
601 views

Disable comments and pingbacks on old custom post types

This SQL code will disable pingbacks on old posts and pages: UPDATE wp_posts SET ping_status='closed' WHERE post_status = 'publish' AND post_type = 'post'; UPDATE wp_posts SET ping_status='closed' ...
0
votes
0answers
24 views

HTML tags in comments

I'm using latest Wordpress & Thesis theme. I have a technical blog where i want users to be able to put comments in the code. When i try to add a code to the comment (as a non logged in user) ...
0
votes
1answer
380 views

Outputting complete custom comment form

Need to implement the following bootstrap layout in twenty twelve comment form - <div class="sub-figure"> <div class="sub-post-title"> <h4 class="recent-title">Leave A ...
0
votes
0answers
70 views

How to make a sortable comment column?

Is there a way to make sortable comment columns? I have managed to create the column and to populate it, but i don't know how to make it sortable. I've found a lot of solution for sortable post ...
0
votes
0answers
50 views

How to add a spam button to comments in frontend

I already have a delete link for my comments and it looks like this: <?php if ( current_user_can('edit_post', $comment->comment_post_ID) ) { ?> <?php $url = ...
0
votes
0answers
33 views

Create a registration page for members

I wanna authorised comments for members only, i have created a comments page but i don't know how to redirect unconnected people to registration page or login page. thats my comments page. enter ...