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
0answers
15 views

Querying sanatized data with meta_query in Wordpress

I asked this question over at SO yesterday, but I see now that this is the right place for it to live. After Googeling this for a while, I've found that this should work cite, but I don't seem to get ...
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!!
2
votes
1answer
648 views

One comment per user per post

How can i disable the comment form, if the user is already submitted a comment for the specified post? I am using this now, but this is only good for 1 post / user / website. <?php global ...
0
votes
1answer
62 views

How to exclude the child comments in get_comments() query?

How do I only get the first level of comments in get_comments() or WP_Comment_Query? I want to query the comments which have 'comment_parent' => 0, and exclude all the child comments. $args = ...
0
votes
0answers
8 views

Return multiple comment_meta keys

I've this code $args = array( 'post_id' => $post_id, 'meta_query' => array( 'relation' => 'AND', ...
0
votes
0answers
12 views

Detect Smilies without spaces

I know, it's dumb, but I think it's annoying that when someone enters a smiley manually like this hi:) it will not be detected and converted by WordPress because WordPress smilies functions looks for ...
0
votes
1answer
56 views

Comments on future posts

I have enabled future (scheduled) posts to display as single post so on that page comments are enabled but there is a problem when i try to post comment. I get a blank screen without any warning or ...
0
votes
0answers
22 views

Page getting hammered by trackbacks

I have one page on my site that seems to be getting a high number of trackbacks. I have trackbacks disabled in Settings and I also have comments disabled. Any thoughts or suggestions on how I can stop ...
0
votes
2answers
38 views

Comments on pages not appearing, even though I enabled them

I disabled once comments on my pages, and I do not remember how, and now I tried to enable them and they do not appear. I am aware to the checkbox at the bottom of the page & screen options, but ...
-4
votes
1answer
29 views

How to Display only the Author last comment

How to display only the author last comment (with link or without link) in author page . Please give me the code. Thanks You.
0
votes
1answer
35 views

How to enable reply button on mostly deeply-nested comments? [closed]

I have a blog on wordpress.com, using the Twenty Twelve theme. Background In my experience, on wordpress blogs with nested comments, the reply buttons only show on individual comments when their ...
5
votes
7answers
14k views

How to add a class to the comment submit button?

How do I add a class to the comment submit button? The simplified function comment_form(array('id_submit'=>'buttonPro')); obviously only changes the id and class_submit does not seem to exist. I ...
0
votes
1answer
135 views

WordPress Pages “allow comments” meta option can't be checked

