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
2answers
35 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
59 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
18 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
75 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
599 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
1answer
115 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
73 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
33 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
130 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
52 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
280 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
231 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
283 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
102 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
340 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 ...
1
vote
1answer
93 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
176 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
91 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
32 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
46 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
228 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
122 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
99 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
56 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
112 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
38 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
169 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
52 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
60 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
1k 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
1k 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
64 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
22 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
214 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
49 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
181 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
47 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? ...
2
votes
2answers
116 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
190 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
23 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
0answers
57 views

Wordpress Comments jQuery Doesn't submit

I am trying to check if the commentform is filled in after submition, and only submit it when it is filled in. I am using: $('form').submit(function (e) { e.preventDefault(); // Handle ...
2
votes
1answer
36 views

How to enable comments options?

On page --> Screen Options --> check Discussion --> Discussion --> Allow commets --> I have checked on discussion options. Settings --> Discussion --> I have checked on Allow people to post comments ...
0
votes
1answer
28 views

Add filter to comments loop?

I'm making a plugin which stores referrer data for comments. I already have my database table created, and the data is being stored correctly when a comment is made. Now I would like to attach a ...
1
vote
1answer
39 views

Where to add the permalink in this function?

Below is a function that displays the latest 4 approved comments on my homepage, I wrote this almost a year ago, and for the life of me, it's gone completely from my head, All i want to do is add a ...
0
votes
0answers
26 views

Commentform - Hightlight invalid fields instead of prompting towards error page

I have a huge problem. I used the comments.php from "EmptyCanvas". Code of it can be seen here: http://pastebin.com/YHDy2q4a However, it prompts me towards an error page when I do not fill out the ...
0
votes
1answer
41 views

Can WordPress handle following functionalities?

Now i am planning a development of a new web site and searching for a CMS. I know WP not bad, but never tried to build a complex community information site using this engine. Among basic requirements ...
0
votes
0answers
64 views

Theme comment callback results nothing

I made theme and now im finally editing the look of wp_list_comments. I made function, wrote callback link to arguments and tried it. It returns nothing - only elements hard coded in comments.php are ...
0
votes
1answer
169 views

After submit comments select the current tab

In my single.php I have 3 tabs one for description, others for comments and reviews my question is when I submit the comments, the first tab is always selected. My code: <div ...
0
votes
1answer
638 views

get comments and get posts in loop

I need to get posts done by specific users and get also comments done to these posts, so far I can get the posts and comments but can't get how to do it in loop properly, because now I get the same ...