Plugin Directory

Get Recent Comments

Display the most recent comments or trackbacks with your own formatting in the sidebar.

Download Version 2.0.6

  1. Upload get-recent-comments.php to the /wp-content/plugins/ directory.
  2. Activate Get Recent Comments through the 'Plugins' menu in WordPress.
  3. What to do now depends on how up to date your theme is:

    Modern theme with widget support

    The plugin is a widget. If your theme supports widgets, and you have installed the widget plugin, adding the plugin to the sidebar is easy: Go to the presentation menu and drag and drop the widget into the sidebar (Screenshot). Don't forget the Get Recent Trackbacks box. And you might want to change the title. All done.

    Old school theme without widget support

    You need to insert the following code snippet into the sidebar template.
    wp-content/themes/<name of theme>/sidebar.php

    <?php if (function_exists('get_recent_comments')) { ?>
    <li><h2><?php _e('Recent Comments:'); ?></h2>
          <ul>
          <?php get_recent_comments(); ?>
          </ul>
    </li>
    <?php } ?>   
    
    <?php if (function_exists('get_recent_trackbacks')) { ?>
    <li><h2><?php _e('Recent Trackbacks:'); ?></h2>
          <ul>
          <?php get_recent_trackbacks(); ?>
          </ul>
    </li>
    <?php } ?>
    

Requires: 1.5 or higher
Compatible up to: 2.8
Last Updated: 2009-6-19 Downloads: 313,379

Average Rating

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

Compatibility

+
=
Not enough data

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

Log in to vote.

100,1,1
50,2,1
83,6,5
100,1,1 83,6,5
100,2,2
90,20,18
94,17,16
0,1,0 83,6,5
92,12,11
100,2,2
100,2,2
100,1,1
75,8,6
100,1,1
100,2,2
100,4,4
100,1,1