1.0 (June 3, 2004)
Requirements | Installation | Functions | Help | Copying
rp–comment–hilite is a WordPress plugin that allows you to highlight the significant and noteworthy comments posted on your WP blog.
The plugin version has been tested on WordPress 1.2-mingus, and should work with other releases from the 1.2 trunk.
This document’s formatting and style was inspired (ripped?) from WP’s readme.html, and is provided for users of this hack.
rp_is_comment_hilite()
in
wp-comments.php to display anything you want for highlighted comments.
<?php if (rp_is_comment_hilite()) { ?>
class="noteworthy"
<?php } ?>
The way I use it, I just add a noteworthy class to a highlighted comment.
Listed below are the functions made available for use by this plugin.
<?php rp_is_comment_hilite(); ?>
Returns (not echo) true if the current comment in the "“loop”
is highlighted; otherwise false.
Questions, reactions and, suggestions regarding this hack may be posted on the author’s site, just as you can email him at markku at rebelpixel dot com.
Copying, modification and redistribution is allowed under the terms of the GPL, better explained by the CC–GPL (Creative Commons Deed). If you found this hack useful, don’t hesitate to link to my site and the projects’s page.