Admin Commenters Comments Count

Description

Next to all appearances of each commenter’s name in the admin, this plugin shows a comments bubble identical to the one shown for posts in the admin listing of posts. The comments bubble shows the number of approved comments for that person and potentially a red superscript circle indicating the number of pending comments for the person (assuming they have any). The comment counts are linked to listings of comments associated solely with that particular commenter.

By default in WordPress, it is not possible to tell via a single glance whether a particular commenter has commented before or how many times the’ve commented.

This plugin adds this handy capability to the WordPress admin pages that allows you to:

  • Quickly identify a first-time commenter
  • Quickly identify unfamiliar commenters that have in fact commented before
  • Quickly see how many total comments a particular commenter has made, and how many comments are pending
  • Easily navigate to a listing of all approved comments and all moderated comments by a commenter, in order to see what post and when they last commented (or first commented), get a feel for the nature of their comments, or find something they’ve said in the past

Specifically, the linked comment count appears next to commenters in:

  • The “Comments” listing of comments (including comment search results)
  • The “Comments for ‘POST_TITLE'” listing of post-specific comments
  • The “Discussion” box of the “Edit Post” page for a post with comments
  • The “Recent Comments” admin dashboard widget
  • The “Users” listing of users (as the column “Comments”)

Commenters are identified by the email address they provided when commenting. If your site does not require that commenters submit their email address when commenting, this plugin will use the commenter’s name as the identifier, though since this is a publicly viewable piece of data it’s possible that multiple people could be posting under the same “name”, so this method has the potential to be not as accurate.

Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage

Screenshots

  • A screenshot of the 'Comments' admin page with the comment count appearing next to the commenter's name. The most recent comment is from someone who has one approved commented on the site. The second comment is from someone who hasn't commented on the site before and has one comment in moderation. The third comment is from someone who has commented 12 times before and has 3 additional comments in moderation.
  • A screenshot of the 'Comments on POST TITLE' admin page with the comment count appearing next to the commenter's name.
  • A screenshot of the 'Activity' admin dashboard widget with the comment count appearing next to the commenter's name.
  • A screenshot of the 'Comments' metabox on the 'Edit Post' admin page with the comment count appearing next to the commenter's name.
  • A screenshot of the 'Comments' column added to the admin users listing.

Installation

  1. Install via the built-in WordPress plugin installer. Or download and unzip admin-commenters-comments-count.zip inside the plugins directory for your site (typically wp-content/plugins/)
  2. Activate the plugin through the ‘Plugins’ admin menu in WordPress

FAQ

Why would I want to see a count of how many comments someone made?

There are many reasons, some of which might include:

  • Quickly identify a first-time commenter
  • Quickly identify unfamiliar commenters that have in fact commented before
  • Quickly see how many total comments a particular commenter has made, and how many comments are pending
  • Easily navigate to a listing of all approved comments and all moderated comments by a commenter, in order to see what post and when they last commented (or first commented), get a feel for the nature of their comments, or find something they’ve said in the past
How does the plugin know about all of the comments someone made to the site?

Commenters are identified by the email address they provided when making a comment. If commenters are allowed to omit providing an email address, then their name is used to identify them (though this is potentially less accurate).

Why does it report someone as having less comments than I know they’ve actually made?

Since commenters are identified by the email address they provided when making a comment, if they supply an alternative email address for a comment, the plugin treats that email address as a separate person.

How do I hide (or show) the “Comments” column in the listing of the admin Users page?

Click the “Screen Options” link in the upper-right of the page. It will slide down a form. Click (or unclick) the checkbox for “Comments” to show (or hide) the column.

Does this plugin include unit tests?

Yes.

Reviews

Useful little plug-in

I just wanted to know who the top commenters were, and I waded through all sorts of stats plugins before I found this, which just did what its title suggested it would, and all I needed it to! 🙂 Worked on 4.8.2. Suggestion: It might be useful to be able to do a simple extract to CSV, showing names, emails, number of comments and dates of those comments - either as an enhancement to this, or to the Commenter Emails plug in.

works as advertised

Shows the post and comments in the right side of the admin page. Clicking in lets the admin see the details. Exactly what I needed. Thanks!

Useful

I like the ease of clicking on the number of comments box to get a list of the comments from that person. A useful utility.

Helpful Plugin for Moderators

Plugin allows moderators to click on the number beside a commenter's name and see previous comments made. This allows moderators to judge whether the person comment is an asset or liability to the blog. Just have one minor complaint: Since a recent update of either Wordpres or this plugin, the numbers appear in a medium grey on a darker grey background. Thus it's not easy to read the numbers.

Works as promised

Despite not having been updated for some time, this plugin still seems to work fine on WP4.4.
Read all 7 reviews

Contributors & Developers

“Admin Commenters Comments Count” is open source software. The following people have contributed to this plugin.

Contributors

“Admin Commenters Comments Count” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Admin Commenters Comments Count” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.9.1 (2019-04-05)

  • Change: Initialize plugin on plugins_loaded action instead of on load
  • Change: Merge do_init() into init()
  • New: Add CHANGELOG.md file and move all but most recent changelog entries into it
  • Change: Unit tests: Specify hook priority when testing via has_filter()
  • Change: Note compatibility through WP 5.1+
  • Change: Update copyright date (2019)
  • Change: Update License URI to be HTTPS
  • Change: Split paragraph in README.md’s “Support” section into two

1.9 (2017-11-06)

  • Bugfix: Explicitly set comment count font color to avoid style conflict with Akismet that resulted in gray text on dark gray background
  • Bugfix: Disable Akismet’s version of the functionality since it is duplicative and interferes with author section layout
  • Change: Omit unnecessary wp_register_style() and instead provide all arguments to wp_enqueue_style()
  • Harden: Use ‘esc_like()` on the pingback/trackback URL prior to use in queries
  • Bugfix: Use proper existing variable when searching for other pingbacks/trackbacks
  • Change: Omit unnecessary appending of ‘%’ to author_url value in call to get_comments_count()
  • New: Add README.md
  • Change: Add GitHub link to readme
  • Change: Note compatibility through WP 4.9+
  • Change: Update copyright date (2018)
  • Change: Minor whitespace tweaks in unit test bootstrap

1.8 (2017-03-04)

  • Change: Adopt WP core style of showing pending comments in a red circle superscript to comments bubble icon
  • Change: Show comments bubble in “Comments” column of user listings instead of plain integer
  • Change: Don’t link comments bubble when there are zero comments since approved and pending comments are available as separate links
  • Change: Extract comments bubble markup generation from comment_author() into new get_comments_bubble()
  • Change: Remove support for pre-WP 4.3 markup
  • Change: Prevent object instantiation of the class
  • Change: Use sprintf() to produce markup rather than concatenating various strings, function calls, and variables
  • Change: Update unit test bootstrap
    • Default WP_TESTS_DIR to /tmp/wordpress-tests-lib rather than erroring out if not defined via environment variable
    • Enable more error output for unit tests
  • Change: Note compatibility through WP 4.7+
  • Change: Remove support for WordPress older than 4.6 (should still work for earlier versions back to WP 4.3)
  • Change: Update readme.txt content and formatting
  • Change: Update copyright date (2017)
  • Change: Update screenshots
  • New: Add LICENSE file

Full changelog is available in CHANGELOG.md.