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
386 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
0answers
15 views

How to limit one IP to post only only comment per post?

I'm making a review website. How can I limit one IP address to be able to just post one comment on the same post?
6
votes
1answer
1k views

Filtering the Admin Comments List to Show Only Comments from the Current User?

In the Comments page (/wp-admin/edit-comments.php), every logged in user can see all the site comments. I'd like the users to see only his/her own comments and the comments that are left to ...
0
votes
0answers
13 views

Paginate Comments Using WP_Comment_Query

I'm creating a page of all comments on my site. The below query is basically what I need except I want the option to paginate through all the comments instead of loading them all on one page. I've ...
0
votes
1answer
11 views

How to check if post has previous_comments_link() and next_comments_link()

I'm using the following code for comments pagination (based on 2014 theme) <?php if( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> <ul class="pager"> ...
0
votes
0answers
19 views

Using Comic Easel plugin the comment button doesn't work [closed]

I'm a wordpress newbie and I'm trying to use the comic-easel plugin in my blog. I thought that I installed it correctly, because I posted some images without any problem and the next and previous ...
0
votes
0answers
12 views

disable email notification for specific page

I would like to make the page with id = 2 that do not get notification mail that the message was written because I have on this page of me made to automatically approve comments. so i dont need ...
2
votes
1answer
318 views

How to convert WordPress comments to bbPress replies

I have a old blog that I would like to upgrade to a blog/website with bbPress forums and would like to convert the post to topics and the comments to replies. I already created my topics and now I ...
0
votes
1answer
321 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
2answers
38 views

page creator to leave comments ONLY

I am trying to set it so that the person who created a Page is the ONLY one who can comment on that particular page. This will be a logged in person. I haven't had any luck with Role Editor Plugins. ...
1
vote
1answer
261 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 ...
1
vote
1answer
283 views

ol children instead of ul children

I've created a new walker class to display a custom layout when using the wp_list_comments(); function and this is perfect, the only thing is that all replies to one comment are listed in a <ul> ...
4
votes
6answers
9k views

How to add a class to the comment submit button?

How do I add a class to the comment submit button? The simplified function comment_form(array('id_submit'=>'buttonPro')); obviously only changes the id and class_submit does not seem to exist. I ...
0
votes
1answer
1k 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
37 views

wp_update_comment not working

I've created a custom comment editor and for some reason, wp_update_comment is not working. It returns 1, which means it should have been successful but it's not actually updating anything. Listed ...
0
votes
2answers
303 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
0answers
17 views

comment_karma. Archived info on using it is outof date

Using the tentyfourteen theme, how would I go about using comment_karma to change the displayed order of comments? There is a solution posted on several sites (inc here, Sort comments by karma) but I ...
0
votes
2answers
17 views

Adding restrictions to open comments

I've got my discussion settings set to allow people to comment without registering, so the comment form has the standard Name, Email, Website and Comment, and this is working exactly as I want. The ...
0
votes
0answers
5 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
2answers
179 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
1answer
28 views

Conditionally load class in the comment section of the post page

I want to be able to conditionally load a class containing the word 'AUTHOR' in the comments section, next to the name of the person who was the author of the post. I know it has something to do with ...
0
votes
2answers
361 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
3answers
4k views

Ajax submit comments

I want to submit comments via ajax. CLick the comment submit button, comments gets posted via jquery's ajax method and the result ("Awaiting moderation...") is displayed on the page. I went into the ...
0
votes
0answers
14 views

How to display Wordpress comments and comment form in lightbox?

I would like to display the "Leave a reply" link page content a popup or lightbox. I have Lightview, but dosen't help realy,becouse lightview get pages in Iframe, which disabled in this case for ...
0
votes
2answers
269 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
0answers
25 views

change text written in english into hindi

i want to change the text written in english into hindi inside my search bar, i am developing a hindi newspaper website by using wordpress cms so when user type in english to search related news in ...
1
vote
3answers
172 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?
0
votes
0answers
20 views

Custom Comment Form Error Messages

When submitting a comment with invalid data, an error page is displayed which doesn't conform to the website theme template. I've been trying to change this by attempting to display the errors in the ...
0
votes
1answer
19 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
0answers
34 views

Long query apache error from spam comments

