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
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
48 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
730 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
713 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
60 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
181 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
36 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
123 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
44 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
86 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
121 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
0answers
52 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
31 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
24 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
38 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
23 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
38 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
54 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
136 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
312 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 ...
0
votes
1answer
30 views

Feedback instead of Comments

I would like to have a feature on my website where, instead if commenting, viewers can give feedback to posts on the following: originality Musicality Talent I would like it to be "+1" based, ...
2
votes
1answer
375 views

How to change style of Disqus comment count on main page

I have recently installed the Disqus comment plugin on my blog and so far so good. I'd like to be able to change the style of the comment count on the main page and I'm not having much luck after ...
1
vote
1answer
514 views

How does WooCommerce display a custom comment_type in Comment Admin?

There have been many threads and topics over the past few years about how to create a custom comment type. For the most part it's my understanding that it's possible (because WooCommerce does it) but ...
1
vote
1answer
130 views

wp_insert_comment and security

I am using wp_insert_comment to offer an in-house better ajax conditional comments interface. i got it all working great. my only question is. What security measures should i take to make sure i ...
0
votes
0answers
53 views

Trying to get threaded comments working

I'm making a Wordpress theme from scratch, but I can't seem to get threaded comments working. I've got them enabled through the control panel, but comment_reply_link() doesn't seem to do anything. ...
1
vote
2answers
75 views

Disallow img tag in comments?

I have been looking quite a long time for a way to stop people from posting external images in comments i e <img alt="my photo" src="http://example.co.uk/pic.jpg" /> and the image is ...
0
votes
2answers
49 views

Undo a function that is not (seemingly) hooked to an action?

I am using the popular Disqus plugin. To use this plugin effectively, they advise you to change the URL on the front page to end in #disqus_thread. I know how to easily do this in jQuery, but I ...
2
votes
2answers
168 views

Publish a message on facebook after having posted a comment

I would like some advice on how to improve the code I use for allowing people to comment posts. Users can only submit a comment if they are connected with Facebook. I started developping this feature ...
0
votes
1answer
96 views

Average Score of all ratings in comments

i have a rating system in comments, for each comment user can rate 1-5 Stars. Now , i want the average of all ratings in comments of that post to show. How can i do that. Here is the link to the ...
1
vote
3answers
67 views

How do I reply to comments from admin panel on a tablet PC?

For certain reasons I prefer to reply to readers' comments from the admin panel (edit-comments.php). It's not a problem with a mouse. When I place the cursor over a comment, the comment management ...
-1
votes
1answer
194 views

Is there a way to implement a commenting system such as that on medium or sitepoint in WP?

Both Medium.com and SitePoint allows users to comment on individual paragraphs. I'm not sure how it's implemented but is there a way to do something similar in wordpress? See screenshots below to see ...
0
votes
2answers
210 views

Insert Ads “into” comments section in Genesis Themework

I am trying to insert two 125x125 ads into the comment section of a Genesis Child Theme - The screen above shows where I would want it but I am at a total loss on where to insert this overall. I ...
0
votes
0answers
54 views

Comments +1 and ranking system

The site that I'm creating, is a sort of information/news one. It has been made to prompt discussion between people. What I want to add, is a system that would allow people to +1 others comments ...
0
votes
1answer
62 views

Limit action in comment according to IP

I've been trying to set something that might be really easy (but I never had to do this before) : add_filter('pre_comment_user_ip', 'limit_commentator'); function limit_commentator( $comment ) { ...
1
vote
1answer
175 views

Wordpress comments email notification for authors

I'm admin of a question and answers website in WordPress. All users are defined like authors. I have the problem that when I approve a comment ( an answer to a question), the author receives too much ...
0
votes
1answer
39 views

Insert comment and still use moderation

I have a custom comment form that inserts a comment outside of the loop and applies it to a post. I'm trying to get it to still use the moderation check before it marks as "approve". Is there a way to ...
0
votes
1answer
25 views

Problem code and show comments

I use this code in shortcode for show posts : <?php while ($wp_query->have_posts()) : $wp_query->the_post(); $imagen = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), ...
0
votes
1answer
1k views

Custom post type: can't enable comments by default

I want to enable comments for custom post types just like they are for standard posts, but can't seem to get it to work. In functions.php, as part of registering my custom post type, I have this: ...
0
votes
1answer
293 views

Load comments.php template outside the post loop

I'm loading a post via ajax and outputting using $post = get_post( $post_ID ); Is there a way to load the comments.php template after I've output my post? I tried using: global $withcomments; ...
1
vote
0answers
137 views

have_comments() does not work

I have set a comment() condition in wordpress. This condition is set in comments.php just as the wordpress default theme does. then the whole comments.php file is loaded using comment_template; Now, ...
1
vote
0answers
40 views

Disable comments for a user?

Is there a way I could ban a registered user from posting comments, thus converting them to a read-only mode temporarily? Ideally I'd like this to be a set-it-and-forget-it solution (ban user for 2 ...
1
vote
0answers
45 views

Automatically increase comment karma on comment save

I don't know why, but it seems like the comment karma column is not used very much in plugins or otherwise. What would I need to do to hook into adding points to the comments karma column when a ...
0
votes
3answers
186 views

Customized Comment Form Issues

I'm developing a Wordpress theme and I faced a problem while customizing a comment form. What I wanted is to eliminate URL field and put my own classes for name and email fields. I'm doing it like ...
0
votes
1answer
409 views

Add a Custom Field in Comment Box next to the Text area

Good Day. I Recently try to figure out for adding the custom field in the comment box it working fine. Still I need to know how to add the custom field after the comment box. I am not sure how to do ...
0
votes
1answer
44 views

How to hold all comments for moderation, including author's comments on own post

I want all comments no matter what, to be held for moderation and not appear till approved by an admin. Wordpress allows author comments on own posts to show up without holding for moderation. Any way ...
0
votes
1answer
228 views

Limit comments per user per post

I use this code to limit the comments to 1 for registers users and works fine. The problem is that when i click to "go back" button in the browser i can comment again. Is there any effective way to ...
0
votes
1answer
36 views

Remove comment section from new page

I am taking over a wordpress website at work. All of the pages currently do not have a 'Leave a Reply' comment section. When I make a new page, this section exists on the new page. How do I remove it? ...