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

SELECT SQL_CALC_FOUND_ROWS with wordpress search

When I make a search on my site no posts are retrieved and through wordpress debug I get this error message: WordPress database error: [Table 'theme_se.wp_comments' doesn't exist] SELECT ...
0
votes
1answer
416 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
25 views

if null or int(0) value to 0

I am trying to get comment count. it works fine. but "0" value is not getting properly. it comes with empty or null. $comments_count = wp_count_comments(get_the_ID()); $...
0
votes
0answers
541 views

Pull & display new comments without refreshing the page

I've just managed to implement ajax on comment submission and now members don't have to leave the page when they comment but still have to go one extra mile when they want to see new comments. I've ...
1
vote
1answer
446 views

edit comments capability for authors

I am using wp site where registered users have authors roles. I want authors to have permissions to edit their own comments. Now only admin user have capability to edit comments and even editors do ...
0
votes
0answers
8 views

Comments submit button redirects to blank screen

When users try to comment on my blog posts they get redirected to a blank page (http://www.morebeyond.co.za/wp-comments-post.php). How do I fix this? I am not a developer, just admin.
0
votes
3answers
644 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 ...
-2
votes
1answer
35 views

How can I show the positive and negative comments for a same post separately?

I am working on a page in which the user will be able to choose whether he/she wants to see the positive feedback or the negative ones only. Whenever any user opens a post and moves over his cursor ...
0
votes
1answer
28 views

Generate Sub-Comments with WP-CLI [closed]

Using wp-cli, it is possible to generate random comments for posts. Is it also possible to generate sub-comments? If so; how?
0
votes
4answers
522 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 ...
2
votes
1answer
863 views

How to display comments on different page

I am creating a reviews site and I want to display the customer reviews (comments) on a separate page from the single-restaurant.php. I'll just have a link that says (Read reviews/ add yours). I ...
0
votes
2answers
1k views

How can I make Disqus comments not show up on pages?

I use Disqus to manage my comments. I'd like it to appear only on posts, and not on pages. How can I do that? If there's a way to selectively show it on some pages that'd be great, but in general I'...
0
votes
1answer
4k 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
55 views

Adding second comments.php for reviews

I've just started a business directory website. I'm using a custom post type for this. I'd like to extend the site's purpose by allowing visitors to add reviews on each business. I therefore wondered ...
1
vote
2answers
596 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
1answer
12 views

Newest comments first not working

I'd like to have my newest comments listed first but nothing seems to be working. In the dashboard I set In comments.php I have <?php wp_list_comments(array( 'reverse_top_level' => true, ...
3
votes
1answer
79 views

Comments to Custom Post Type

I'm switching to a new theme which uses the custom post types: Question (as posts) and Answer (as comments to posts). I have converted current Posts into Question using a plugin. Now, I have to ...
0
votes
1answer
454 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 ...
7
votes
1answer
70 views

Why are comments and trackbacks still getting through for custom post types?

We have a site where we don't want comments or trackbacks. We've done the following to disable trackbacks: In Settings > Discussion, unchecked "Allow link notifications from other blogs (pingbacks ...
1
vote
2answers
118 views

Troubleshooting Emoji in Comments

Just updated my local and live installs for a side project to 4.2 in order to take advantage of the newly added Emoji features. Emoji are working just fine on my local machine, but they seem to not be ...
4
votes
2answers
43 views

Filtering comment permalinks when a condition is met

I can't figure out how to filter the comment permalink on certain WP page that I use like this: if(condition is met) { (filter the comment url) } ...so that all the comment permalinks inside the ...
2
votes
1answer
230 views

Can I store my custom comment_type into wp_comments table?

I'm developing a system where a post can have multiple replies/feedbacks. As of now I's storing each of the comments as a serialized postmeta. But just today I figured out that I can use the existing ...
0
votes
1answer
543 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 it'...
1
vote
3answers
330 views

Where to remove <link> from comment's feed?

I can't seem to find where to delete/comment the line that prints: <link rel="alternate" type="application/rss+xml" title="[site title] [single title] RSS de los comentarios" href="[site_url]/...
-1
votes
1answer
19 views

Function to get a list of all comments on 1 post [closed]

I want to create a page where visitors can give a reference (ID) of a post and when they click on submit they get an overview of all given comments on that particular post. I think I have to create a ...
0
votes
0answers
15 views

Why are the author and the date not displayed next to the avatar in comment section?

I got the following code: jsfiddle.net/xg0waxL7 In this Fiddle it looks good but the problem is that WordPress displays just the bottom comment like I want it: prnt.sc/b7yaq6
-2
votes
1answer
20 views

How does Wordpress add the comments and comment form to posts

I have created tabs in my single.php file. I would like to move my comments from the bottom of the posts to the comments tab. I have can't seem to find how to do this. I have copied everything from ...
0
votes
1answer
374 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
2answers
544 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' =&...
3
votes
2answers
36 views

How to change email notification for Comments

How do you change the user that gets the notification email announcement for new comments and comment moderation? WordPress sends the notices to the Admin user. My client is the editor of the site. I ...
0
votes
0answers
14 views

Upvote/Downvote comments - where to start?

I need to work on a upvote/downvote module to my native Wordpress comments, but I have no idea where to start. Each comment must have a thumbs up and a thumbs down (including the replies), and my ...
1
vote
1answer
35 views

Sort/list/arrange comments by comment author in un-nested/no thread comments

I've looked far and wide and found nothing about this. I'm wondering if it's possible to sort/arrange all the front end comments, in an un-nested comment by comment author?
3
votes
1answer
33 views

comment_reply_link() not showing up

In functions.php I enqueue comment-reply and also define a callback function for use with wp_list_comments(): function theme_queue_js(){ if ( ! is_admin() && ...
0
votes
0answers
17 views

How can I deny the user the insertion of emails in topics / comments and stay on the same page?

I have this function that checks whether or not a content contains an email: function fw_check_if_content_contains_email( $content ) { if (preg_match('/\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b/...
4
votes
1answer
106 views

Comment form not display properly?

I want to display comment form in my blog page comment_form() work properly but its display like that: Comment name email website But this form should be display like that ...
0
votes
1answer
1k views

Comment Link from get_comments()?

I've got to update a bit of sloppy code that shows the 5 most recent comments across the entire blog. The code is using WordPress' get_comments() method, which doesn't appear to return comment id's, ...
6
votes
2answers
224 views

How to wrap submit button of comment form with div

Is there a way to wrap the submit button with html element while using wordpress function comment_form function. $comments_args = array( 'id_form' => 'main-contact-form', ...
0
votes
2answers
33 views

How do you override the default comment template?

I have a custom user database that is integrated with a wordpress website using a custom built plugin. I also want to integrate this user system into the comment system. I have found and completed ...
1
vote
1answer
686 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 ...
2
votes
1answer
296 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 ...
4
votes
1answer
88 views

“Categories” for comments?

For example post has comment area with 3 differnet tabs, e.g comments, reviews and questions. I've looked into it for some time know but I haven't came up with a perfect plan.. I figured it's time to ...
1
vote
0answers
14 views

Comment count wrong with orphaned comments

I have a news site set up with nested comments enabled. When a comment is marked as spam it is correctly removed from the article page however so to are any replies to that comment. This makes sense ...
3
votes
1answer
1k 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
2answers
26 views

Replying to comments

As the administrator for our blog, can I post replies to comments as someone else. If so, how do I do this? Each time I try to post a reply, it says it is coming from me and I want it to look as if it ...
4
votes
2answers
3k views

Removing the “Website” Field from Comments and Replies?

In an effort to combat comment spam, I'd like to hide or remove the "Website" field from the "Leave a Reply" section for page and site comments. I have no desire to increase others page rankings by ...
0
votes
1answer
2k views

How does “Your comment is awaiting moderation” work?

The question here is if someone could help me to make the comment "Your comment is awaiting moderation" work correctly for custom page. It works ok for standard Wordpress page but not for my own page. ...
0
votes
2answers
92 views

How to limit comment indentations to one level?

When you reply on a comment then that replied comment is indented. When you reply on the reply comment then that comment is indented a bit more than the previous one and so forth. I want to know ...
-2
votes
2answers
377 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 ...
0
votes
1answer
17 views

Get comment id of the individual comments in comment list when modifying comment posted using comment text filter

I am trying to modify the comment displayed in the comment list and for that i am using the following code: add_filter( 'comment_text', 'modify_comment'); function modify_comment( $text ){ ...