HTML Classified Recent Posts & Comments Widgets
v1.0Jan Štětina · 2012年8月22日 上架
Default WordPress widgets with "class" attributes identifying posts added to links.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 3,554
- 最近更新
- 2012年8月22日
需要 WordPress 3.3+已测试到 3.4.2
贡献者
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), each class has a prefix to prevent problems with CSS styling
crpw-for Custom Recent Posts Widgetcrcw-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.