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

Author page link in comments is different than in posts?

When I hover over the comment author link on my comments, it shows a link like http://mysitenameeeee.com/?author=24 After I click it, it gets me to /author/authorname, which is fine, but I don't want ...
1
vote
1answer
851 views

Showing author page if user has no post

I have a page with profiles in which people can post or comment on a post. The problem is that if this user chooses to comment instead of post, he or she will not get an author page until it has ...
0
votes
0answers
135 views

Multiple Comment Threads + Form on one page

i was wondering if somebody has any reference on how to have a wp page with two totally separate wp comment threads + form side by side without using iframes. its a concept page that is basically a ...
0
votes
3answers
679 views

Embedding Youtube video on comments

In my posts, you can embed a video of Youtube by adding the link to the post. You don't have to do anything beside that. On my comments, I can't do the same thing. Is it possible to embed Youtube ...
2
votes
2answers
566 views

Can I have two single.php files and have one display just the post and the other display comments for that specific post?

Obviously, I know I can't have two single.php files. The one with the comments would have to have a different name...maybe single-comments.php or something. I am working on a restaurant reviews site ...
0
votes
1answer
93 views

What filter or action to replace comments or add new comment system

I am looking to make a plugin for my site, which either replaces the current comments in a post or adds an additional comment system. I am getting the comments from a custom RSS feed from my forum ...
0
votes
2answers
627 views

Auto approve all comments (editor)

I unchecked both options in the discussion area (so the one where they need a post to comment and administrator has to approve), but still, my users can't put their comments without me approving it. ...
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 ...
0
votes
1answer
253 views

How to get most recent commented post above new submitted post in Wordpress?

I have this function: $ids = $wpdb->get_col("SELECT DISTINCT comment_post_ID FROM $wpdb->comments ORDER BY comment_date DESC LIMIT 0 , 30"); foreach ($ids as $id) { $post = &get_post( ...
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 ...
0
votes
1answer
1k views

Disable Admin account being emailed for comment notification

I am using the code below to send Comment notification and moderation emails to multiple email addresses for a client site. I have a custom admin panel for this particular site. In my admin panel I ...
0
votes
1answer
950 views

comments_template not working correcly in custom template files

In a template file that I am using as page, I want to allow only 2 users to post comments and allow to all other users to only see these comments( not allow them add comments). my template file is: ...
0
votes
1answer
185 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
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); ...
-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
137 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
136 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
218 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
80 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
185 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
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
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
53 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
122 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
286 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
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 ...
2
votes
1answer
491 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
148 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
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
1answer
88 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
180 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
233 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
320 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
153 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
198 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
367 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 ...