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

Display Comments list and a Comment form in home page inside while loop

I am trying to get a list of comment and a comment form in the home page inside while loop for displaying latest post which shows one latest post. I tried with <?php $withcomments = "1"; ...
0
votes
1answer
54 views

Add class to comment form div when comment-reply button is clicked

I'm using the comment-reply script to move the comment form under thread when replying to a specific comment. Comment form is being displayed in theme with: <?php comment_form(); ?> The ...
0
votes
1answer
26 views

How does WordPress generate a comment website preview?

In the WordPress comment que, hovering over the URL of a comment generates a preview of the website. How does WordPress handle this and does this generate a hit, or 'visit' to that website?
0
votes
1answer
41 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?
1
vote
0answers
31 views

changing comment-page-# to something like review-page-#

When you enable pagination for comments in wordpress the typical pagination page for a comment is "comment-page-1" "comment-page-2" etc. what I want is this to appear like "review-page-1" ...
4
votes
2answers
54 views

One comment per user per post but be able to reply to existing comments

I want to restrict my users to be able to comment only once per post but be able to reply to existing comments. How can I do that? I found this code which will do the half trick. With this code the ...
0
votes
0answers
15 views

Comments closed only for contributors

I am having a very funny issue right now. My WordPress is currently with comments activated and it always worked, but now that I've opened the website for contributors, only their posts are coming ...
0
votes
1answer
76 views

Warning: call_user_func_array() expects parameter 1 to be a valid callback, func

I have installed Wordpress in my localhost server. I am a creating custom menu. When I try to remove the existing "primary" menu from it, I get this error Warning: call_user_func_array() expects ...
0
votes
1answer
33 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 ...
0
votes
1answer
16 views

Two textareas showing up in comments.php

I have the following code to display comments, but there are two text areas showing up, not just one. Here is my code <?php $comment_args = array( 'title_reply'=>'Got Something To Say:', ...
0
votes
1answer
20 views

counting trackbacks, pingbacks and comments of a post

I wish to display the number of trackbacks, pingbacks and comments a post has. I've read all about them and I am wondering if there is a simple solution, that I am not seeing, available. I know that ...
0
votes
1answer
28 views

Show comment pop up links as text only

I'm trying to show comments_popup_links() function as a text only,not as a link. Is it possible to prevent it from being a link. Below snippet creates links to the comment, but I don't want it to be ...
0
votes
0answers
6 views

add notification options for commentor before a comment is added

i want notification options when a user comments on wordpress posts or pages before the user clicks a reply/post/comment... button like the image below and also like to have a function according to ...
0
votes
1answer
27 views

Increase Comment Author Gravatar Size On WordPress Default Comment Function

I am new to WordPress theme development. I am designing a new theme and using less codes and file as I am starting from basic. I am adding comments and comment form in my single.php using <?php ...
0
votes
1answer
22 views

child comments not displaying as nested

I'm having some trouble getting my comments to display as nested from other comments. My current max level of depth is set to 5 through the wordpress admin panel, but all my comments appear on the ...
1
vote
1answer
53 views

List all posts commented by current user

I need a page to display all posts (in Foods custom post type) that have comments by the logged in user. The list just needs to show the title with link to the title. Is this possible? What I've ...
0
votes
1answer
26 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
2answers
25 views

comments_number fails to print

I want to display the number of comments on a post using the template tag <?php comments_number( $zero, $one, $more ); ?> However, for some reason this tag does nothing and it is ...
0
votes
0answers
32 views

Allow Authors to edit all their own comments, even on others' posts

I recently found on my multiuser WordPress site that people with Author access can edit their own comments only if they are commenting on their own posts. As far as I know, this is all the edit_post ...
0
votes
1answer
63 views

Comments not enabled for custom post types

I don't get this at all. I've looked online and I think I did everything I was supposed to, but my custom post type does not display a comments form. In functions.php. where I define the post type I ...
0
votes
0answers
65 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?
0
votes
1answer
75 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
21 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 ...
0
votes
2answers
49 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. ...
0
votes
0answers
21 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
1answer
48 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
0answers
7 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
21 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
1answer
67 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
0answers
42 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
0answers
124 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 ...
0
votes
0answers
28 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
29 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 ...
-2
votes
2answers
23 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 ...
1
vote
2answers
112 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 ...
4
votes
1answer
105 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
27 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
38 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
34 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
192 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
47 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 ...
1
vote
1answer
36 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 ...
0
votes
0answers
37 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
33 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
59 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
52 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 ...
0
votes
2answers
30 views

Comment text area in single blog post and show comments if approved

I'm modifying some existing code and trying to add the ability for user to leave comments on single post and then echo those comments based on approval. I need to add right below <?php ...
0
votes
1answer
61 views

I need to delete all posts from my homepage & create a static front page [closed]

I want my homepage to be clean and without any posts or comments from my visitors. I have tried to do almost everything, but it doesn't work. I don't want people to discus anything, all they have to ...
1
vote
0answers
310 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
40 views

Disable comment moderation in multisite

I'm looking for a way to disable comment moderation in wordpress completely over the whole of multisite. This is important because my site requires users to log in to use it, and every new site has to ...