Plugin info

Total downloads: 31,595
Active installs: 200
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 5
Last updated: 2/10/2021 (1785 days ago)
Added to WordPress: 1/13/2005 (20 years old)
Minimum WordPress version: f
Tested up to WordPress version: f
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 1785 days ago

20/100

Is Recent Comments abandoned?

Possibly abandoned (last update 1785 days ago).

Compatibility

Requires WordPress: f
Tested up to: f
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Recent Posts
Rating 0.0/5 (0 reviews)Active installs 500
NS Recent Posts
Rating 0.0/5 (0 reviews)Active installs 10
Post-Plugin Library
Rating 2.0/5 (1 reviews)Active installs 10,000
Recently Registered
Rating 5.0/5 (55 reviews)Active installs 9,000
Superb Recent Posts With Thumbnail Images
Rating 0.0/5 (0 reviews)Active installs 7,000
Advanced Recent Posts
Rating 4.2/5 (30 reviews)Active installs 6,000

Description

Creates functions to assist in displaying a list of the most recent comments. Provides more configurability than the widget that comes with WordPress.

Configuration

You may pass parameters when calling the function to configure some of the options. Parameters are accepted only in the query-string-style.

list_most_recent_comments()

In addition to the parameters that get_comments() and get_most_recent_comments() (see below) accept, this function accepts the following parameters:

  • excerpt_words — The number of words from the comment to display
  • excerpt_chars — Or alternately the number of characters from the comment to display
  • comment_format — Allows you to pick from two predefined display formats:
  1. Comment Author on Post Title
  2. Comment Author: This is the comment excerpt

Example:


get_most_recent_comments()

A more powerful version of get_comments(). It accepts the same parameters as well as the following ones:

  • passworded_posts — Boolean to control showing comments on passworded posts or not. Defaults to false.
  • showpings — Boolean to control showing pings and trackbacks or not. Defaults to false.
  • post_types — Array of post types to include comments from. Defaults to posts and pages: array( 'post', 'page' )
  • post_statuses — Array of post statuses to include comments from. Defaults to published posts and static pages: array( 'publish', 'static' )

Arguments should likely be passed as an array instead of a string.

Example:

 true,
    'post_types' => array( 'post', 'page', 'foobar' ),
) );

?>

Installation

  1. Visit Plugins -> Add New in your WordPress administration area and search for the name of this plugin.
  2. Activate the plugin.
  3. Add <?php list_most_recent_comments(); ?> to your theme.

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

Version 2.0.0

  • Recoded from scratch to make use of get_comments() instead of a direct database query.
  • Additional parameters added.

Version 1.0.0

  • Original release