My hosting company recently turned on the error reporting for slow queries in php/apache and we have seen the error logs get flooded with errors all from queries requesting spam comments on the front ...
1
vote
2answers
64 views

Display attachment, post and page in recent comments widget

The following code (old post is here and author is diggy) is useful, but i'd like display post and page on recent comments widget, not only attachments. function wpse80087_widget_comments_args( $args ...
1
vote
2answers
148 views

How to show Disqus comments and pingbacks?

I use disqus to handle comments on my blog. I also like to have pingbacks from various posts back and forth to each other (and from outside sources. However, I noticed today that while the comment ...
0
votes
1answer
41 views

Comments from other blogs are getting added to my blog?

Today I started receiving a ton of requests to moderate comments on my blog, but when I looked at the comments they are clearly from multiple other people's blogs. What could be the cause of this and ...
-2
votes
2answers
17 views

Recent posts with comment count in “Sidebar” template [closed]

I tried this code, but it totally broke my site. I suppose it's because I'm doing something wrong in the WP_Query's sacred posts context in the sidebar template. Could some WP guru please correct this ...
5
votes
3answers
561 views

Is there a plugin for posting inline comments, like in MS Word? [closed]

I want to make a cookbook style wordpress website, on which visitors can place comments inline. Like you do in a paper book with a pen: between the lines. Or like how MS Word handles comments. Does ...
4
votes
1answer
101 views

Why do I get accidental comments without (the required) email address?

Somebody translated one of my tutorials here (with my permission). All fine but I got comments that seem unintended on two of my tutorials that the translation links to. Now the weird thing is that ...
0
votes
2answers
26 views

Where is the Leave a Comment link set

I have a self hosted WordPress blog and use the Isabella Theme from BluChic. The initial installation of this was set up via an auto installer that the host provider offered. I moved the blog from ...
0
votes
0answers
35 views

Lost for direction on how to continue building a theme

I'm a complete beginner to WordPress. I decided to start building a theme. I've got the very basics down (header, sidebar, content, footer) but I just cannot find any direction on where to look for ...
0
votes
1answer
25 views

Display on page every post in blog WITH comments

I am trying to create a page which displays all the posts in the blog, with the comments to each post listed below the respective post. By looking around the internet I figured out how to create a ...
1
vote
1answer
43 views

Add Div to Comment Form

I have some code that displays my comment form and my custom validation, what I'd like to do is add a div right underneath the title, but I'm not sure how to do that because that code is generated... ...
0
votes
1answer
23 views

Adding comments section to website integrated WordPress instance

We've integrated a WP instance into our website, and I was wondering how to render the comments template into the page. I've tried simply adding: comments_template( '', true ); But it doesn't ...
0
votes
2answers
539 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
1answer
43 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 ...
1
vote
3answers
352 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 ...
1
vote
1answer
31 views

To whom do emails get sent via the Wordpress comments form?

I am working on a Wordpress 3.9.1 site, specifically the comments form. I have a copy of the site on my server and I want to test the form in the following three ways: Adding a new comment ...
1
vote
0answers
81 views

wp-comments-post.php file returns a blank page

When i post a reply to my blog, it's return a blank page to me. It seems that happens because of this code in wp-comments-post.php if ( 'POST' != $_SERVER['REQUEST_METHOD'] ) { header('Allow: ...
0
votes
0answers
24 views

How can I check a new comment reply in realtime and get the reply text for a notification system in wordpress?

I would like to, when you get a reply for your comment, you get little box, in right side, something like this with the reply text. The notificator must be work in real time, and must be, get the user ...
0
votes
1answer
12 views

comment-reply.js always focuses on comment textarea

When replying to an already posted comment, comment-reply.js (or the 'min' version) is used to move the comment form up to below the comment being replied to. It also gives the focus to the actual ...
0
votes
0answers
33 views

Comments pagination and WP_QUERY

I have a list of posts using wp_query On each post theres a list of comments What Im trying to do is to limit the number of comments to 2 and display a link for the next page of comments which I'm ...
0
votes
1answer
43 views

No comments on static front page

I have had this problem before. I want my homepage to be very simple, and I don't want it to be a discussion forum or a place where you can leave your comments. I wrote yesterday and got some good ...