WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Comment Analysis

Functions to output comment statistics and lists

What functions are available?

This plugin is now widgetized, so you can use the widget, or use these functions:

ca_comment_count() Show total count of comments for your blog, excluding pingbacks and trackbacks.

ca_pingback_count() Show total count of pingbacks for your blog.

ca_trackback_count() Show total count of trackbacks for your blog.

ca_spam_count() Show total count of comments marked as spam. (Version 2.1 only)

ca_comment_last ($format=.) Show date of last comment. The optional parameter allows you to format the date using standard date formatting.

ca_pingback_last ($format=.) Show date of last pingback. The optional parameter allows you to format the date using standard date formatting.

ca_trackback_last ($format=.) Show date of last trackback. The optional parameter allows you to format the date using standard date formatting.

ca_commentor_latest ($count=10, $exclude='' $before='

  • ', $after='
  • ') Shows latest $count commentors, with links to their websites if provided. $exclude is a comma separated list of commentors not to include in the list. $before and $after define the tags which will be output at the start and end of each line.

    ca_commentor_most ($count=10, $exclude='', $before='

  • ', $after='
  • ', $before_count='(', $after_count=')') Show the top $count commentors, with links. $exclude is a comma separated list of commentors not to include in the list. $before and $after define the tags which will be output at the start and end of each line.

    ca_comment_latest ($count=10, $length=60, $before='

  • ', $after='
  • ', $linktext='Go') Shows the first $length chars of the latest $count comments. $before and $after define the tags which will be output at the start and end of each line.

    ca_comment_latest_posts ($count=10, $show_count='yes', $before='

  • ', $after='
  • ', $before_count='(', $after_count=')') Show the latest $count posts with comments (with a count of comments if $show_count is not no. $before and $after define the tags which will be output at the start and end of each line.

    ca_comment_most($count=10, $show_count='yes', $before='

  • ', $after='
  • ', $before_count='(', $after_count=')', $exclude='', $hours=0) Show the top $count commented posts (with a count of comments if $show_count is not no. $before and $after define the tags which will be output at the start and end of each line. $exclude can exclude certain posts, it should contain a comma separated list of post IDs. If $hours is not zero, only comments in the last $hours hours will be looked at.

    ca_author_most ($count=10, $exclude='', $before='

  • ', $after='
  • ', $before_count='(', $after_count=')') Show the top $count authors on your blog (with a count of posts written). I realise this isn.t comment related, but someone asked for it and I was too lazy to write a new plugin for it.

    Requires: 2.0.2 or higher
    Compatible up to: 2.6
    Last Updated: 2008-9-19
    Downloads: 3,429

    Ratings

    3 stars
    3.7 out of 5 stars

    Support

    Got something to say? Need help?

    Compatibility

    +
    =
    Not enough data

    0 people say it works.
    0 people say it's broken.