This recent comments widget provides advanced widget features for displaying comment author avatars
and an excerpt of their comment.
Features
- Select which post types to show comments for. (You can choose either all types, or a specific type.)
- Exclude pingbacks and trackbacks.
- Set the number of comments to show.
- Set the order for displaying the comments.
- Show comment author avatar.
- Set and preview avatar size.
- Show an excerpt of the comment.
- Determine the length of the excerpt.
- Select the comment list format to match your site's markup. Choose from:
ol
, ul
, or div
.
- Select the comment format. Choose between
html5
or xhtml
.
- Create multiple comment lists with different settings.
Developer Features
This widget was built not only with end-users in mind, but also plugin developers. Almost every aspect of this widget is extensible through filters and action hooks. You can even add your own form fields to the widget form!
- Need to remove a field from the widget form? Not a problem! Every field is passed through its own filter for easy customization.
- Need to modify the output of the widget? Easy! The output is passed through numerous filters, allowing you to customize the comment list to meet your project's requirements.
- For a full list of action hooks and filters, please see the plugin documentation: http://darrinb.com/plugins/advanced-comments-widget