Home Plugins featured comment widget
Featured Comment Widget logo

Featured Comment Widget

by Jenn Schiffer on WordPress.org

The Featured Comment Widget gives you the ability to shine a spotlight on some of your favorite comments on the site.

(2)
Finding the comment ID to enter into your widget form.

Finding the comment ID to enter into your widget form.

The Featured Comment Widget gives you the ability to shine a spotlight on some of your favorite comments on the site.

Installing this plugin adds the Featured Comment Widget to your list of available widgets in the ‘Widgets’ submenu (which you can find under ‘Appearance’ in your WordPress dashboard). Every comment has an numeric ID, and putting that ID in the widget form results in the that comment (or commentS if you enter multiple IDs), along with the name and Gravatar of its commenter, showing in the sidebar. The Gravatar and username is automatically a link to that comment in its respective post.

Widget CSS

The following are the classes and explanations of them for those of you who want to style your widget in the custom.css file:

  • .featuredComment-comment – a single comment block containing the content and citation, default: { margin: 20px auto; }
  • .featuredComment-comment-content – the comment text, default: { margin: 3px auto 5px;}
  • .featuredComment-cite – the citation that includes gravatar and author name, default: { display: block; text-align: left; line-height: 1em;}
  • .featuredComment-gravatar – the gravatar image within citation, default: {float: right; padding: 0px 5px;}
  • .featuredComment-author – the “posted by …” author link within citation, default: {float: right;}
Active installations30+
Weekly downloads
12+50.00%
Version1.7
Last updated9/16/2015
WordPress version2.3
Tested up to4.3.34
Tags
commentcomment-widgetcommentsfeaturedsidebar
Featured Comment Widget | Plugin0