Title: Highlight Author Comments
Author: RobMarsh
Published: <strong>2007 年 10 月 20 日</strong>
Last modified: 2008 年 8 月 22 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/highlight-author-comments.svg)

# Highlight Author Comments

 作者：[RobMarsh](https://profiles.wordpress.org/robmarsh/)

[下载](https://downloads.wordpress.org/plugin/highlight-author-comments.1.0.2.zip)

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

 [支持](https://wordpress.org/support/plugin/highlight-author-comments/)

## 描述

Highlight Author Comments automatically displays comments made by a post’s author
in a distinctive style with no need to edit your template files, etc. All you do
is provide a snippet or two of CSS styling to be applied to author posts.

### Version History

 * Version 1.0.2
    - Workaround for WP bug that failed to style the first paragraph as a paragraph
 * Version 1.0.1
    - Added the ability to style the comment author link
    - Added some security with nonces
 * Version 1.0.0
    - Initial version

## 安装

Highlight Author Comments is installed in 3 easy steps:

 1. Unzip the “Highlight Author Comments” archive and copy the folder to /wp-content/
    plugins/
 2. Activate the plugin
 3. Use the Options > Highlight Comment admin page to enter the CSS styling you want
    to apply to author comments.

## 常见问题

  What Do I Enter in the Options Page?

The plugin Options page just has couple of text boxes where you put the bits of 
CSS you want to apply to highlighted comments. Don’t include **{** or **}**: just
the CSS. For example, by default the plugin applies the CSS `padding: 1em` which‘
indents’ the comment a little all round. If you wanted to also make the text red,
for example, you would use `color: red; padding: 1em`.

You can style the body of the comment itself and/or the link to the comment author.

  CSS Styling… What’s That?

Cascading Style Sheets (CSS) is too complex a subject to go into here. A good resource
is provided by the [Web Design Group](http://htmlhelp.com/reference/css/).

  How About Some Examples?

Here’s where some artistry would be a help! In lieu of skill here are some examples
to play with:

 * padding: 1em;
 * padding-left: 20px;
 * background-color: #FFFF95;
 * border-left: 1em solid #DDD; padding: 1em;
 * background: white url(http://www.yourblog.com/images/fluffy-clouds.gif)
 * background-color: silver; margin-left: -2em; padding: 1em 1em 1em 2em;
 * etc.

  How Does It Know Which Comments to Highlight?

The plugin simply compares the email of the post author with the email of the commentor.
This works fine as long as a post author is logged in when commenting. It will fail
if the author is not logged in and uses a different email.

## 评价

![](https://secure.gravatar.com/avatar/5e33f031e5d558478b6cafe4d693b5062f1e376106488f08ba65974198e004b1?
s=60&d=retro&r=g)

### 󠀁[Really good plugin](https://wordpress.org/support/topic/really-good-plugin-50/)󠁿

 [bhawnatech](https://profiles.wordpress.org/bhawnatech/) 2016 年 9 月 3 日

Installed it just now and give a lot of options such as adding images etc to the
author comments . Really great hats off

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/highlight-author-comments/reviews/)

## 贡献者及开发者

「Highlight Author Comments」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ RobMarsh ](https://profiles.wordpress.org/robmarsh/)

[帮助将「Highlight Author Comments」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/highlight-author-comments)

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**18 年前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 1.5 或更高版本 **
 *  已测试的最高版本为 **2.6.1**
 *  语言
 * [English (US)](https://wordpress.org/plugins/highlight-author-comments/)
 * 标签
 * [automatic](https://cn.wordpress.org/plugins/tags/automatic/)[comments](https://cn.wordpress.org/plugins/tags/comments/)
   [Highlight](https://cn.wordpress.org/plugins/tags/highlight/)
 *  [高级视图](https://cn.wordpress.org/plugins/highlight-author-comments/advanced/)

## 评级

 5 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/highlight-author-comments/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/highlight-author-comments/reviews/)

## 贡献者

 *   [ RobMarsh ](https://profiles.wordpress.org/robmarsh/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/highlight-author-comments/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://rmarsh.com/donate/highlight-comment-author/)