This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

MarcTV Last Commented Posts

Description

Provides a new function that returns an unordered list of the last commented articles and their comments.

Installation

  • Upload the plugin to your blog
  • Activate it.
  • Use this in your template files:

    <?php
      if (function_exists('get_last_commented_articles')) {
        echo get_last_commented_articles();
      }
     ?>
    

For advanced usage use the first parameter for the number of posts and the second for custom classes.

    <?php
      if (function_exists('get_last_commented_articles')) {
        echo get_last_commented_articles(6, 'container multi nohover showontouch');
      }
     ?>

This function returns just an array of the post objects:

    <?php
      if (function_exists('query_posts_with_recent_comments')) {
        $last_commented_posts = query_posts_with_recent_comments(6,'game');
      }
     ?>

Contributors & Developers

“MarcTV Last Commented Posts” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.5

  • Added query function to return just the post objects.
  • Added support for custom post types.

1.4

  • Removed unapproved comments from the query.

1.2

  • Added post thumb

1.0

  • First version.