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

How to add a spam button to comments in frontend

I already have a delete link for my comments and it looks like this: <?php if ( current_user_can('edit_post', $comment->comment_post_ID) ) { ?> <?php $url = ...
0
votes
0answers
17 views

Create a registration page for members

I wanna authorised comments for members only, i have created a comments page but i don't know how to redirect unconnected people to registration page or login page. thats my comments page. enter ...
0
votes
0answers
10 views

Add Wordpress comments submission in a blank php page

I have installed Wordpress in a directory in my domain. In base of my domain I have a simple html/php page with a small submit form ( so website load time is minimal). I woul like to add the ...
0
votes
0answers
43 views

Comment reply problem: Maximum call stack size exceeded

For a client I was asked to add nested comments to the theme. I followed the way twentyfifteen does this to the letter, yet when I click 'Reply', both Chrome and Safari give me the 'Maximum call stack ...
0
votes
0answers
15 views

Manually call a WP class, e.g. wp-comments-list-table?

How would I output a class such as the admin comments table (wp-comments-list-table.php) on my own page? Thanks in advance
0
votes
0answers
9 views

Wordpress commenting in a site loaded via iframe

We've an issue here with WordPress loading via an iframe in a magento site. After posting a comment on the blog, the redirect to post comments is extremely slow and seems to timeout. Tried the ...
0
votes
0answers
31 views

Creating a comments voting system

I am trying to put together a voting system for comments and I can't figure out how to make the jQuery function to work. Here is the php function that updates the comment meta with the new vote count ...
0
votes
0answers
57 views

What kind of HTML tags can be put in text area

I'm working on a wordpress website right now and I have this problem . Here is the problem: When the user type something in comment textarea and use one of those texteditor objects(justifyLeft ...
0
votes
0answers
19 views

Post comments getting added to unrelated media, not post

I'm in the process of setting up and testing a new WP install (this is my first time setting up my own WP site). With a test user I added a comment to a post. After refreshing the post page a few ...
0
votes
0answers
71 views

How do I show rating stars in admin comments columns?

I have a custom post type where I use a slightly altered comments template converting the default comments into a 5 star rating and reviews function. It works as expected just as it should. From the ...
0
votes
0answers
20 views

How to create a designated comment page with custom fields

I'm creating a site where I want to use the comment box to auto-generate a FAQ page. In essence, when a comment is posted it won't appear on the same page as the comment box. Instead, it will be ...
0
votes
0answers
13 views

Is it possible to have two or more comment forms in one page?

I want to be able to place two comment forms in a page. One should be fixed on top of comments and the other should be moveable through comment-reply.js I have tried to place two comment_form() but ...
0
votes
0answers
38 views

Get child comments based on parent meta data

I'm using WordPress 4.2.2's built-in commenting system for a website and am trying to build a query using WP_Comment_Query to select child comments as well as top-level. Each top-level comment has one ...
0
votes
0answers
17 views

Convert comments to posts and make it clickable on comment section

I am currently working on quite a big project for a client – he wants comments to behave like a post when a user clicks on them. I have read about some similar functionalities but nothing really like ...
0
votes
0answers
24 views

Can I merge WP_Query and WP_Comment_Query together?

I have read about merging two WP_Query results. But I need to merge a WP_Query with a WP_Comment_Query and order the result by date. Is this possible? If so, how can I approach this? How would I ...
0
votes
0answers
54 views

Wordpress 4.2.1 pre_get_comments doesn't work after update

I have this code working all time but, after updating to Wordpress 4.2.1, this doesn't work. // return just the missing replies in the comment table add_action( 'pre_get_comments', array( $this, ...
0
votes
0answers
14 views

How can I see whether a commenter has subscribed to be notified of replies / other comments to a post

When someone asks a question in the comments, I reply in the comments. Is there a way I can see whether the commenter checked the "Notify me of follow-up comments by email" checkbox? Can't seem to ...
0
votes
0answers
85 views

Getting most popular posts based on Facebook comments count

I have modified a widget to display the total number of Facebook comments on a post rather than the total wordpress comments. I can get that part to show correctly, but I would like to get the most ...
0
votes
0answers
31 views

add Reply functionality to comments using comment_text()

I am trying to write my first Wordpress theme. On the comment section i use the comment_text() to show the comments on the single.php of the theme. I would love to add a "Reply" button, but i ...
0
votes
0answers
20 views

Override “Automatically close comments on articles older than” per post?

I need to set a custom closing date for the comment field, per post. I havent started researching on how I should do this, so a indication on how to do this would be just as good as a plugin that do ...
0
votes
0answers
9 views

Journaling… Problem with comment duplication checks

This may be more of a request for advice than anything... I want to add a Journaling function into my plugin whereby all actions are logged. My initial thought was to use comments as it seemed to be ...
0
votes
0answers
97 views

“Your comment is awaiting moderation.” message not working as expected with reverse_top_level and per_page

When a new comment is submitted the unapproved comment with "Your comment is awaiting moderation." does not appear when per_page option is set to a number higher than the number of existing comments - ...
0
votes
0answers
11 views

Wordpress comment feedback

i'm a beginner on wordpress. When anyone comments on my post and I give them a feedback, they doesn't receive my answer. How do I enable that? Is there any whey to do this? Thanks a lot!
0
votes
0answers
25 views

2014 nested comments

I have set the max depth of my comments to 5. I have set up a custom callback to display my comments function format_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> ...
0
votes
0answers
47 views

How to display comments with recent comments default widget?

I would like to create custom widget from the default Recent Comments widget to show also the comment content of commenter. How can I do it? class YOUR NEW WIDGET NAME extends WP_Widget { // ...
0
votes
0answers
15 views

Querying sanatized data with meta_query in Wordpress

I asked this question over at SO yesterday, but I see now that this is the right place for it to live. After Googeling this for a while, I've found that this should work cite, but I don't seem to get ...
0
votes
0answers
8 views

Return multiple comment_meta keys

I've this code $args = array( 'post_id' => $post_id, 'meta_query' => array( 'relation' => 'AND', ...
0
votes
0answers
11 views

Detect Smilies without spaces

I know, it's dumb, but I think it's annoying that when someone enters a smiley manually like this hi:) it will not be detected and converted by WordPress because WordPress smilies functions looks for ...
0
votes
0answers
22 views

Page getting hammered by trackbacks

I have one page on my site that seems to be getting a high number of trackbacks. I have trackbacks disabled in Settings and I also have comments disabled. Any thoughts or suggestions on how I can stop ...
0
votes
0answers
26 views

How to change comment-page-1#comment-25 to any string?

How can we change the slug "comment-page-1#comment-25" to somthing like review-page-1#review-25
0
votes
0answers
40 views

Edit own comments in other users' posts

On my site I am only going to allow logged in users to post comments. I would like to allow logged in users to edit (and remove) only their own comments in another users' post (e.g. admin). For the ...
0
votes
0answers
53 views

How to display the comments_template with a shortcode and only on that location (remove from default location)?

How can I mimic the code below in order to display the comments list (comments_template) with a shortcode? add_shortcode( 'wpse_comment_form', function( $atts = array(), $content = '' ) { if( ...
0
votes
0answers
108 views

Display the combined WordPress and Facebook comment count in Genesis child theme

I have a Genesis child theme in which I display both WordPress and Facebook comments. I would like to display the combined WordPress and Facebook comment count in the comments link. I found the ...
0
votes
0answers
58 views

Load comments_template for specific post

WordPress by default allows users to call comment_form() using a post ID that the form should be for. for example, you can say comment_form($args, '114'); to load the comment form for the post with ID ...
0
votes
0answers
23 views

How to hook into wordpress user comments (for parsing)

I wrote my own template, and I use a comments.php file. At the end of the file it calls comments_template() to display the mostly default wordpress comments. I want to give users the ability to use ...
0
votes
0answers
33 views

How can I change the markup of the comment_form() function?

I am currently creating a website on localhost. I am looking to change the cancel_comment_reply_link from being next to the "Reply to " section, instead being right next to the "Submit" button. I know ...
0
votes
0answers
40 views

get_comments function returns diffrent values on different accounts, why?

If I am on my admin user, the function get_comments() returns the array of comments in the template, but for the subscriber, the array is just empty. I tried to add permission to the user but it ...
0
votes
0answers
36 views

How to avoid comment form outputting user id

I have a comment form on a website and here is the code for outputting comments: <ol class="comment-list"> <?php $arg = array( 'number' => 10, ...
0
votes
0answers
57 views

Admin comment always on top of comment list / nested replies - possible?

I'd really just like a push in the right direction for this.. using a callback for a custom comment display so I can have 4 different forms of code and styles for: normal 'parent' comment normal ...
0
votes
0answers
31 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( ...
0
votes
0answers
71 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
0answers
27 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
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
56 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 ...
0
votes
0answers
51 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
0answers
12 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
29 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
34 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
0answers
17 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 ...