Title: HTML Classified Recent Posts &amp; Comments Widgets
Author: Jan Štětina
Published: <strong>2012 年 8 月 22 日</strong>
Last modified: 2012 年 8 月 22 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/html-classified-recent-posts-comments-
widgets.svg)

# HTML Classified Recent Posts & Comments Widgets

 作者：[Jan Štětina](https://profiles.wordpress.org/zaantar/)

[下载](https://downloads.wordpress.org/plugin/html-classified-recent-posts-comments-widgets.zip)

 * [详情](https://cn.wordpress.org/plugins/html-classified-recent-posts-comments-widgets/#description)
 * [评价](https://cn.wordpress.org/plugins/html-classified-recent-posts-comments-widgets/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/html-classified-recent-posts-comments-widgets/#developers)

 [支持](https://wordpress.org/support/plugin/html-classified-recent-posts-comments-widgets/)

## 描述

This plugins adds two widgets: Classified Recent Posts and Classified Recent Comments.
They differ from the default widgets only in one thing – each listed link contains
HTML `class` attribute describing which post it is related to. For recent comments
the whole `li` tag also contains this attribute.

Listed classes are similar to the output from `get_post_class` (see [WordPress Codex](https://codex.wordpress.org/Function_Reference/get_post_class)),
each class has a prefix to prevent problems with CSS styling

 * `crpw-` for Custom Recent Posts Widget
 * `crcw-` for Custom Recent Comments Widgets

You can use this for example to highlight links to posts from chosen categories 
or witch chosen tags (or a particular post) via CSS.

## 常见问题

No questions asked yet.

[Ask.](https://cn.wordpress.org/plugins/html-classified-recent-posts-comments-widgets/zaantar@zaantar.eu?subject=[html-classified-recent-posts-comments-widgets])

## 评价

此插件暂无评价。

## 贡献者及开发者

「HTML Classified Recent Posts & Comments Widgets」是开源软件。 以下人员对此插件
做出了贡献。

贡献者

 *   [ Jan Štětina ](https://profiles.wordpress.org/zaantar/)

[帮助将「HTML Classified Recent Posts & Comments Widgets」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/html-classified-recent-posts-comments-widgets)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0

 * First version

## 额外信息

 *  版本 **1.0**
 *  最后更新：**14 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/html-classified-recent-posts-comments-widgets/)
 * 标签
 * [comments](https://cn.wordpress.org/plugins/tags/comments/)[posts](https://cn.wordpress.org/plugins/tags/posts/)
   [recent](https://cn.wordpress.org/plugins/tags/recent/)[widget](https://cn.wordpress.org/plugins/tags/widget/)
   [widgets](https://cn.wordpress.org/plugins/tags/widgets/)
 *  [高级视图](https://cn.wordpress.org/plugins/html-classified-recent-posts-comments-widgets/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/html-classified-recent-posts-comments-widgets/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/html-classified-recent-posts-comments-widgets/reviews/)

## 贡献者

 *   [ Jan Štětina ](https://profiles.wordpress.org/zaantar/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/html-classified-recent-posts-comments-widgets/)

## 捐助

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

 [ 捐助此插件 ](http://zaantar.eu/financni-prispevek)