WordPress.org

Plugin Directory

Post-Specific Comments Widget (PSCW)

A widget that displays recent comments from a specific post or page ID. Display format is highly customizable with shortcodes and unique CSS tags.

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 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.5.4
Last Updated: 4 months 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