Tagged Questions

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
1 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
17 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
17 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
votes
0answers
14 views

Wordpress plugin supporting upvote/downvote of comments along with star ratings and average star rating [on hold]

I am looking for a plugin that supports the following:- 1) User could leave star rating with or without a comment and average user rating is shown on the page 2) User comment with star rating could be ...
1
vote
0answers
26 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
11 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 ...
-3
votes
0answers
9 views

How to count the number of unique people who comment per day in BBPress [closed]

Do you know how to count the number of unique people who comment per day in BBPress? Is there a plug-in that will do that? Or code I can use?
-1
votes
0answers
11 views

Disable open comments, only able with Facebook login

Im looking for a plugin which disables the ordinary option to comment by filling in "Name, e-mail" and forces you to login with Facebook-login. But I still want the comments to be saved as the ...
0
votes
1answer
19 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
0answers
17 views

comments - submit wont redirect to last comments page [on hold]

So, comments are paginated, and when you submit one, it wont take you to your comment's page. Not only that, but it takes you to the exact middle page. Lets say we have 5 pages, you make a ...
0
votes
1answer
30 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
24 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
6 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
35 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
30 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
13 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
35 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
42 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
36 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
21 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
26 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
33 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
14 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
31 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
21 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
32 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
10 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
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
19 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
18 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
13 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
30 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
17 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
28 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
25 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
53 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
14 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
44 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
32 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
13 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
25 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
0answers
18 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
17 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
50 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
22 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
24 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
24 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
49 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 ...