HTML Classified Recent Posts & Comments Widgets

Default WordPress widgets with "class" attributes identifying posts added to links.

Author:Zaantar (profile at wordpress.org)
WordPress version required:3.3
WordPress version tested:3.4.1
Plugin version:1.0
Added to WordPress repository:22-08-2012
Last updated:22-08-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://wordpress.org/extend/plugins/classifie...
Total downloads:1 540
Active installs:10+
plugin download
Click to start download

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 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.


FAQ
ChangeLog