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

Get comments only for certain specific users in template file

To return comments for a specific user, I use the code below: $arg = array('user_id' => $userID); $coms= get_comments( $arg ); How can I modify the arguments of this function so that I get ...
0
votes
0answers
518 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); ...
-3
votes
1answer
2k views

Getting full code of wp_list_comments instead of replacing it

I am wondering if this is possible, because I don't want to edit the standard/default lay-out of the comments. I already tried that, but somehow it won't put the list items in my div sections. That's ...
0
votes
1answer
44 views

how to get the top 10 popular blogs

Our wordpress sites have many many users, each of them have an blog account, they can write posts,comments and so on. Now I want to find out the top 10 popular blogs, according to or order by ...
0
votes
1answer
133 views

An action hook where a comment meta is updated

By analogy to the hook on post meta update, I use the following code for hooking when comment meta value is updated. My comment meta key is "consider" and can have 2 values: 0 and 1. My Goal is to ...
0
votes
1answer
128 views

get comment data using comment id

I am using the get_comments() function which works well if I give it any array of parameters except if I give the following array: $defaults = array('ID' => $comment_id); ...
1
vote
2answers
212 views

count number of user comments with a specific comment meta value

I am using the code below to count the number of comments by a certain user: global $wpdb; $count = $wpdb->get_var( 'SELECT COUNT( comment_id ) FROM '. $wpdb->comments .' ...
0
votes
2answers
54 views

WordPress Comment spam issue

I'm Trying to completely disable WordPress Comments. I have manually disabled comments via the WordPress back-end setting and I also created a new blank file called "no-comments-please.php" and then I ...
0
votes
1answer
79 views

Problems to disable the comments for my statics pages

I am pretty new in WordPress world (I came from Joomla). I am developing a mainly static website using WP (because maybe in the future I will have some dynamic behavior and because WP is pretty ...
0
votes
2answers
184 views

Can I have Comments open to specific users only?

Like for example, I have 5 users I want to give permission to comment, but no one else. But everyone needs to be able to read them. (Publicly viewable) Like a blog about a show with 5 actors and I ...
0
votes
0answers
29 views

How to replace standart comment count with Disqus? [duplicate]

in my blog comments show 0, and not real numbers of comment count. Now this is my code: <?php comments_number('0 Comment', '1 Comment', '% Comments'); ?> How to fix that?
0
votes
0answers
86 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
2answers
41 views

Wordpress for questions and responses website

I am using Wordpress to create a Q&A website. The question is returned by the_content. If I store the answers as post meta field array: { [1] => 'first answer', [2] => ...
0
votes
1answer
48 views

Required Field for Comment parent only?

I am trying to make the rating required for a comment but not required when it is a reply. Its not working, can you please help. function custom_validate_comment() { //validate rating if( ...
2
votes
1answer
121 views

Comments: Approve when admin Replies, from the Front end

Thank you for reading, In the admin panel, when a comment is awaiting moderation, you can "Approve and Reply" in the same action. However, in the front end, if you show the awaiting comments to the ...
1
vote
1answer
280 views

Auto-fill Custom comment fields

Thank you for reading, I added custom fields to the comment form, and saved the input in the DB, following this tutorial ...
0
votes
0answers
162 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 ...
2
votes
1answer
472 views

Custom comment status possible?

I am a newbie to WordPress and I have some experience in PHP programming. Recently, I have a lot of comments for my WordPress blog and I wanted to manage them in better order. I wish to "archive" ...
0
votes
1answer
147 views

Media upload in add comment meta box

Is there a way to add media uploader to add comments meta box in post edit screen? For logged in author to be able to post image in comment from back-end. Thanks!
0
votes
0answers
160 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
1answer
83 views

count number of all comments by a user on different (non-repeated) posts

I thank you in advance for your help. I am using Wordpress for about 2 years, but always avoiding SQL inside my scripts and looking for built-in functions to perform my goals. To count the comments ...
0
votes
1answer
53 views

Can I turn off further comments on a single page?

I have a blog post with comments on. I want to stop all people posting any further comments but keep the ones that are currently there. How do I do that? Using Wordpress 3.5.1
1
vote
1answer
29 views

Related Links Page with moderated, user suggested link submissions

Updating an old dinosaur of a site to Wordpress (3.5.1),   one of the more popular pages on the old site is a “Related Links” page with links for and about kids. (e.g. fitness, nutrition, ...
0
votes
1answer
176 views

Change comment author after new comment posted

I'm trying to update the user_id of a comment once it has been posted. It looks to see if the comment_author_email exists as a user in the users table, and if it does, attach that user to the comment. ...
0
votes
1answer
56 views

Separate jQuery for Individual Comments?

So far I have designed this function to display rating stars on the front end below every comment: add_filter( 'comment_text', 'additional_fields' ); function additional_fields ($below) { ...
0
votes
1answer
94 views

Display only posts with comments

I have this code to show recent posts from one category. I need to show only the posts which have comments. How can i do that via shortcode? /* Shortcode to output recent posts from one category */ ...
1
vote
1answer
231 views

Filter In Reply comments from Wordpress Admin Panel

Is there any way to filter the comments that are In Reply from the comments list? I basically just want to see the depth 1 comments on a separate filter. @GhostToast Ive added this to create a new ...
1
vote
1answer
84 views

How to remove comment link title attribute?

When I hover over any post's comment link, I see the title: "Comment on Post Title". How can I remove it? I could not find this text in the theme. Edit: Here's the source which generates the comments ...
1
vote
2answers
319 views

Is Wordpress vulnerable to “comment posting forgery”?

I recently scanned my Wordpress site using 6scan's security scanning service. It reported a high severity vulnerability: "Wordpress comment posting forgery". Technical details from 6scan: The ...
0
votes
1answer
83 views

Show 'add comment' link for status updates in Twenty Thirteen

I have WP 3.6 running on my server. After playing around with it, I noticed that it's not very intuitive to add comments to a status update; Guess how? After some thought, I have decided I would ...
0
votes
1answer
17 views

Get rid of “comment” field on non-blog pages [duplicate]

How can I get rid of "comment" field at bottom of page I want to use as a static page or pages on site such as "About" ; "Contact" , etc.
1
vote
1answer
149 views

Why are two functions over-riding each other?

I have function in my plugin that is: add_filter('comment_text', 'commentimage_comment_text'); function commentimage_comment_text($comment = '') { $options = get_option('commentimage'); $id = ...
1
vote
2answers
47 views

Highlighting the current users comment

I don't know if this is possible, I've searched around but came up short. Basically, I need that the current user who is commenting to see his comments slightly different than the rest. I'm doing ...
2
votes
1answer
1k views

Add a drop down list to comment form?

Can somebody help me to create a drop-down menu or (radio buttons) in Wordpress comment form, so that a new user could make a selection of their user roles (for example teachers + students) ? Output ...
0
votes
1answer
22 views

I want to fill the comment with the comment count?

I am using a custom function to pre fill the comment text area with the number of comment count but getting an error header already sent can any body guide me here's the code I am using ...
1
vote
1answer
73 views

Facebook plugin shows existing comments

Installed the official facebook plugin and seems to be working. The problem is that existing comments are still visible (with default style) above facebook comments form. My comments.php is empty now ...
1
vote
1answer
193 views

How to make comment text field un-required?

My requirements are bit different I was able to hide email and website field with filter but what I want to know is there a way to make comment text un-required when I am giving comment without ...
0
votes
0answers
350 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
1answer
139 views

Problem with Wordpress Comment

Im sorry about my english. I have made more than 5 comments on post pages. I have publish all the comments. But there are no comments that appear on the post page. This is my Comments.php content: ...
0
votes
0answers
421 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 ...
1
vote
1answer
351 views

User's total comment count excluding comments on their own posts

I'm currently working on a plugin that I hinted at here and so far I have managed to code everything, only missing one piece of the puzzle. This is how I get the total comment count for the ...
0
votes
1answer
212 views

How to display comments by logged in user and responses

I want to create a profile page and display the logged in persons comments, AND also responses to his/her comment. Like this: Post title Comment (by logged in user) ...
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
1answer
33 views

Wordpress comments - delimiter “/” not found

Im using wordpress comments as a "chat". Not real time chat its more like comments with more flow. But when 4-5 or more members using coments at the same time i get this message: Not sure why this ...
0
votes
1answer
424 views

Fatal error: Cannot redeclare comment_theme()

I have this wordpress site build up. In the blog section my post is getting repeated which I do not want how can I get rid of this situation Use this link: ...
0
votes
1answer
428 views

Wordpress Recent Comments Widget exclude own comments

apologies I have searched either for a recently updated plugin or article and cannot find anything. I am using the standard Recent Comments widget in my sidebar. I like to respond to all comments but ...
1
vote
1answer
76 views

Display the number of unseen comments on a page since the user last visit

The community is private and it has several pages /wordpress /design /etc . When users go to those pages the only thing they can do is to comment. Now, what I am trying to do, Idk if possible, but if ...
0
votes
1answer
110 views

delete user not working

Im just noticed that when I try to delete an user does remove the user, but not their comments. Also choosing the option to change the deleted user's post author to admin does not work either. Is ...
0
votes
1answer
53 views

Identify and display the fact that user is admin next to username in comment section

For all users to see. Not only the admin in cause. Also I am using a plugin called simple user ranking for displaying the user rank which is calculated for the number of comments posted, so I need to ...
2
votes
2answers
1k 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 ...