Articles of comments

Top Commenters: exclude admin

I’m using the following code in my function.php to display the top commenters in my theme: function top_comment_authors($amount = 5){ global $wpdb; $results = $wpdb->get_results(‘ SELECT COUNT(comment_author_email) AS comments_count, comment_author_email, comment_author, comment_author_url FROM ‘.$wpdb->comments.’ WHERE comment_author_email != “” AND comment_type = “” AND comment_approved = 1 GROUP BY comment_author_email ORDER BY comments_count DESC, comment_author ASC […]

Ability to leave comments broken

At some point, my readers were able to add comments on both the main (front) page of my site and from the post pages as well. Without any obvious change to the configuration of my site, the comment form has disappeared from my article page and, when I click the link from the front page […]

Change order of comment fields

Is there a way to display the comment field first and then the Name / Email / Website fields? I am using <?php comment_form( ); ?> in my theme. I am not looking for a CSS solution.

Comments feed – Undefined named entity: ndash

I used to have a rss comment feed at the url /comments/feed which doesn’t work anymore. I checked the feed on feedvalidator and I’ve an error line 111, column 29: Undefined named entity: ndash [help] The line in question is comment where the content is <guid isPermaLink=”false”></guid> <description>Ou mettre des &ndash; à la place des […]

Allowing logged in users to comment without moderation across a multisite installation

I currently do web admin for an internet community based on BuddyPress and Multi Site, and use the Comment author must have a previously approved comment setting to make it easier for users to comment and not be moderated. All users are vetted before their accounts are created so I know we don’t have spambots. […]

Get a variable field of all comments of current post

How to get a variable comment field of all comments of current post? I want to display all (for current post) comment user website url in to current post. Thanks for help.

Email entire post contents

We’re a small newspaper with our archives put into a localhost WordPress web server in-house. I’m looking for some sort of plugin that might allow the reporters to, say, click a button that would email them the contents of the entire post to themselves (not just a link, as the server is not connected to […]

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 the WordPress global Posts per page setting or set a custom one like $ppp = 10; $custom_offset = 0; // If you are dealing […]

Same email for all comments

I have An administrator must always approve the comment checked, as well as Email me whenever Anyone posts a comment. This sends an email to the post author. I don’t want that. I have one person in charge of comments on my site, and I want that one person to be receiving all those emails. […]

How to add text to comment form #content textarea?

I have a plugin that does validation on user submitted comments. When validation fails, I want to redirect them back to the comment form, and have their comment still appear in the comment box, so they don’t have to type it again. How can I add custom content to the comment form #content textarea?