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
3answers
59 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
vote
3answers
348 views

Comment as post - understanding wp_list_comments

I'm creating a site where a central question will be posed on the front page with excerpted first-tier comments linking to a page with the full first-tier comment, presented almost as a post, with ...
3
votes
2answers
174 views

How to target the default Recent Posts and Recent Comments widgets with pre_get_posts?

I added the following to my functions.php: add_action('pre_get_posts', 'keyl_get_emp_posts'); function keyl_get_emp_posts($query) { if ($query->is_main_query()) ...
1
vote
2answers
19 views

How should I get the original comment while processing the reply

I'm working on a comments section for my template. And I need to do something like this: Comment: -This was my original comment And this is my reply to the original comment. So I wanna cite the ...
1
vote
2answers
183 views

Get only one comment per post with get_comments

Is there a way to limit get_comments results to just the latest comment from every post?
0
votes
2answers
14 views

Comment text area in single blog post and show comments if approved

I'm modifying some existing code and trying to add the ability for user to leave comments on single post and then echo those comments based on approval. I need to add right below <?php ...
0
votes
2answers
22 views

Is there a better way to check for a new comment?

I have some code that runs on the client that checks every 30 seconds or so for new comments, and if a new comment is found the user is alerted. The check count the comments on a page, and returns ...
0
votes
2answers
48 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 ...
0
votes
2answers
167 views

Get first comment link on the post itself

I have this function and a link to a post: <?php foreach ($results as $id) { $post = &get_post( $id->ID ); setup_postdata($post); <li><a <?php href="<?php ...
0
votes
2answers
138 views

I want to add comment feature to woocommerce single product page

I want users to give their comments and replies about the product. Currently have woocommerce installed in my wordpress site and currently using The One Pager woo theme. I want to add the comments at ...
0
votes
2answers
47 views

comments are going to spam

Why all wordpress comments are going to spam? I didn't installed any plugins to protect blog from comment and trackback spam. Please help me to find a solution.
0
votes
2answers
130 views

show posts from one category with comments only

Would anybody have a good idea for getting the WP to spit out all posts from a category with (approved) comments only? I have an ecommerce site set up, and treat comments on product posts as ...
0
votes
2answers
255 views

How to use the 'comments_number' filter?

I'm not sure how to use this filter. Could someone show me an example? I'm trying to change ('0', '1', '%') to ('0 Comments', '1 Comment', '% Comments'). I'm using this function to get the comments ...
0
votes
2answers
88 views

Recent comments per tagged post?

Could you please help me with some code to get all recent comments for posts that are tagged with for example "XYZ"? Thanks in advance, you guys are great!
0
votes
2answers
293 views

Show count of all comments by meta_value from a users posts

I'm trying to display the total number of comments for a users posts limited to a comment meta. I've tried using both get_comments() and WP_Comment_Query() but I get the same result of "1" for the ...
0
votes
2answers
143 views

In list with recent coments - only show one comment per page/post (latest comment)

I am trying to make a custum 'Recent Comments' code for use in the sidebar. I have come a long way, but there is just one thing that doesn't do what I'd like it to do. What I want is that, per page ...
0
votes
2answers
346 views

Actual comments not showing, but form is?

I have edited the comments form to remove a few fields and now the approved comments don't show up, just the form itself. What am I missing from this? <?php $comment_args = array( 'fields' ...
0
votes
2answers
521 views

Check for Facebook comments in a post?

How can I check if a post has Facebook comments on it and create a conditional statement? I'd like to show a small comments icon if any comments have been made. Even better, anyone know how to get ...
0
votes
2answers
138 views

Let users comment on categories in WordPress

I'm working with a client who wants visitors to be able to post comments on categories instead of on individual posts, but I am unsure on how to go about it. Is it possible to display the comment form ...
0
votes
2answers
43 views

use a page to render 1 post and include comments FOR THE POST

wordpress 3.3.2 hi. so i have this custom post type and i use a page to show just one post. url.td/page/ the page renders the post but now i want to include comments. if i allow comments for the ...
-1
votes
2answers
282 views

Can features like Disqus or Intense Debate be done in a normal WordPress plugin without a 3rd party involved

I was searching for a real good feature rich comment system for Wordpress, I used Disqus a few times and may still not know the whole list on features and why it's so popular. Would features like this ...
-1
votes
2answers
831 views

Disqus: Get recent 5 comments

is it possible to get recent 5 comments of a specific disqus-account without using the (aweful) plugin? I want to put them into a content-slider and don't find any bit of API for that! Thaanks!
-1
votes
2answers
454 views

Facebook Comments not working in Wordpress

I'm using Facebook Comments plugin, I contacted the developer of the plugin and he is saying it's a Facebook app issue. I made sure my application ids matched, but I'm still having the issue. See it ...
0
votes
1answer
43 views

How can I have a full comments.php for an easy editing of all its aspects?

Is there a way to get the full code of the comments.php instead of the one I have with any recent theme where I just can edit few parts of it? I know it's encoded but I wonder if there's a chance to ...
0
votes
1answer
37 views

Disable Link to Post from Showing Up in Post's Comments?

When I link to a another post in one of mine, is there a way for it not to show up in that entry's comments? Very small, new blog at the moment... I honestly just don't want all the exposure from ...
0
votes
1answer
28 views

Transfer comments from one domain to another

We have two domains with separate WP installs, it's not a multisite network. We would like to send or transfer comments from domain A to domain B so domain B handles all moderation because we'd like ...
0
votes
1answer
66 views

Customizing Comments on Posts

I have implemented custom code for generating comments on post page using callback function in functions.php. function MYTHEME_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ...
0
votes
1answer
88 views

Auto-deleting comments that trigger the blacklist

By default, the WP 'blacklist' feature finds comments containing the blacklisted string and moves them to the spam folder. What I am trying to do is change it so that instead of going to spam, the ...
0
votes
1answer
68 views

Force logged in users to provide more data when commenting

I have added more data to my comment using hooks. I added a group of radio buttons so users can select and choose one of radio buttons. Everything works perfectly fine but the newly added radio ...
0
votes
1answer
81 views

Display the first post's comments of category in comments.php template

I want the display the comments from first post of the category only. Example; Category - Post 1 (2 comments) - Post 2 (1 comments) - Post 3 (5 comments) If I am reading the Post 2 or Post 3, I ...
0
votes
1answer
305 views

Get Comment Author ID on the fly while posting

I am adding custom data to custom table while author posting a comment. Please find my code in my own answer here http://wordpress.stackexchange.com/a/85109/9821 Now I want to add one more column of ...
0
votes
1answer
39 views

Wordpress is adding <!— page-who-we-are.php --> above html

Wordpress is adding this comment above all HTML on my site which is causing problems in IE in which the site won't render properly at all. How do I stop WP adding this? Tried disabling all plugins ...
0
votes
1answer
75 views

Passing user meta through comment form

I want to create a hidden field in the user comment form storing the logged in users info (already created a custom field at registration) so I can pass it to the comments section to display on the ...
0
votes
1answer
127 views

Check the Comment in Reply or Normal State

I'm currently working with custom comment meta, and I have some custom additional field such as rating etc, when user write a comment ( not comment reply ) I want to show the rating field, but when ...
0
votes
1answer
60 views

By Default, Turn Comments Off for Pages & Leave Comments On for Posts

By default "Discussion: Allow comments." is checked when a new page or post is created. I know you can make "Discussion: Allow comments." unchecked by default on both pages and posts by going to ...
0
votes
1answer
117 views

2 tick boxes appearing below comments

In my site I have two tick boxes appearing above each other underneath the comments section. I have tried disabling pingbacks etc. How do I remove these? example - ...
0
votes
1answer
179 views

Retrieve comments from current post using SQL

I am trying to use this code below to auto-refresh comments but at the moment it is displaying all comments. I would like to only show comments for the current post. I am not very experienced with SQL ...
0
votes
1answer
37 views

How to stop comments widget conflicting with theme comments

I have a widget that retrieves and displays the latest comments for a WordPress site. It displays the comment author, Gravatar, comment and date / time. The function to display the comments is in a ...
0
votes
1answer
58 views

Comment Function

How would I make this Function display only the latest 5 comments? function showLatestComments() { global $wpdb; $sql = " SELECT DISTINCT comment_post_ID, comment_author, comment_date_gmt, ...
0
votes
1answer
126 views

same comment list for two posts

I've an unique problem, I'm using WPML to translate my website. WPML takes post and duplicates it, so that translation becomes another post. Thus keeping Gallery/Comments/Ratings separate. I'm on ...
0
votes
1answer
87 views

Incorrect redirect after commenting

I noticed not too long ago that after posting a comment the user is redirected to a page with this url ...
0
votes
1answer
90 views

Use specific language for comment section

On some pages I have the possibility to write a comment (name, email, website, comment). The labels are now in my default language. Now I want to use the English labels for the whole comment section. ...
0
votes
1answer
116 views

Problem display only posts with comments

I'm trying to make a page that will show only the posts that have comments. I have this in my page template: <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts( ...
0
votes
1answer
362 views

Display category-specific comments in sidebar

I'm trying to display comments in the sidebar from only the current category. So far I've got this: <?php // Posts per page setting $ppp = 8; //get_option('posts_per_page'); // either use ...
0
votes
1answer
111 views

Wordpress Page Template: Comment Filtering with Querystring

A custom Page Template was developed in order to display a list of products. A WordPress page (/products) was created and the template was applied to it. There is a database which the template's ...
0
votes
1answer
42 views

Email from new comments

My blogs emails are working fine. I get all emails when new post and new register. But i dont recieve any emails when someone make a comment. Yes i cheked in admin settings. Any idea?
0
votes
1answer
69 views

Semi-Private Comments + page comments -> is it possible?

is it possible to do this: User need to register and can only see comments written by himself or by an admin. Admins can see all comments create a profile page that user can see all their comments ...
-1
votes
1answer
25 views

I need help about wordpress of members section

function yg_yorumsuz_link_gizle($content) { global $current_user, $post, $wpdb, $yg_yorumsuz_yazi; $mesaj = ''; //Eğer giriş yapılmamışsa if ( !is_user_logged_in() ) { $mesaj = '<a ...
-1
votes
1answer
75 views

wp_list_comments adds unnecessary elements

wp_list_comments adds UL / OL or DIV which do not serve for my thema. how do I prevent this?? screeshots: http://d.pr/i/1bpn my code http://pastebin.com/bQxUyZTs tnx!
-2
votes
1answer
129 views

displaying recent comments outside loop without plugin

So I wanted to display the 10 most recent comments from my blog onto my homepage. Can anyone tell me how to do that? preferably without using a plugin if possible... thank you.