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
2answers
263 views

How to hide trackbacks on wp-admin/edit-comments.php

How to hide (or not to show, better said) trackbacks on wp-admin/edit-comments.php page? I want to hide the comments with no email (also known as trackbacks) and comments with a specific email from ...
0
votes
1answer
38 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
3answers
306 views

How to disable or hide WordPress.com as a social media login option for Jetpack Comments [closed]

I am looking for a method to hide or remove WordPress from the login options in Jetpack Comments. I have tried adding a#postas-wordpress {display:none !important} to the theme's style.css, but no ...
1
vote
0answers
90 views

check if comment submitted was successful

I want to use php to understand if comment submission was successful. Is there any get/post data I can use to make if function for this?
2
votes
2answers
331 views

How to allow only Admins or Logged In Users to post links in comments?

I know how to disable HTML in comments, but I'd like the ability to only have Admins be able to post links, or only Logged In users if need be, to have the ability to post links. Is this possible? I ...
0
votes
1answer
304 views

I need to disable Disqus comments pre-approval, but i can't find where

I've tried contacting Disqus support but they haven't answered. I need to disable pre-approval for comments but i can't find where to set that option. Could anyone help me? Thanks.
0
votes
1answer
309 views

how should the comment form really work?

taken on someone elses code and trying to get a clear understanding of just how the comments forms should work. they're being used as feedback for someones visit to the venue, so not as a comment on a ...
1
vote
0answers
58 views

code highiglight not working comment

SyntaxHighlighter Evolved plugin installed on my blog. Code highlight working on post,but no comments.. I am showing the comment form with the different codes : <form method="post" ...
2
votes
1answer
406 views

Custom disqus_identifier not properly changing default value

I have several pages that are all part of the same topic, and I would like them to use the same comment thread on Disqus. I am using the following code to pull the custom identifier from a custom ...
1
vote
0answers
46 views

Trackbacks not displaying

I'm building a new theme and I'm just working through the Theme Unit Test requirements in the Codex. I'm stuck on the Many Trackbacks test. My theme doesn't show any Trackbacks but for the test post ...
1
vote
1answer
33 views

Comment number does not increment

I am making a custom wordpress theme and when I add a comment to a post and retrieve the number of comments using get_comments_number() the number does not change. I do know the function works ...
0
votes
1answer
314 views

Custom action on comment post

Whenever a user posts a comment, I'd like to basically have a copy of the post sent to another database for a separate site. The database part is simple, but I can't seem to find the right action hook ...
2
votes
1answer
720 views

Display user's total comment count outside The Loop

How do I display a user's total comment count outside The Loop? I use this code to display comment count inside the loop: <?php global $wpdb; $user_id = $post->post_author; ...
0
votes
1answer
1k views

Is it possible to show custom comment metadata in the admin panel?

I've customized my comment form with a new field (city, but that doesn't really matter). I've hooked and filtered and added my comment metadata with add_comment_metadata. I want to show that metadata ...
1
vote
2answers
141 views

unregistered user can write in blog page - possible? how to?

I'm working on a site wherein the owner wants people(potential real estate clients) to be able to write their home-owning hopes, dreams, desires, etc. I'm thinking something similar to the ...
1
vote
1answer
67 views

How to list posts with disabled/closed comments, with pagination?

i'm interested how to display all posts (from all categories) that have closed/disabled comments? I have tried using the comments_open() function inside the loop, that works, i don't know how to ...
1
vote
2answers
357 views

Loading post comments after clicking a button

Is it possible to load site comments on-demand instead of having them always display at the bottom of the post? Like by clicking on Load Comments.... You can check labnol.org. They are using Disqus ...
1
vote
0answers
66 views

Display posts with comments closed, with pagination?

i'm using a custom query, which needs to display all posts with closed comments. I have this <?php $the_query = new WP_Query('showposts=-1'); ?> <?php while ($the_query -> have_posts()) ...
0
votes
1answer
63 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, ...
1
vote
1answer
100 views

What filter/action hook can I use to add a few links to the admin comments page?

I would like to add a link to every comment when it's displayed in the recent comments admin page (edit-comments.php). For the sake of this question, the link should just be this: <a ...
1
vote
1answer
268 views

Ajax comments not working

