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

Get url/link to latest comments in a post

I have a post list in WordPress where people can see the most recently commented posts. They will appear above the list. That's fine, but now, I have 300 comments on the same posts and I don't want ...
0
votes
0answers
19 views

Getting comment-reply to load

I am trying to get the comment-reply.js script to work, and at the moment I am having problems including it in my pages. Currently, I am using the following in my header.php file: <?php if( ...
1
vote
1answer
36 views

If there is a comment_author_link put url around the avatar image

In the functions.php file for my theme the .commentslist shows a gravatar and if the user fills in a url in the comment form, you get a comment_author_link() Which prints a link with the name. I ...
0
votes
1answer
26 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
42 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 ...
-1
votes
3answers
1k views

Twitter/Facebook login for comments [closed]

What plug-ins there are available to allow people to leave comments using their Facebook and Twitter logins? Any special considerations or recommendations? I am currently allowing comments with the ...
1
vote
1answer
71 views

Add classname comment template from functions.php

I want to add an extra classname to my comment template (the div wrapper before the post itself) which is stated in functions.php. The classname in functions.php is an extra field in my users profile ...
0
votes
0answers
40 views

My Admin Not Receiving Comment Notifications

I have an issue where my admin is not receiving notifications when she receives a new blog comment. All setting is discussion are set up for her to receive emails and she is the only user on the site. ...
0
votes
1answer
34 views

unsetting required fields in the comment reply form

Is there a way to make differences between the normal comment form and the reply-to-form? For example, I added a set of required radiobuttons to the form which make rating by commenting happen. Now, ...
3
votes
1answer
131 views

How can I edit the email sent when a new comment is received?

I have a multi author site and when a user comments on a post, that author gets an email saying there is a new comment. This email is formated in the standard WordPress way New comment on your post ...
0
votes
0answers
18 views

Comments disappeared but showing in database

This morning I published an article under which several comments were placed. I could read them and everything worked fine. Then all of the sudden, the number of comments were still showing on the ...
0
votes
2answers
53 views

How do I really disable comments?

I've been on a wordpress hiatus for the past 8 months and have never had to deal with building a website for an actual client. Though, no matter what I tried/how I tried to disable comments, I would ...
1
vote
1answer
394 views

How to convert WordPress comments to bbPress replies [closed]

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
41 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
143 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
53 views

Does anyone know all parameters of get_comments()

Here is the link. There is a lot of parameters that didn't explain yet, and I want to know all about it. Thought, I have try to read the code, but can not understand it at all. The more I try to read ...
0
votes
0answers
9 views

How do I purge multiple comments from a single IP and certain text in the comment?

Let's say that I want someone to enter a number from One to 10,000,000. How would I go about limiting the user to only post a number that was not posted? I already have a limiter on how to stop ...
0
votes
0answers
31 views

Exclude category from vertical scroll recent comments widget

I am trying to hack the following line of code inside this plugin, so that I can exclude comments from a specific category: $vsrc_data = $wpdb->get_results("SELECT * from $wpdb->comments ...
1
vote
1answer
79 views

default callback function in wp_list_comments

Which default callback function wp_list_comments use if I don't set callback parameter? I saw in the code of this function but I can't understand it.
-2
votes
1answer
21 views

Stop future commenting on specific post

As the title says, I don't want to hide existing comments or disable future comments for all posts. I want to stop visitors from creating new comments on specific post/page.
1
vote
0answers
53 views

Show comments of a user post only when they are login

I have a front end client portal I created when a user logs in they are redirected to a page called "Dashboard". The pages displays recent projects, invoices, and recent messages. Recent messages ...
0
votes
1answer
26 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
27 views

Way to count the number of people who have commented on a post?

There doesn't seem to be an easy WP way to show the total number of different commenters, just total # of comments. Is there a better than manually loop through all comments and counting the unique ...
0
votes
1answer
70 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
1answer
54 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
39 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
18 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 ...
1
vote
1answer
68 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 ...
0
votes
2answers
47 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
109 views

How is comment spam received without a comments form?

The theme one of my sites is using does not have a comments form nor is there any HTML markup for comments anywhere within the code. So, how am I receiving spam comments? All the spam is caught by ...
2
votes
2answers
451 views

How to get the result of comments_number() as a string instead of printing it out?

comments_number() is quite useful: It takes the result of get_comments_number() and prepares the output with some localization magic. Unfortunately, it prints the result out when it is done, it ...
2
votes
2answers
59 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
42 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
129 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
61 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
60 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 ...
0
votes
2answers
2k views

Comments Reply Form

When I click on Reply, the reply form appears at the bottom of the page (under the last comment). How can I add the Reply Form inside the comment to which I am going to add the reply?
1
vote
1answer
2k views

How can I add comments to a page?

How can I allow people to post comments on a page? I've put this into my page template: <?php comments_template(); ?> but it just says at the bottom of my page "Comments closed". UPDATE: If I ...
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 ...
2
votes
1answer
50 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
1answer
13 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
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
0answers
27 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
2answers
1k views

Getting comment count per post not working

I have this function: <?php $popular = new WP_Query('orderby=comment_count&posts_per_page=5'); ?> <?php while ($popular->have_posts()) : $popular->the_post(); ?> ...
0
votes
0answers
19 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
21 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"; ...
4
votes
2answers
60 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 ...