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

Comments as part of a post

Is there a way to show comments as part of a post, and not adding it with comments_template()?
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!!
0
votes
1answer
58 views

Remove comments validation (remove filter?)

How i can remove wordpress comments content validation, I do not want to or examined the earlier there was no such comments. I see for: ...
0
votes
1answer
43 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 ...
0
votes
1answer
59 views

Getting error while trying to use custom comment function

I'm trying to write a function that will allow me more control over the display of comments on a post page. However I'm confused about how to set it up so WordPress can use it. right now I get the ...
0
votes
1answer
153 views

How to add custom comment fields but *only on the comment reply form*?

I've been searching high and low for this but can't find anything that explains how to add custom fields to only the reply form. I've seen and got working custom fields on the comment form, but when a ...
0
votes
1answer
99 views

How to wrap comment_form $fields in one div?

Is there a decent standard WP way of wrapping the 3 standard fields (name, email, website) in a div? I'm using bootstrap and would like them to be in their own row. Example: <?php ...
0
votes
1answer
40 views

Problem displaying replies as part of author's latest comments on author page

I've based a lot of my method on this thread here I can currently display 5 latest comments on an author template page. I want to display the latest 3 replies from any user for each 'main' comment ...
0
votes
1answer
60 views

Can wordpress comments have titles and taxonomy?

I have a business directory theme that has a custom post-type for businesses and replaces wordpress comments with its own commenting feature called reviews. I was wondering if its possible to ...
0
votes
1answer
72 views

Prevent Contributor to show comment list

How can I change WP so the Contributors will not show to comment for other post, So they will see only the comments to their post?
0
votes
1answer
18 views

Redirect first time comments

So I want to add a comment redirect code to my comment form. I know I have this part right here: <input name="redirect_to" type="hidden" value="http://domain.com/thank-you" /> So what I want ...
0
votes
1answer
17 views

Posting XML in comment section

Users post XML data in my comments section frequently due to the nature of my content, but due to the way the comments work, the elements are consumed and do not appear properly. In fact, when I look ...
0
votes
1answer
152 views

Trying to post a wordpress comment on my site redirects to 127.0.0.1

My commenting system used to work fine, but now it redirects to 127.0.0.1 whenever I try to post one. Any ideas on how to fix this?
0
votes
1answer
56 views

How can I fix the even/odd child classes comments so that the comments are unaffected by the top-level even/odd?

Sorry if the title was confusing, I'm having a bit of trouble explaining here. I'm working on a theme for my site, and I'm using a slightly modified version of a custom comments template found here. ...
0
votes
1answer
15 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
45 views

Removing categories, Comments etc from posts?

im wondering if there is a way to completely remove this feature from my website as i have no need to categorise any of my posts - i plan to post projects in pages from my left sidebar with a static ...
0
votes
1answer
58 views

How to Define Custom Number of Items in Comment Feed

Seeking a hook or code to override the Reading-Settings value for Syndication feeds show XXX items specifically for the comment feeds. Ideally I'd want to roll into a plugin I can network activate ...
0
votes
1answer
37 views

3rd Party Login in wordpress

I have two sites. One on wordpress and one non wordpress site. Now, I have used the header and footer from my non-wordpress site. What i want is that if user logs in on my non-wordpress site then he ...
0
votes
1answer
206 views

Custom comments list, right depth

I created a custom comments_list() function, it works fine, the only problem is to show child comments inside the parent div. It works well with first and second depth levels but not for others. This ...
0
votes
1answer
75 views

transition_comment_status gets called when untrashing comments

I can't seem to figure out why untrashing a comment, calls my "approve_comment_callback"-action. Any ideas? I just don't want it to send two emails at the same time, when I untrash a comment. Here ...
0
votes
1answer
238 views

Display DISQUS on homepage

I have installed disqus and I want it to show up on my homepage. It replaced the old wordpress comments system on pages and posts but I also want it to appear on index.php my index.php file now - > ...
0
votes
1answer
78 views

Trash a post, send associated comments into the trash bin (change status)

When trashing a post, all comments associated with this post get the status "post-trashed". They do not end up in the trash bin. In my theme the author gets a point for posting a post or a comment. ...
0
votes
1answer
42 views

Sort post by last commented

I tried this : <?php if ( have_posts() ) : query_posts(array('orderby_last_comment' => true)); ?> But it's not working
0
votes
1answer
16 views

User's Comments Number: Storing it in a meta field for different uses

As I am building a new website where tracking users' information is key to engage, etc..., I found it important to be able to store users' number of counts as a meta. The main reason for storing the ...
0
votes
1answer
47 views

Auto disable comments with custom field

i have this code to disable comments after X days based on publish date. How can edit this code to auto close comments based on a specific date using custom field? Thank you. function close_comments( ...
0
votes
1answer
83 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
167 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
47 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
3k 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
61 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
332 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
331 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
236 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
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
1answer
54 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
149 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
182 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
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 */ ...
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
212 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
112 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
53 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
217 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
75 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
209 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
51 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
329 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
47 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
64 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 ...