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

How to maintain changes to comment-template.php

I have made some custom changes to the file wp-includes\comment-template.php. These changes are periodically lost and I assume it's related to updates for WordPress and the file is ...
0
votes
0answers
28 views

selectively disable akismet

I need to disable Akismet for comments written by one of my registered users, since there is a problem that when such plugin is enabled they do not appear. I have some familiarity with php but I am ...
0
votes
0answers
22 views

Can't post comment to blog in wp-multisite

I'm running a wp-multisite install with ~100 blogs. I recently discovered a blog that I can't post a comment to (though I've been able to previously). When I try to submit a comment, I get the ...
-1
votes
1answer
127 views

add comments custom fields after user is logged in

I want to add two custom fields inside comments on a CPT after the user is logged in on. This is the code for creating the custom fields: function debate_comment_fields( $fields ) { if( ...
0
votes
1answer
88 views

comments hooks on custom post type

First, this is what I want to achieve: I want to add a comments hook on a CPT which is asking users to be registered and logged in to be able to post a comment. And after the user is logged in to ...
0
votes
2answers
31 views

Customizing Comments

Hi I want to customize the text with the arrows pointed at at the image I have uploaded. I have managed to customize some but I cannot find the file to customize the rest. Many thanks its on local ...
0
votes
1answer
56 views

custom comment fields on CPT

I want to create few comments custom fields for my CPT and remove the default ones. I will have just two custom fields more exactly 2 radio inputs. Here is my code: function ...
0
votes
0answers
11 views

Adding comment template on a loop into a page

I've created a loop in a page, with a single post per page. The type of post is the default "post". Now, I've resolved the problem of pagination on this page, but I cannot show the comment template on ...
0
votes
0answers
14 views

How to prefill comment-author, -site and -mail inputs when user writes a second comment?

How to prefill comment-author, -site and -mail inputs when user writes a second comment? I think it is saved in a cookie. Are there some functions? THX
0
votes
1answer
51 views

unapprove comments on custom post type

I have registered a custom post type and I want to unapprove comments by default on this custom post type without affecting the default posts/pages which is set to approve. I've looked through the ...
1
vote
2answers
480 views

Cannot get local avatars to show [closed]

See updates below. I upgraded to 3.7.1 using svn. I did this on my localhost first to make sure everything is fine. Everything was, so I proceeded to do it on the server. However, on the server, the ...
0
votes
0answers
10 views

Exclude comments on page X from site's comments RSS feed

I would like to exclude comments on a certain page from the site's comments RSS feed (site.com/comments/feed/). I've done some searching but failed to find any info on how this could be achieved. Any ...
0
votes
1answer
65 views

How is comment spam received without a comments form?

The theme one of my sites is using does not have a comments form nor is there any HTML markup for comments anywhere within the code. So, how am I receiving spam comments? All the spam is caught by ...
0
votes
1answer
56 views

Author profile comments system

I have a custom PHP file to get all the users/authors from the DB in WP, so it's all showing correctly and working BUT, I want to make the comment to work properly, what i did now is: <?php ...
0
votes
1answer
32 views

Comment form - different title if no comment yet

this isn't major but would be nice. Would like to have 2 titles for the comment form, one that says "no comments yet start the discussion" and another that says "join the discussion". I've had a good ...
2
votes
1answer
92 views

Use comments as notes, visible for comment author only

My question is exactly the same as this, not sure if it can be bumped so thought I'd post again. Basically I'm trying to create a scenario similar to how comments work. On a page, a registered user ...
0
votes
1answer
35 views

Display custom text when comments are closed

When I close comments on a post it's showing "Comments are closed". Is there any way to edit this text and show a personal note instead of the pre-configured one? I would prefer to do this in a ...
1
vote
1answer
188 views

using wp_query to return posts w/ comment count > 0

I've looked at numerous examples of wp_query and can't figure this out. If the thing I was comparing were a meta value then I could to a meta query, but apparently you can't do a compare with a ...
2
votes
1answer
150 views

How to get comments from multiple post type?

How can I get comments from multiple post type? I want to display 5 comments from my different post types pages. <?php $defaults = array( 'number' => 5, 'post_type' => ...
0
votes
1answer
202 views

Enable commenting on front-end preview page for pending posts

We are in the process of allowing authors to collaboratively be a part of the editorial process. They will have access to all pending posts' preview pages (not post-edit pages). I want to allow these ...
1
vote
1answer
95 views

custom comments on specific post type

I have a custom post type called debate and I want to create some custom fields just on this post type. So, I have this code: function debate_comment_fields( $fields ) { if( is_singular( ...
1
vote
1answer
271 views

Most commented last 24h, week, month, year and all time - posts_where

I've removed my old post here, as the posts_where method is outdated. Thanks to kaiser, this is now how easy it is to list most commented posts within a certain time span: <?php $popular = new ...
0
votes
0answers
46 views

How to check whether post contains pingback/trackback or not

I want to check whether post contain pings and then display the pings. I used the following code and it does not work for me. <?php if ( !empty($comments_by_type['pings']) ) : ?> <div ...
1
vote
1answer
61 views

Completely disable comments

Is there a way (hacks, plugins…) to completely disable comments in WP? By this, I mean completely hiding the feature from view automatically, for existing and new users alike. In particular: the WP ...
1
vote
0answers
98 views

How to import only certain comments from post[s]

NOTICE: This is solely NOT a WordPress.com Question, but related to WordPress Migration and Export-Import. I started blogging in WordPress.com and then shifted my blog to a self-hosted site. But ...
0
votes
1answer
68 views

comments_popup_link() - how to load different classes/images according to different comment condition?

As the Codex says the syntax: <?php comments_popup_link( $zero, $one, $more, $css_class, $none ); ?> it's clear that we can load different texts according to different comment conditions, ...
0
votes
1answer
28 views

How can I grab and show the reader comments of my site

How can I grab and show the reader comments of my news site in a different page? Suppose, I have comments on a news site, into my posts. I want to show the comments (only the comments) into a ...
1
vote
0answers
41 views

Disable comments

I'm wondering if there's any way to prevent users from leaving comments but still display the comments form? So, whenever a new comment is posted, it should be automatically trashed or it shouldn't be ...
0
votes
1answer
136 views

Disqus moderation page not working in WordPress admin section

If I login to my Admin section and click Comments on the left, the Disqus moderation page does not load. On further inspection this is because it's trying to load the page over http:// and my blog is ...
0
votes
1answer
83 views

Disqus resetting comment count to 0

For some reason my Disqus comment system seems to resetting the comment counts to 0 on the main page. If you load my site the current blog at the top has 1 comment, you can see it says 1 very briefly ...
0
votes
1answer
71 views

Comments from mobile apps & Disqus

I'm currently using Disqus in my WordPress Installation, and I am pretty happy with it. However, I'd like to extend my native mobile app (Windows Phone) to allow the users to post comments directly ...
0
votes
2answers
45 views

Admin Dashboard - Recent Comments source

I need to see the source file for the admin dashboard widget that shows recent comments, can anyone point me to the exact php file that does this? I can't find it anywhere on the codex or in google ...
1
vote
1answer
79 views

$reverse_top_level works the opposite way according to Codex?

The Codex for wp_list_comments states $reverse_top_level (boolean) (optional) Setting this to true will display the most recent comment first then going back in order. For my it is actually the ...
1
vote
1answer
36 views

Leveraging Wordpress Comments on Custom Plugin Object page

I have written a plugin that creates it's own tables to house the necessary schema for client's product. Then I created a single page that retrieves the custom object via passed in query string like ...
0
votes
2answers
123 views

comment meta_query for keys that aren't yet set

I need query help! I am trying to set up a meta_query (for get_comments) for keys that aren't yet set. I have some code that allows moderators to add a custom meta key to individual comments. Click ...
1
vote
0answers
47 views

comment reply by email

Is it possible that the admin replies to a comment by email, replying to the notification message he receives about the comment? And for a whatever user if the subscribe to comments plugin is ...
0
votes
1answer
44 views

How to get the number of pages when paginating comments?

I want to display threaded comments via ajax using pagination. If I use this code to display comments for page 1 how can I know if there is something more to be displayed on page 2? If there is ...
0
votes
1answer
651 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. ...
0
votes
0answers
647 views

How does add_action 'comment_post' work?

I found an example how to How To AJAX-ify WordPress Comments. I tweak it little bit and so far everything works fine but I want to understand the code. Where did the arguments $comment_ID, ...
2
votes
1answer
58 views

Users with custom roles can't read each other's comments

My site has a custom role ("coach") with its own set of capabilities (via map_meta_cap along with a few built-in roles). Each user is assigned a page on the site that they "own" and can edit (via a ...
1
vote
0answers
20 views

How to provide social login at bottom of posts [closed]

I have a blog at http://sahitesting.com and I want users to log in before they comment. Now everyone hates to create new account on every other website, so I wanted to provide a facility that users ...
0
votes
0answers
175 views

Getting 'SELECT + FROM comments…' in comment notification email

I just got a notification from my installation of Wordpress that someone has posted a comment there is no text in the comment area apart from the following: Comment: SELECT * FROM comments ORDER BY ...
1
vote
1answer
35 views

How can I get a list of comments by target

I've been looking at the classes WP_Comment_Query and WP_Meta_Query but to be honest, I can't figure out how to use them together. I want to query the database for comments where wp_posts::post_author ...
1
vote
1answer
117 views

Can wp_list_comments output into variable?

Is there any way how to output wp_list_comments() into a variable? Something like $output = wp_list_comments(array('reverse_top_level' => false ), $comments); I am writing a plugin and it would ...
0
votes
0answers
35 views

Display Comment Form on dedicated Page for each post

I have the following requirement to complete and i didn't figure out how to do it. Inside a post, for each post, to call comment form on a dedicated page, in dedicated page the user post a comment ...
1
vote
1answer
24 views

A friend wants to make a comment on one of my articles, she has to be logged to wordpress?

I have a friend, she does not have a blog or uses WordPress, she wants to drop a comment on one of my articles. Does she has to open a WordPress account? The blog demands a password to drop a comment? ...
1
vote
2answers
81 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 ...
2
votes
1answer
109 views

Allow contributors to moderate comments comments on posts they write

I run a multi-author wordpress site where we have a large number of contributors that can write articles, which are published after they are reviewed by an editor. (This is all standard wordpress ...
0
votes
0answers
21 views

How to delete/hide this character after user post nothing

When user did post a blank comment or post it will come out the extra character which is "-1". How can I hide/delete the character?
0
votes
1answer
91 views

Comments broken. All comments gone & no new comments can be made. Possible jetpack issue? [closed]

So, my client has two self hosted wordpress blogs- one long-existing and one new one that she just launched. She clicked on a jetpack activation link- meant to connect her new blog to it's ...