Plugin Directory

Comment Analysis

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='
  • ', $beforecount='(', $aftercount=')') 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='
  • ', $beforecount='(', $aftercount=')') 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='
  • ', $beforecount='(', $aftercount=')', $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='
  • ', $beforecount='(', $aftercount=')') 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.

    Download

    FYI

    Compatibility beta

    Your Setup

    Log in to vote.

    The Consensus

    No data

    Average Rating

    5 stars
    4 stars
    3 stars
    2 stars
    1 star
    (3 ratings)