We'll create fresh WordPress site with Hikari Featured Comments installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Have you ever wanted to highlight a valuable comment among all others? Or not let that troll 6-paragraphs comment take more space than it deserve? Or even hide a whole thread of offtipics?
Well, now you can!
Hikari Featured Comments is a simple plugin that adds 3 new custom fields to comments, allowing you to add special properties to each of them.
With this feature available, you can query any comment to know if it has any of those properties flagged, and if so you can take special actions within your theme or another plugin.
There are 3 special properties available, you can give them any semantic you like, but default meanings are as follows:
* Featured: a comment flagged as featured should be highlighted from all others. You can give it special CSS styles from your theme to make it more visible among all comments, and flag any valuable comment as so.
* Buried: a buried comment is a comment you don’t wanna just delete, but also don’t want it as visible as all others. You can use it to hide offtopic comments which you don’t want to perpetuate.
* Children/Threaded buried: this one has similar meaning to the former, but it should be applied to nested/threaded/children comments of the flagged comment.
Note that any comment can be independently flagged as Buried and Children buried, therefore a Children buried comment shouldn’t have special styles applied to itself. In the same way, you can also have a featured AND buried comment, having both styles should be applied together!
Hikari Featured Comments provides a special metabox in comment edit page (/wp-admin/comment.php?action=editcomment&c=XXXX) where you can flag these properties, and it automatically attach new classes (featured
, buried
, children_buried
) to comments in frontend.