WordPress plugin intelligence profile

Recent Comments

Creates functions to assist in displaying a list of the most recent comments.

WP PlugIndex snapshot

Current directory snapshot

Tested up to not listed
Current version2.1
WordPress coverageTested up to not listed
Minimum stackWP — · PHP —
Directory statusactive
Last directory update10 Feb 20215y ago
Active installations100Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Recent Comments version 2.1 as active, updated 5y ago and without a listed Tested up to version.

Overview

About this plugin

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:
  • Comment Author on Post Title
  • 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:

php

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

>

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • comments
  • list
  • recent
Compatibility & maintenance

Compatibility & maintenance

Tested up to not listed

WordPress.org does not currently provide a Tested up to version that WP PlugIndex can compare with WordPress 7.1.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up toNot listed
Minimum requirementsWordPress not listed · PHP not listed
Update activity10 Feb 20215y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.