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)

3
votes
1answer
90 views

Wrong gravatar showing up?

I've got an install that's loading the wrong gravatar and I can't figure out why. Most confusing is that it's doing it in the front-end templates AND in the admin. Here's a screen cap: The user and ...
3
votes
1answer
131 views

WordPress comment count to include attachment comments

How can I make the comment count on a post on my index page include comments that have been made on, in my case, individual gallery pictures that are included in the post? It seems that comments made ...
2
votes
1answer
69 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 ...
2
votes
1answer
223 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 ...
2
votes
1answer
37 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 ...
2
votes
1answer
619 views

How to display comments on different page

I am creating a reviews site and I want to display the customer reviews (comments) on a separate page from the single-restaurant.php. I'll just have a link that says (Read reviews/ add yours). I ...
2
votes
1answer
252 views

edit_comment capability for subscriber

I have given my site's subscriber role the following permissions (unserialized DB-query): [subscriber] => Array ( [name] => Reader [capabilities] => Array ( ...
2
votes
1answer
180 views

“Allow Comments” box cannot be checked

I've registered a custom post type, ensured that 'supports' has 'comments', and comments are allowed on new posts under settings -> discussion. I do see the check boxes for allow comments and allow ...
1
vote
1answer
353 views

Change Comment Author Display Name

I am trying to change the comment author name (or more specifically, the review author in WooCommerce) to be First name Last Initial (e.g., "John D." for "John Doe"). I got most of the way there with ...
1
vote
1answer
20 views

Which filter/hook to use for styling comments?

I would like to create a plugin that modify the styling of the comments section. Given that some users may be using other plugin to replace the default commenting system (facebook, disqus, ...), what ...
1
vote
1answer
109 views

php function to display commenter username or login

I want to display the commenters username or login name in a comment template. I know there is a function comment_author_link(), but this displays the "display name publicly as" name and not ...
1
vote
1answer
123 views

User can post only one comment per day on one page

This code count comments per day on all pages. I want that will count only on one page for 1 day. So my case: on a page with an ID of 1, a user can comment with out any limit, but on a page with an ...
1
vote
1answer
32 views

Second comments section for one post/page

For a project, I need to have 2 comments sections related to the same post/page. Is there a way or a plugin to do that ? By default, Wordpress allow only one comment section for one post/page. Thanks ...
1
vote
1answer
29 views

WordPress comments work locally only?

Here's my issue: on localhost: comments just work for both registered & logged in users AND for guests, live (on-line): comments work only for registered & logged in users, comments posted ...
1
vote
1answer
306 views

edit comments capability for authors

I am using wp site where registered users have authors roles. I want authors to have permissions to edit their own comments. Now only admin user have capability to edit comments and even editors do ...
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
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 ...
1
vote
1answer
325 views

If modified on same day, show only time

I have a date on each post and comment which shows the date of placement. If I edit it, it shows me the date of the post and the modified date. That's fine, but now, I want to show only the post date ...
1
vote
1answer
48 views

Get all images in post and comments like Twitter before post title

I want to know if it's possible to get all the images that are in a post and his comments, make them a thumbnail and put it before (or in a sidebar or something) the post title to show, just like ...
1
vote
1answer
63 views

How to assign classes to all elements?

Is it possible to assign classes to elements of certain type? For example, all paragraphs in the post body or comment body should have class="paragraph", all unordered lists in post body should have ...
1
vote
1answer
57 views

Display Custom comments field number

I have some custom comments fields, I need to display the number of times that a meta value is used Example : I have a custom comments field "Do you like this post" with multiple choice : Yes ...
1
vote
1answer
276 views

Display User Role Next To Comment