I followed a tutorial to 'ajaxify' wordpress comments where it does not reload the page: jQuery('document').ready(function ($) { $('#commentform').each(function () { var commentform = ...
0
votes
1answer
50 views

How do I get a array, with the right order of the nested comments?

array (size=10) 'comment 0' => array (size=2) 'comment_id' => string '22' (length=2) 'parent_of' => string '0' (length=1) 'comment 1' => array (size=2) 'comment_id' => ...
-1
votes
1answer
78 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!
0
votes
1answer
146 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
93 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 ...
3
votes
2answers
1k views

Using Wordpress' WYSIWYG for comments

I've been trying to set up the comments section of a site I am working on to use the default Wordpress WYSIWYG (TinyMCE). But it's harder than expected. I used this tutorial to take me almost all the ...
-1
votes
1answer
40 views

Reply form used in wordpress.com

The reply form that comes originally with wordpress is, well, so big and annoying. While the one that appears on wordpress.com blogs is very elegant and feature-ful. Does the one used in ...
4
votes
1answer
709 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 ...
0
votes
1answer
82 views

Pull comments from one page/post into another page/post?

I am creating a facebook app via wordpress but some how need to pull the comments off my homepage and insert them onto another page, essentially what I am trying to do is duplicate the homepage with a ...
0
votes
1answer
97 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. ...
3
votes
1answer
1k views

How to add filter in “Comments” at the admin panel?

I found so many information and most of the tutorials only talk about adding filter in post/custom post only. I want to do something similar to this tutorial in 'Comments' area in admin panel. Add ...
1
vote
1answer
825 views

where to modify get_comment_author_link()?

Whenever a user presses on a comments author it redirects the user to the site which was enetered by user. I just want to add the target="_blank" element. where I can modify this? In file i see only ...
1
vote
3answers
181 views

How do I turn comments off for pages, but not posts?

I want my pages to not have comments enabled by default, only my posts. Is this possible?
2
votes
2answers
416 views

How to get the result of comments_number() as a string instead of printing it out?

comments_number() is quite useful: It takes the result of get_comments_number() and prepares the output with some localization magic. Unfortunately, it prints the result out when it is done, it ...
0
votes
4answers
130 views

Custom setup of wordpress comments that are displayed

I have setup in admin to have 5 comments per post display, which is what I want, and newest at the top. But the problem is when a 6th comment is made it is the only one displayed and you can read ...
2
votes
2answers
2k views

Add placeholder attribute to comment form fields

I have been trying to add to the default WordPress comment form. I need to add placeholder="" to each field. I can't figure out the filter. I don't get any errors but I don't see the placeholder ...
0
votes
2answers
93 views

Wordpress error when sending comment

I'm using the default comments template. When I send a comment I get the following error message: Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ...
0
votes
1answer
382 views

How to display comments list by order when clicking on newest or oldest link?

0 down vote favorite I have a wordpress single post where I have comment system - Live Site And I have two links one is: 1. newest 2. oldest The thing I want is when I will click on newest it will ...
0
votes
1answer
557 views

Can I create a new comment type?

I want to add different custom fields to comments that belongs to different user group, and display different types of comments in different ways. But WP has some default comment types that shows the ...
2
votes
1answer
170 views

Edit Comment_Field while using T5 Comment Textarea On Top-Plugin

I’m using the T5 Comment Textarea On Top-Plugin for the comment_field. I’m a newbie to wordpress. So I don’t know, how can i edit the Style of the comment_field or edit the Label? Usually I would put ...
2
votes
3answers
240 views

How to get last comments but not from admin (or other specific user role/capability)?

I'm using get_comments to show lastest comments i.e.: <?php global $comments, $comment; $comments = get_comments( array( 'number' => '5', 'status' => 'approve', 'post_status' => ...
1
vote
0answers
70 views

Comments from vbulletin topic

I have a WordPress site and a forum that runs vBulletin. Each article I post on the website is automatically posted as a thread on a specific forum category (using the website RSS feed). Now, I have ...
1
vote
2answers
91 views

Get declared variable in single.php to work in comments.php without re-declaring it [closed]

I have declared a variable in my single.php $title = 'myvar'; Can I get it in my comments.php without re-declaring it again? I use this code to get the comments.php templage: <? ...
1
vote
2answers
108 views

Make wordpress comments work with include templatepath

How can I make the wordpress comments work with: include(TEMPLATEPATH."/comments.php"); instead of: comments_template( '', true ); Ay ideas? Ty
4
votes
2answers
877 views

How can I limit the number of comments per registered user per day in wordpress?

I found this code here on WPSE: global $current_user, $post; $args = array( 'user_id' => $current_user->ID, 'post_id' => $post->ID ); $usercomment = get_comments( $args ); if ( 1 <= ...
0
votes
1answer
37 views

Modify links in user comments

When a link is posted in a comment, the format is : rel="nofollow" Using a function, how can I change that to : rel="external nofollow _blank" So the links open in a new window?
2
votes
1answer
228 views

wp_insert_comment error. puzzled by date value

I am trying to programmatically insert comments in a bulk operation as part of migration routine. Comments are in a SQL server table. I receive the date info from the SQL server table field and ...
0
votes
1answer
117 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( ...
1
vote
1answer
733 views

What is causing wp-comments-post.php to redirect to the browser's IP address?

I've got a copy of WordPress running that has recently been moved off shared hosting and onto a VPS that I control. While a testing copy of the same site runs correctly on another vhost on the same ...
1
vote
1answer
82 views

Problem with Comment link in Blog [closed]

I have all the settings setup to allow comments on my Blog postings. However, when you click on the link to post a comment nothing happens. Attached is my comments.php file Also the site is ...