Default WordPress widgets with "class" attributes identifying posts added to links.
As of April 2026, HTML Classified Recent Posts & Comments Widgets is a WordPress posts plugin with 10 active installations and a 0/5 rating0. It has been downloaded 2.6K+ times in total. Requires WordPress 3.3+ and PHP false+. Available on WordPress.org since 2012. Last updated 13 years ago — may have compatibility concerns. Top alternative: WP Shortcodes Plugin — Shortcodes….
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 WidgetsYou can use this for example to highlight links to posts from chosen categories or witch chosen tags (or a particular post) via CSS.
| WordPress | 3.3+ requiredTested up to 3.4.2 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.