跳到内容

Featured Comment Widget

v1.7

Jenn Schiffer · 2011年4月4日 上架

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

正在使用
30+
评分
5.0 / 5
累计下载
7,313
最近更新
2015年9月17日
2 条评价需要 WordPress 2.3+已测试到 4.3.34

贡献者

截图

Finding the comment ID to enter into your widget form.
Finding the comment ID to enter into your widget form.
Finding the comment ID in the Dashboard.
Finding the comment ID in the Dashboard.
The Featured Comment Widget form.
The Featured Comment Widget form.
This is what the widget looks like if you're using the Twenty Ten theme by WordPress.
This is what the widget looks like if you're using the Twenty Ten theme by WordPress.
This is what the widget looks like on a custom themed blog, with the comments excerpted at approximately 95 characters.
This is what the widget looks like on a custom themed blog, with the comments excerpted at approximately 95 characters.
This is what the widget looks like on Twenty Thirteen, with multiple (3) comments showing up at once.
This is what the widget looks like on Twenty Thirteen, with multiple (3) comments showing up at once.

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;}

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums