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)

2
votes
3answers
195 views

Can I seperate comments from post?

I have a type of attachments that need full screen display. So, I need to put the comments form somewhere else. How can I tell WP those comments belongs to a post?
-2
votes
1answer
28 views

Separated Comment from Post

I'm designer with little knowledge of wordpress (newbie >_<) i use Worpress starter theme from : html5blank.com i want to separate COMMENT section from POST section, this still on one single.php ...
0
votes
1answer
2k views

Custom post type: can't enable comments by default

I want to enable comments for custom post types just like they are for standard posts, but can't seem to get it to work. In functions.php, as part of registering my custom post type, I have this: ...
0
votes
0answers
12 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
10 views

Facebook site Comments and Facebook Page Comments Sync? [on hold]

Is it possible to have facebook website comments and facebook page comments synchronized? What I mean is that when someone posts a comment on a link on my facebook page, the comment shows up on my ...
0
votes
0answers
6 views

Show top comments on blog page [duplicate]

I have a custom template wordpress and on the Blog page with contain list of blog posts, I want to show top 5 comments after the "Read More" link after each post. What code I should write there to ...
2
votes
1answer
19 views

WP_Comment_Query pagination, delving into the unknown

I am aiming to pagination WP_Comment_Query(). It appears this is either taboo or there is no viable information about it online, not anything. Why? Is it possible? If so, how?
0
votes
0answers
21 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
1answer
20 views

Comments and post dates not showing up correctly on “posts page”

I have customized the Twenty Fourteen theme to use the page "news" for my posts page because I have static frontpage. When you view my news page, comments don't show up, even though they are enabled, ...
0
votes
0answers
20 views

How to integrate facebook comments into my blog? [closed]

Here's what i'm trying to do : Each blog post must have its facebook comments thread in the comments section AND in the facebook comments section in the fan page. It must be automatic. And it must ...
0
votes
1answer
16 views

How to add replyToUrl schema.org to Wordpress comments?

I have the following code in my comments.php <div class="reply"> <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?> ...
0
votes
1answer
15 views

Where are comments coded when using custom theme?

I am having issues displaying both the default comment system and a plugin comment system in Wordpress. Comments are enabled via Wordpress settings, comments are being made somehow via spam bots, but ...
0
votes
1answer
490 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
15 views

Comments as part of a post

Is there a way to show comments as part of a post, and not adding it with comments_template()?
0
votes
2answers
470 views

Show count of all comments by meta_value from a users posts

I'm trying to display the total number of comments for a users posts limited to a comment meta. I've tried using both get_comments() and WP_Comment_Query() but I get the same result of "1" for the ...
1
vote
2answers
399 views

How to use the 'comments_number' filter?

I'm not sure how to use this filter. Could someone show me an example? I'm trying to change ('0', '1', '%') to ('0 Comments', '1 Comment', '% Comments'). I'm using this function to get the comments ...
1
vote
3answers
419 views

Comment as post - understanding wp_list_comments

I'm creating a site where a central question will be posed on the front page with excerpted first-tier comments linking to a page with the full first-tier comment, presented almost as a post, with ...
0
votes
0answers
44 views

Foreach loop only working on last item [migrated]

What I'm trying to do is find the URL's in comments and then check those URL's against an array. If the URL is in the array and has the key 'data' with a certain value then I want to replace each URL ...
1
vote
3answers
639 views

How do we remove the H3 tag for the reply-title I.D

We're doing some SEO tweaking to a site, and our SEO guru informs us that we need to remove the <h3> tags from the #reply-title element, output from line 1554 of comments-template.php. It's the ...
1
vote
1answer
485 views

How to display comments on different page

I am creating a reviews site and I want to display the customer reviews (comments) on a separate page from the single-restaurant.php. I'll just have a link that says (Read reviews/ add yours). I ...
0
votes
2answers
428 views

Actual comments not showing, but form is?

I have edited the comments form to remove a few fields and now the approved comments don't show up, just the form itself. What am I missing from this? <?php $comment_args = array( 'fields' ...
1
vote
2answers
6k views

How to display comment form error messages in the same page

I want to display comment form validation errors (as well as captcha error) on the comment form itself and not on a different page. How can I do that?
2
votes
1answer
83 views

WP_Query sort by comment meta data

Is it possible to use the WP_Query class to order by comments meta data fields?
0
votes
0answers
9 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 ...
4
votes
3answers
6k views
0
votes
0answers
15 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
8 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
2answers
1k views

How can I make Disqus comments not show up on pages?

I use Disqus to manage my comments. I'd like it to appear only on posts, and not on pages. How can I do that? If there's a way to selectively show it on some pages that'd be great, but in general ...
0
votes
1answer
471 views

Disable comments and pingbacks on old custom post types

This SQL code will disable pingbacks on old posts and pages: UPDATE wp_posts SET ping_status='closed' WHERE post_status = 'publish' AND post_type = 'post'; UPDATE wp_posts SET ping_status='closed' ...
0
votes
0answers
56 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
9 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
1answer
16 views

Retrieve the last 5 comment URLs

I want to retrieve the comment url of last 5 comments. Is it Possible and how? when using get_permalink($comment->comment_post_ID) it returns current page url
0
votes
1answer
499 views

Display category-specific comments in sidebar

I'm trying to display comments in the sidebar from only the current category. So far I've got this: <?php // Posts per page setting $ppp = 8; //get_option('posts_per_page'); // either use ...
1
vote
1answer
35 views

Adding custom column to comments admin panel?

How do I add a new custom column to wordpress wp-admin/edit-comments.php page ? I tried this but did not work. add_filter( 'manage_comments_custom_column', 'add_new_columns' ); function ...
0
votes
0answers
17 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; ?> ...
1
vote
0answers
21 views

Query posts by last comments

How to query posts by lastest comment, like what happens here, if some one comment on a post from the dark ages it will popup to the top.
0
votes
0answers
14 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
12 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
1answer
32 views

Filtering Comment Reply Links (comment_reply_link_args) for “infinite replies” in nested comments

Since 4.1, WordPress has made the filter "comment_reply_link_args" available, apparently (?) with the intention of letting us intercept and modify particular options normally set in the admin panel as ...
0
votes
1answer
21 views

How to have a specific image show up for everyone who comments?

How can I have an image I created be a avatar for everyone who comments on my wordpress posts? So it will have my logo or something instead of a blank square? Thanks!!
1
vote
1answer
611 views

One comment per user per post

How can i disable the comment form, if the user is already submitted a comment for the specified post? I am using this now, but this is only good for 1 post / user / website. <?php global ...
0
votes
1answer
23 views

How to exclude the child comments in get_comments() query?

How do I only get the first level of comments in get_comments() or WP_Comment_Query? I want to query the comments which have 'comment_parent' => 0, and exclude all the child comments. $args = ...
0
votes
0answers
6 views

Return multiple comment_meta keys

I've this code $args = array( 'post_id' => $post_id, 'meta_query' => array( 'relation' => 'AND', ...
0
votes
0answers
10 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
1answer
29 views

Comments on future posts

I have enabled future (scheduled) posts to display as single post so on that page comments are enabled but there is a problem when i try to post comment. I get a blank screen without any warning or ...
0
votes
0answers
19 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
2answers
30 views

Comments on pages not appearing, even though I enabled them

I disabled once comments on my pages, and I do not remember how, and now I tried to enable them and they do not appear. I am aware to the checkbox at the bottom of the page & screen options, but ...
-4
votes
1answer
19 views

How to Display only the Author last comment

How to display only the author last comment (with link or without link) in author page . Please give me the code. Thanks You.
0
votes
1answer
19 views

How to enable reply button on mostly deeply-nested comments? [closed]

I have a blog on wordpress.com, using the Twenty Twelve theme. Background In my experience, on wordpress blogs with nested comments, the reply buttons only show on individual comments when their ...
5
votes
7answers
12k views

How to add a class to the comment submit button?

How do I add a class to the comment submit button? The simplified function comment_form(array('id_submit'=>'buttonPro')); obviously only changes the id and class_submit does not seem to exist. I ...