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)

1
vote
0answers
147 views

wp-comments-post.php file returns a blank page

When i post a reply to my blog, it's return a blank page to me. It seems that happens because of this code in wp-comments-post.php if ( 'POST' != $_SERVER['REQUEST_METHOD'] ) { header('Allow: ...
0
votes
0answers
15 views

Disable comment moderation in multisite

I'm looking for a way to disable comment moderation in wordpress completely over the whole of multisite. This is important because my site requires users to log in to use it, and every new site has to ...
0
votes
0answers
34 views

Disqus comments only show up on newest post

I've setup Disqus comments on our company blog (link) By creating a comments.php file with: <div id="disqus_thread" style="margin-top:50px;position:relative;"></div> <script ...
0
votes
0answers
14 views

I can see comments but I can “reply” please help

Here is my Custom Post Type 'supports' => array('premise-member-access', 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments'), Comments enabled on settings->discussion ...
-2
votes
1answer
26 views

How to stop a specific person to comment on my blog? [closed]

I need to permanently prevent a specific person to comment on my blog on wordpress.com How can I do this, please ? My theme is iTheme2
1
vote
1answer
39 views

save_post action hook for comments

Is there a action similar to save_post for comments? Already tried comment_post which does not fire when clicking the update button on a comment in WordPress.
0
votes
0answers
307 views

Comments and Bootstrap 3's media-list

I'm developing my first custom theme for WordPress based on Bootstrap 3 framework. I'm newbie and I can't understand few things, so I'd like to ask you for some help, especially with comments.php, ...
0
votes
0answers
29 views

How to show comments for a specific category of posts with a shortcode

Referring to this post category specific comments here Display category-specific comments in sidebar I need to ask 2 further related questions. 1/ Is this code still valid for WP3.9? 2/ How can I ...
0
votes
0answers
9 views

Group comments in the admin section

Is there any way to re-arrange the comments in the admin panel of WP? I'd list to nest them in the same way as it is happening in the front-end, thus having the opportunity to see the comment I have ...
1
vote
1answer
35 views

How to get comment id in callback function?

I am trying to get the comment ID in the custom callback function that I can use in wp-list_comments. Any help on how to do this? Thanks in advance I am using wp_list_comments as: ...
0
votes
1answer
20 views

oEmbed does not work for comments

I've got two websites, a staging and a production one. They have 99% the same setup and are hosted on the same server. They are multi-site WP installs. The issue that I've been trying to solve all ...
1
vote
2answers
45 views

Hide default “Recent Comments” Widget if there are no comments yet

Is there a way to hide the widget completely if there are no comments yet? I was thinking about maybe adding a php function to my functions.php file - is that a possible way? If so, can someone ...
0
votes
0answers
68 views

Comments_template doesn't work

If I use comments_template(); it does not work at all. But if I change it to global $withcomments; $withcomments = 1; comments_template( 'comments.php', true ); it displays the comments ...
0
votes
1answer
25 views

How to Define Custom Number of Items in Comment Feed

Seeking a hook or code to override the Reading-Settings value for Syndication feeds show XXX items specifically for the comment feeds. Ideally I'd want to roll into a plugin I can network activate ...
1
vote
1answer
134 views

Disabling Comment Notifications for Post Author

I am trying to disable comment notifications for post authors (or anyone else besides the site's admin) for a client's site. I've attempted to create a plugin that uses the pluggable function ...
1
vote
1answer
13 views

Which filter/hook to use for styling comments?

I would like to create a plugin that modify the styling of the comments section. Given that some users may be using other plugin to replace the default commenting system (facebook, disqus, ...), what ...
0
votes
2answers
25 views

Is there a better way to check for a new comment?

I have some code that runs on the client that checks every 30 seconds or so for new comments, and if a new comment is found the user is alerted. The check count the comments on a page, and returns ...
0
votes
0answers
63 views

Merge multiple posts comments

Edit: I now have a combined object by adapting this code to work with my comment objects, I can also pass this new object to wp_list_comments to display a combined list. I dont know how to override ...
0
votes
0answers
26 views

How to change the comment field validation rules

So I've created a comment form and have added my own "Terms and Conditions" field and was hoping you could show me the best way to change the validation rules when submitting a comment as I want to ...
0
votes
0answers
16 views

URLs to user page is broken

My domain is http://mongage.com I don't know what happened to my site. the user URL linking to author/user page is broken. I switched to a new theme, but no success. I am using thentythirteen and the ...
0
votes
1answer
55 views

get_comments not working consistantly with post_id

I am trying to get comments from another post. I am getting the post_id and doing a check to see if it has comments I can get the comments for the current post every time but for the other post I am ...
0
votes
1answer
71 views

Custom Nested Wordpress Comments with avatar

I am developing a theme and has no idea how wordpress handles the comment outputs. I have wp_list_comments in my comments.php, but I'm not sure how to customize the output to get the desired output ...
0
votes
0answers
24 views

Adding an input field to the comment form, and not letting it submit if any info is in it

I am working on a WordPress plugin that adds a hidden input field into the comment form. I have the code in place that adds the input field in, using this code. function hiddeninput_more_comments( ...
0
votes
1answer
21 views

Batch approve comments

Akismet went crazy and sent several hundred comments to spam. Right now, I have to manually mark each comment as "Not Spam" and then manually move all of them from Pending to Approved. Any way to do ...
1
vote
1answer
63 views

php function to display commenter username or login

I want to display the commenters username or login name in a comment template. I know there is a function comment_author_link(), but this displays the "display name publicly as" name and not ...
1
vote
1answer
78 views

User can post only one comment per day on one page

This code count comments per day on all pages. I want that will count only on one page for 1 day. So my case: on a page with an ID of 1, a user can comment with out any limit, but on a page with an ...
0
votes
0answers
53 views

Comments Template shows, but not the comments

I've customized a twentytwelve theme, changed the index and content, nothing else. Now, I've lost the comments. Google says to call this first: <?php comments_template(); ?> But, everywhere ...
1
vote
2answers
20 views

How should I get the original comment while processing the reply

I'm working on a comments section for my template. And I need to do something like this: Comment: -This was my original comment And this is my reply to the original comment. So I wanna cite the ...
0
votes
1answer
33 views

3rd Party Login in wordpress

I have two sites. One on wordpress and one non wordpress site. Now, I have used the header and footer from my non-wordpress site. What i want is that if user logs in on my non-wordpress site then he ...
1
vote
1answer
77 views

Convert comments to Custom Post Type

Currently, I use WordPress as a Q&A website where users can register, ask questions and give answers as well. I use the AskIt theme from ElegantThemes which uses the default WordPress Post Types ...
0
votes
3answers
96 views

How to change commenter links to /user/user_id?

I would like to change the commenter links as shown in this screenshot: In my test plugin at GitHub I have first tried the following code: define('PROFILE', '<a href="/user/%s" rel="external ...
0
votes
0answers
41 views

wordpress php show comments only from user AND replies

I'm trying to add a comment section to a user profile, it'll act as a way of communicating between the user and the admin. In the user section I only want to show comments from the logged in user, and ...
0
votes
0answers
54 views

Change id=“respond” to the comments container

On the same page, I have 3 comment threads. Each comment has a meta that tells in which tread they have to be displayed in. At the end of each thread, I have a form to post a comment in this specific ...
0
votes
0answers
13 views

Comment Notification window always loading and does not return anything

Previously, whenever people make comments I would get a little orange box lighting up at the top of the page indicating that there are comments to review. However recently I've noticed that it isn't ...
0
votes
0answers
92 views

Add comment meta

I need to add my custom meta to the new comments. Here is what I've done : /************************************************************************/ /* Add meta to comments ...
0
votes
1answer
253 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
20 views

Add comments to any of several posts in an archive listing?

I just had a client ask for this and I am not sure it is even possible (or doable in anything close to staying in our time constraints/budget). I have a custom post type that only consists of very ...
0
votes
1answer
66 views

Inserting comments via a procedure

I've been playing arround with procedures and tried putting the comment insert into a procedure. I've got some trouble and was wondering if you guys could take a look. function ...
0
votes
0answers
36 views

Long query apache error from spam comments

My hosting company recently turned on the error reporting for slow queries in php/apache and we have seen the error logs get flooded with errors all from queries requesting spam comments on the front ...
0
votes
1answer
202 views

Enable nested comments in Theme

I am trying to enable nested comments in my theme. I am new to all this stuff but I am doing my best. This is the code that I have in my comments.php <?php if ( get_comment_pages_count() > 1 ...
0
votes
0answers
18 views

Stylizing Threaded/Nested Comments

I'm creating my own theme to WordPress. I got problem with nested comments. I don't wanna limit the levels to reply, but I would like them to stay in that format: This is the code I'm using: <ol ...
1
vote
0answers
42 views

Strategies for coping with hyperagressive spambots?

A couple of my sites are getting slammed by a hyperagressive distributed spambot. It's just pure link spam. It all comes from one user name, but from a variety of IPs. Akismet is catching the spam, ...
1
vote
1answer
37 views

Send Notifications to All Admins

I want to, hopefully without a plugin, get and loop through all admin accounts and notify each admin when a comment has been posted or a user has registered, etc. I tried to look into this but all the ...
0
votes
1answer
20 views

comment files and s

I am building a custom template and would like to incorporate comments and replies using the standard WordPress core. What files and scripts do I need? I copied a comments.php file but the replies ...
0
votes
1answer
35 views

Showing recent post of category in page

Any ideas, how I should do this: Recent post (with comments) shown in page? I need fixed url example.com/question that shows the most recent post, style should be same as in normal one post? Can I ...
1
vote
1answer
27 views

Second comments section for one post/page

For a project, I need to have 2 comments sections related to the same post/page. Is there a way or a plugin to do that ? By default, Wordpress allow only one comment section for one post/page. Thanks ...
0
votes
1answer
248 views

woocommerce allow users to select or use avatar

I am working on constructing a ecommerce site that is run by woocommerce and the free woo theme artificer. Standard with the plugins there is a my account page which allows you to put in basic ...
3
votes
3answers
117 views

How to Block Access to Standard Login Flow and Comment Flow

I've set up custom flows on my Wordpress blog for login, signup, and commenting. I would like to password protect the standard login flow so only I can use it, and block access entirely to the ...
1
vote
1answer
33 views

comments in Admin

I'm confused about what the Comments section on the posts in the Admin actually does. I have Comments turned on in Screen Options for a post. When I display a post, I see a Comments box. If I enter ...
1
vote
0answers
57 views

Posting comment returns 404

I've been tracking an issue in one of our WP installations and keep coming up short of a solution. One of our websites is installed in a sub-directory of our main website. Both are WP installations. ...