WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Post-Specific Comments Widget (PSCW)

A widget that displays formattable recent comments (and even gravatars) from a specific post or page ID or all. Display format is highly customizable

If you have questions, don't hesitate to ask.

How do I use the shortcodes?

If you want to customize the way your comment is printed out, you can use the following shortcodes as placeholders for the intended output: [AUTHOR], [TITLE], [EXCERPT], [DATE].

So for example, if you choose the "other" format, you could then enter "Comment by ~[AUTHOR]~ on [DATE]" and the plugin would magically replace the shortcodes with the author name/link, surrounded by tildes/swiggles, and then the date.

How do I use the avatar shortcode?

[AVATAR] will display a 32px avatar. [AVATAR 80] will display an 80px avatar. [AVATAR 128] will display an 128px avatar. [AVATAR48] and [AVATR 80] will not display avatars because they are not typed correctly.

Avatars will need styling depending on your WordPress theme. There are ample CSS tags to get them where you want them. Avatar display depends on your avatar settings in WordPress -> Settings -> Discussion

How can I remove the .recentcomments a CSS from the header?

Add the following lines to your (child theme) functions.php file:

function pscw_remove_recent_comments_style() {
    global $wp_widget_factory;
    remove_action( 'wp_head', array( $wp_widget_factory->widgets['WP_Widget_Recent_Comments'], 'recent_comments_style' ) );  
    remove_action( 'wp_head', array( $wp_widget_factory->widgets['Post_Specific_Comments_Widget'], 'pscw_recent_comments_style' ) );
}  
add_action( 'widgets_init', 'pswc_remove_recent_comments_style' );

Requires: 4 or higher
Compatible up to: 4.7.3
Last Updated: 4 weeks ago
Active Installs: 100+

Ratings

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