Title: Featured Comment Widget
Author: Jenn Schiffer
Published: <strong>2011 年 4 月 4 日</strong>
Last modified: 2015 年 9 月 16 日

---

搜索插件

![](https://ps.w.org/featured-comment-widget/assets/banner-772x250.png?rev=613744)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/featured-comment-widget_cdcdb4.svg)

# Featured Comment Widget

 作者：[Jenn Schiffer](https://profiles.wordpress.org/jennschiffer/)

[下载](https://downloads.wordpress.org/plugin/featured-comment-widget.1.7.zip)

 * [详情](https://cn.wordpress.org/plugins/featured-comment-widget/#description)
 * [评价](https://cn.wordpress.org/plugins/featured-comment-widget/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/featured-comment-widget/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/featured-comment-widget/#developers)

 [支持](https://wordpress.org/support/plugin/featured-comment-widget/)

## 描述

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

## 屏幕截图

 * [[
 * Finding the comment ID to enter into your widget form.
 * [[
 * Finding the comment ID in the Dashboard.
 * [[
 * 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 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.

## 安装

 1. Upload `featured-comment-widget.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Add the widget through the ‘Widgets’ submenu under ‘Appearance’ in WordPress
 4. Add the comment ID of the comment you want featured in the widget (or multiple 
    comma-delimited IDs) and save.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Featured Comment Widget」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jenn Schiffer ](https://profiles.wordpress.org/jennschiffer/)

[帮助将「Featured Comment Widget」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/featured-comment-widget)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/featured-comment-widget/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/featured-comment-widget/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/featured-comment-widget/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/featured-comment-widget/)。

## 更新日志

#### 1.7

 * Fixes “WP_Widget deprecated” bug so that it now works if you update to WordPress
   4.3+ (which you should).

#### 1.6

 * Allows multiple comments to be featured when entering comma-delimited comment
   IDs – probably the most requested feature since I created this plugin!

#### 1.5

 * Sets anonymous comment author names to “Anonymous.” A million delicious Internet
   cupcakes for Andrew Gorry for catching and solving this in the pancake theorem
   blog comments!

#### 1.4

 * Disables excerpting comments if mbstring not enabled in PHP configuration – a
   fancy hat tip to Allin for mentioning this error and its solution in the pancake
   theorem blog comments!

#### 1.3

 * Optimized permalink gets
 * Added i18n .pot file for translation

#### 1.2

 * Add ability to excerpt comments by a given number of characters.

#### 1.1

 * Add ability to enter custom widget title.

## 额外信息

 *  版本 **1.7**
 *  最后更新：**11 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 2.3 或更高版本 **
 *  已测试的最高版本为 **4.3.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/featured-comment-widget/)
 * 标签
 * [comment](https://cn.wordpress.org/plugins/tags/comment/)[comment-widget](https://cn.wordpress.org/plugins/tags/comment-widget/)
   [comments](https://cn.wordpress.org/plugins/tags/comments/)[featured](https://cn.wordpress.org/plugins/tags/featured/)
   [sidebar](https://cn.wordpress.org/plugins/tags/sidebar/)
 *  [高级视图](https://cn.wordpress.org/plugins/featured-comment-widget/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/featured-comment-widget/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/featured-comment-widget/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/featured-comment-widget/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/featured-comment-widget/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/featured-comment-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/featured-comment-widget/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/featured-comment-widget/reviews/)

## 贡献者

 *   [ Jenn Schiffer ](https://profiles.wordpress.org/jennschiffer/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/featured-comment-widget/)