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

How do I call comments_template(); from a plugin file?

I am trying to call comments_template(); from a plugin file. Specifically, it's the player.php file from the plugin All Video Gallery. Below is the file itself. <?php ...
0
votes
1answer
34 views

How to maintain changes to comment-template.php

I have made some custom changes to the file wp-includes\comment-template.php. These changes are periodically lost and I assume it's related to updates for WordPress and the file is ...
0
votes
1answer
122 views

Average Score of all ratings in comments

i have a rating system in comments, for each comment user can rate 1-5 Stars. Now , i want the average of all ratings in comments of that post to show. How can i do that. Here is the link to the ...
0
votes
1answer
44 views

Insert comment and still use moderation

I have a custom comment form that inserts a comment outside of the loop and applies it to a post. I'm trying to get it to still use the moderation check before it marks as "approve". Is there a way to ...
0
votes
1answer
2k views

Custom post type: can't enable comments by default

I want to enable comments for custom post types just like they are for standard posts, but can't seem to get it to work. In functions.php, as part of registering my custom post type, I have this: ...
0
votes
1answer
50 views

How to hold all comments for moderation, including author's comments on own post

I want all comments no matter what, to be held for moderation and not appear till approved by an admin. Wordpress allows author comments on own posts to show up without holding for moderation. Any way ...
0
votes
1answer
292 views

Limit comments per user per post

I use this code to limit the comments to 1 for registers users and works fine. The problem is that when i click to "go back" button in the browser i can comment again. Is there any effective way to ...
0
votes
1answer
255 views

Insert image in comment reply

I have searched everywhere but can not find a plugin that allows users to upload an image into their Reply to a comment. It is a photographic blog so has to have this ability. I did try a couple but ...
0
votes
1answer
208 views

How to use Disqus for some categories, and FB comments for others?

I didn't find anything related to what i'm trying to do. My WP blog have several categories. For one specific category, in which I publish short news and viral content, I'd like to use Facebook ...
0
votes
1answer
89 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
1answer
44 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( ...
0
votes
1answer
139 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
1answer
155 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
93 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 */ ...
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
203 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
1answer
99 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
51 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 ...
0
votes
1answer
189 views

Can I use WP comments for custom tables?

I'm using WP as the framework for my site and I have a bunch of custom tables. Now I need to allow users to write comments to various entities. Let's say one entity is image and I want users to ...
0
votes
1answer
67 views

Comment Blacklist

I have a list of words that I placed in my blacklist_key option values update_option( 'blacklist_keys', $words);. But I still can make a comment with such words. Any ideas? I can't answer my question ...
0
votes
1answer
196 views

Comment moderation with disqus comments

Comment moderation on custom post types this answer shows moderation on custom posts. Is this possible with disqus?
0
votes
1answer
50 views

Changes in comments.php in the child theme does not show up on the site

I am trying to customize the comments template in the comments.php and so have made some changes to the code, including a call back function in wp_list_comments() (which I have defined in ...
0
votes
1answer
276 views

How to allow logged in users to post anonymously

I've been searching and searching for a while now to see if there's a way to allow people who are logged into my BuddyPress site to make a post on the activity section as "anonymous" or as their ...
0
votes
1answer
46 views

Display facebook comments made on site

Im using facebook comments for wordpress, now i would like to display the recent comment using the widget but its getting an error Fatal error: Cannot use string offset as an array in .. Is there ...
0
votes
1answer
57 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
38 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
74 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
110 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
85 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
86 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
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
79 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
248 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
65 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
142 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
239 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
39 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
64 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
177 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
95 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
105 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
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( ...
0
votes
1answer
503 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
113 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
43 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
78 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
27 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
81 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!
-4
votes
1answer
19 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.