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

get only one last comment from each post

Lets say I have 5 posts where most recent comments placed. How can I get one comment per each of these posts? I want to use get_comments(). Is it possible? Post1: Comment 1 Comment 6 Post2: ...
0
votes
0answers
41 views

Can't check “Allow people to post comments on new articles” option

Comments are disabled on my client's website. But if I try to check "Allow people to post comments on new articles" option and hit "Save Changes", the page reloads with the option unchecked. I just ...
0
votes
1answer
20 views

Limit iframe output in comment-meta commentmetadata

Often people are posting Youtube videos directly into comment fields under posts, which is really a nice interaction and I have no problem with that. My issue starts then, when I see those videos ...
0
votes
1answer
77 views

How to enable visual editor when editing comments on the dashboard?

For editing a comment in admin pages the editor is only html, can we modify the edit comment page with a filter to include visual editor too?
0
votes
2answers
50 views

Disable only the comment form/box itself?

I'm trying to write a function which hides the comment form itself, while leaving comments and comment counts intact. I'd like the comment form to display only when a certain parameter is in a post ...
0
votes
1answer
47 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?
1
vote
1answer
73 views

Redirect to page 2 after comment

I would like to have commenters going to the page 2 of a paginated post. My posts are separated by the <!--more--> tag so i have the www.site.com/post-title and www.site.com/post-title/2/. I ...
2
votes
2answers
61 views

WordPress unresponsive after calling wp_update_comment()

In the admin panel's "Edit Comment" page, for some reason after I click "Update" the Edit page goes into infinite loop/loading (the spinner icon in the Google Chrome tab never stops spinning). My ...
0
votes
1answer
144 views

Customize reply form different to comment form

I have a problem with the comment form, as i'd like to change the style of the reply comment form (the one which opens after the clicking on Reply link of a comment). But I can't find a way to do it ...
1
vote
1answer
31 views

Commenter should see only his comments in wordpress

I'm building a site for a research and my participants will be all logged in to use the site. I would like to make these participants able to see only their own comments, so other users' comments will ...
1
vote
3answers
67 views

how get comments only on post of current logged in user?

I need a query that get all comments from only the posts where the currently logged in user is the author. Each user (author) can post a new post. Then I need to show a list of their own posts ( that ...
1
vote
1answer
63 views

API Hook for After Commenting (for sharing on Facebook)

I'm working on a site that has comments enabled, with no moderation. After commenting on a page, your comment shows up on that page, and I've added a Facebook share icon below each comment that allows ...
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
3answers
36 views

Wordpress Comments - Only show part of user name

I have searched and cannot find anything regarding this. What I want to do is only show part of the users logged in name or username when they leave a comment (it is actually a product review but it ...
1
vote
0answers
34 views

Loading Comments From a Class?

I am not using the function comments_template(). Instead I am trying to load the comments from a Class. There is no comments.php file on the root. Comment Class namespace Core\Views; class ...
3
votes
1answer
56 views

Is there any advantage to emptying comment spam?

Is there any advantage to performance (or otherwise) for emptying comment spam from within wp-admin on any regular basis? I daily have been making sure that the comment spam queue is emptied out, but ...
0
votes
0answers
11 views

Why do comments only come through on 2 of my posts and not the others?

Good day. I have posted 88 posts, however, comments only come through on 2 of the older posts. Why is this happening? It is really frustrating.
0
votes
1answer
16 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
0answers
28 views

Blank white screen after I log into WordPress Admin

I went to log into WordPress this evening and after inputting my user name and password I was redirected to the dashboard, however instead of seeing the dashboard I had a white screen with nothing on ...
0
votes
0answers
20 views

I tried to update a comment on my Wordpress Website

I tried to update a comment on my Wordpress website, After updation I noticed this was added to the email part of the comment. ...
0
votes
0answers
26 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
157 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
29 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
84 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
48 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
62 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
520 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
43 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
21 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
41 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
54 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
7 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
52 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
31 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
62 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
38 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
37 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
67 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
149 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
107 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
120 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
24 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
50 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
23 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
78 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
1answer
14 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
28 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
103 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
97 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 ...