I've search around but I can't seem to find exactly what I'm looking for and for the first time I don't even know where to start. How do I display the user role (Admin, Editor, Author Contributor, ...
1
vote
1answer
319 views

Allowing users to edit their comments

How can I allow users to edit only their comments? I tried some plugins like "WP Ajax Edit Comments" but users could edit all comments.
1
vote
1answer
102 views

Polls with respective comments?

I am using wp-polls plugin. It's working fine. Instead I need some more things in this which are : I want to use comments with each poll. (I think this can be possible when adding A New Poll, A New ...
1
vote
1answer
144 views

Admin comments and user restrictions

I have set a bunch of roles within wordpress with the help of the "members" plugin. But the capabilities regarding the comments moderation are very limited ("manage_others_comments" or not) What I ...
1
vote
1answer
72 views

How to list posts with disabled/closed comments, with pagination?

i'm interested how to display all posts (from all categories) that have closed/disabled comments? I have tried using the comments_open() function inside the loop, that works, i don't know how to ...
1
vote
1answer
123 views

What filter/action hook can I use to add a few links to the admin comments page?

I would like to add a link to every comment when it's displayed in the recent comments admin page (edit-comments.php). For the sake of this question, the link should just be this: <a ...
1
vote
1answer
66 views

Extra Title field for Comments

I want to display an extra title field for comments, that can be edited by the admin in the backend. NB, The extra title field also needs to display when the user is logged in. I have tried a range of ...
0
votes
1answer
16 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
7 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 ...
0
votes
1answer
8 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
1answer
10 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 ...
0
votes
1answer
12 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" ...
0
votes
1answer
28 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. ...
0
votes
1answer
39 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
1answer
51 views

edit-comments.php in Admin - how to change 'Comments' title?

How can I change the title 'Comments' on the edit-comments.php page in the admin area? Thank you
0
votes
1answer
31 views

How to get replies of a comment?

Is there a way to get replies of a comment by its ID? I have searched on google but could not find anything about it. For example, I have a comment with ID 123 I want to display all the replies that ...
0
votes
1answer
35 views

Are there some caveats for using guids for FB comments

I'm using Facebook comments box and just realized that when we use <div class="fb-comments" data-href="<?php the_permalink(); ?>" data-width="100%" data-numposts="5"></div> and then ...
0
votes
1answer
36 views

Jetpack Comments Change Placeholder Text

Is there a hook or template file where I can change the placeholder text on the #comment textarea w/in the comment form? Jetpack loads the form via an iFrame which prevents changing the placeholder ...
0
votes
1answer
16 views

Comments as part of a post

Is there a way to show comments as part of a post, and not adding it with comments_template()?
0
votes
1answer
28 views

How to have a specific image show up for everyone who comments?

How can I have an image I created be a avatar for everyone who comments on my wordpress posts? So it will have my logo or something instead of a blank square? Thanks!!
0
votes
0answers
529 views

wp_insert_user email confirmation

I'm creating a new user once they leave a comment, i am doing this with wp_insert_user function create_comment_user($comment_ID){ global $wpdb; $comment = get_comment($comment_ID, ARRAY_A); ...
0
votes
0answers
87 views

How to allow special characters in comment name?

I was having this error that a random post said it had zero posts (using comments_number()) and when I went to the comment section it also said "No Comments" but it listed a comment. On a hunch I ...
0
votes
0answers
164 views

Comments appear in wrong posts

Nasty problem here! Comments are not connected to the right posts but to other ones! Passing from disquss to jetpack comments doesnt't fix this. What could be the solution? The site is ...
0
votes
0answers
165 views

Saving comments not with PostID but different unique identifier

so here is the deal: I want comments to be saved not with the post ID but with another unique identifier. With disqus there is a way to do this with javascript: /* * * CONFIGURATION VARIABLES: THIS ...
0
votes
0answers
368 views

Pull & display new comments without refreshing the page

I've just managed to implement ajax on comment submission and now members don't have to leave the page when they comment but still have to go one extra mile when they want to see new comments. I've ...
0
votes
0answers
437 views

FB - Comment Moderation Tool bug or error in the code?

I am an admin of this site. This blog uses the FB comments plugin since around 1 year. Since I enabled the July Breaking Changes, I: -am not receiving any more new comments notifications on FB; -New ...
0
votes
0answers
43 views

Deleting users do not deletes coments

Hello I have bee trying to figure this one out without any luck. I am deleting users from my site, and selecting either delete comments or attribute comments to: options do nothing. The user does not ...
0
votes
0answers
137 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
votes
0answers
11 views

Woocommerce reviews/feedback on sub category page

I am newbie to wordpress. My requirement is to get the customer reviews for the sub categories and to display the reviews in the sub category page. Below is the structure ...