WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Get Recent Comments

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

  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: 332,617

Ratings

3 stars
3.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

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
100,2,2
0,1,0
100,2,2
100,1,1