I'm trying to allow comments on WordPress pages, but when I check the page's "Allow Comments" meta checkbox option ( http://i.stack.imgur.com/P5Mbt.png ) and save page, it does NOT save settings, it ...
1
vote
1answer
502 views

Sorting posts DESC based on the number of comments using WP_Query

I have this unusual requirement from my client that I need to accommodate. They want to be able to view the posts with the largest number of comments first. At first I thought using a custom select ...
0
votes
2answers
315 views

Opening all posts for comments

Is it possible to use the user-interface (front-end) part of Wordpress to open comments on all posts in one (or two) clicks? I have many posts with closed comments which must have happened by ...
1
vote
0answers
38 views

How to add internal, revision comments to page updates

I'm not sure the proper WP parlance for this, but I'd like to add historical comments to submitted page updates for version control purposes or as a supplement to the Revisions Browser. (Something ...
0
votes
0answers
26 views

How to change comment-page-1#comment-25 to any string?

How can we change the slug "comment-page-1#comment-25" to somthing like review-page-1#review-25
0
votes
0answers
40 views

Edit own comments in other users' posts

On my site I am only going to allow logged in users to post comments. I would like to allow logged in users to edit (and remove) only their own comments in another users' post (e.g. admin). For the ...
0
votes
1answer
39 views

All Posts Have The Same Comments

I'm getting a really weird bug. I'm getting the same comments from 1 specific post which is the "Hello world" for every single post! But when I remove a bit of code for a recent posts widget that I'm ...
1
vote
1answer
275 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 ...
0
votes
0answers
53 views

How to display the comments_template with a shortcode and only on that location (remove from default location)?

How can I mimic the code below in order to display the comments list (comments_template) with a shortcode? add_shortcode( 'wpse_comment_form', function( $atts = array(), $content = '' ) { if( ...
0
votes
0answers
109 views

Display the combined WordPress and Facebook comment count in Genesis child theme

I have a Genesis child theme in which I display both WordPress and Facebook comments. I would like to display the combined WordPress and Facebook comment count in the comments link. I found the ...
3
votes
1answer
80 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 ...
1
vote
1answer
162 views

Comment form connection to Gravity Forms

I want to use the comment form I have built to then transfer data directly into an entry within Gravity Forms. I'm thinking it can work from this: Someone fills out comment form. If checkbox is ...
0
votes
0answers
58 views

Load comments_template for specific post

WordPress by default allows users to call comment_form() using a post ID that the form should be for. for example, you can say comment_form($args, '114'); to load the comment form for the post with ID ...
-2
votes
1answer
85 views

Questions about using Disqus or Jetpack for comments [closed]

I'm looking for a good commenting plugin, I want to choose between Disqus and Jetpack, but I have a few questions I couldn't figure out myself. Hopefully you guys can help me out! :) 1) Where are ...
-1
votes
1answer
106 views

Merge comments from Facebook with WP comments [closed]

I'm looking for a way to integrate Facebook comments (actual comments from facebook) into the comment section of a wordpress post? So what I need is; when someone comments on an URL-post on facebook ...
1
vote
3answers
2k views

Comment_Reply_Link Not Showing?

When I use the following code, everything shows except the reply link! Anybody know what I've done wrong? I'd like the link to show up with the word 'Reply.' Live example: ...
0
votes
0answers
23 views

How to hook into wordpress user comments (for parsing)

I wrote my own template, and I use a comments.php file. At the end of the file it calls comments_template() to display the mostly default wordpress comments. I want to give users the ability to use ...
0
votes
2answers
42 views

Exclude the word comment from being referenced

Lately i m trying improve my SEO, and i found in Google Webmaster Tools that the mains keywords are 'Comment' & 'Read more' it s a bit frustrating. How can I say to the search egine dont ...
1
vote
1answer
112 views

“comments.php” not available after edit in WP administration

In the theme "Point", the page "comments.php" is not translated properly. I wanted to translate the labels manually (to french) in the WP administration editor but when I update the file, the comments ...
2
votes
1answer
46 views

Why are default comments deprecated?

I am developing a theme and, after calling comments_template(), noticed that "Theme without comments.php is deprecated since version 3.0". I created a comments.php in the root of my theme and copied ...
0
votes
0answers
33 views

How can I change the markup of the comment_form() function?

I am currently creating a website on localhost. I am looking to change the cancel_comment_reply_link from being next to the "Reply to " section, instead being right next to the "Submit" button. I know ...
4
votes
1answer
214 views

Show content only if member left a comment

Functions Php : add_shortcode( 'membervip', 'memberviparea' ); function memberviparea( $atts, $content = null ) { if( is_user_logged_in() ) return '<p>' . $content . '</p>'; ...
0
votes
1answer
19 views

How to open up comments to all visitors

The "Leave a Reply" section at the bottom of my pages is asking for a login before visitors can comment. Is there any way I can turn this off so anybody can leave a comment?
1
vote
1answer
22 views

Editing WordPress comments : generating comment from selection

On my website, I would like users to comment using a list, which will then generate a comment for the user. For example, the comments section will have a multi-select box asking " which part of the ...
0
votes
1answer
40 views

A Space being added to url generated by custom plugin

<?php /* Plugin Name: Convert Comment tag to link */ add_filter( 'comment_text', 'mh_commenttaglink' , 5000 ); function mh_commenttaglink( $text ) { // RegEx to find #tag, #hyphen-tag with ...
-1
votes
1answer
201 views

prevent duplicate comments using wp_insert_comment

i am trying to import facebook comments to wordpress what iam doing is get the graph of the facebook post Comments, json decode it then i import the comment via this code so my code so far is ...
0
votes
2answers
66 views

How to add text to the start of all comments?

For example somebody replies- Hi! This is a Comment! but is published as Text- Hi! This is a Comment! Any ideas folks? I'm totally stumped. I want to add the extra text so it appears within the ...
6
votes
1answer
990 views

Aggregate comments, with pagination

I want to build a page that would display all comments, regardless of which post they're attached to. I also want that page to be paginated, since it'll potentially have 10,000+ comments. I'm not ...
2
votes
2answers
1k views

Custom Post Type loops and Disqus

I've created a CPT for a site I'm working on at the moment called "campaigns". I've created a page which displays some content as well a custom loop which displays the most recent Campaign. ...
0
votes
1answer
25 views

Some comment box wordpress in 1 post [closed]

Can I add more sections to comment on the same post? For example, I have an Entry and it has 4 tabs, In every tab you need a comments section, Is this possible? Thanks
1
vote
1answer
210 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 ...
1
vote
1answer
62 views

Disqus comments and pingback script - how to change the order?

I am using the "modular demo solution without wp_list_comments()" for showing trackbacks and pingbacks next to Disqus comments. And I would like to know how to change the order of output? With these ...
0
votes
1answer
14 views

Front End User(bloger) turn on and off his comments

I have a wordpress site with bunch of users, each of them having their own page with comments. I would like to implement a checkbox for users on the front end, to turn(toggle) on and off the comments. ...
0
votes
1answer
62 views

get_comment_meta not behaving as expected

I'm sure this must be a silly error by me but I haven't been able to solve it... I added an extra 'rating' field to my comments form so that users can rate posts. Everything works fine and by using ...
1
vote
1answer
71 views

Add action on delete comments?

I add some input fields to the comment form, and than this new data is stored on commentmeta table. When a comment is deleted, the data on commentmeta is still there. How can I delete these data ...
0
votes
0answers
40 views

get_comments function returns diffrent values on different accounts, why?

If I am on my admin user, the function get_comments() returns the array of comments in the template, but for the subscriber, the array is just empty. I tried to add permission to the user but it ...
2
votes
1answer
216 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 ...
1
vote
0answers
16 views

Prioritizing the wordpress comments

I want to change the order of the post comments i.e the main comment should be in desc order (recent comment should display first) but all the reply to the main comment should be in inc order(latest ...