New WordPress Plugin – BM Comment Highlight

A couple of weeks ago I mentioned how to upload plugins to WordPress.org – and now I give to you, my second WordPress plugin – bm-comment-highlight.

BM Comment Highlight screenshot

Comment Highlight does exactly what it says on the tin. If you look around you will find that there are a lot of plugins that do what bm-comment-highlight does, namely add extra classes to comments so that you can make them look different, but none work in the way bm-comment-highlight does.

The problem I had was that I wanted to automate the process, I wanted it to work well when you have multiple authors, and I wanted to have more control over the styling. Since there was nothing that worked the way I wanted I wrote my own.

Most current plugins simply give you a single class to style your comments with. This means that all the comments will either be yours, or your readers – there is no scope for doing interesting things. With bm-comment-highlight, you can see if the commenter is the post author, or a reader. You can see if they are registered or not, and if they are registered you can see their user id, which means that if you want you can style each registered users comments differently (with a photo or avatar perhaps?).

I am currently running bm-comment-highlight on Binary Joy (the Zelda review has a nice example), and you can see it in action on many of the posts on the site. Currently I style the post author and the registered users differently from the average commenter.

You can download the plugin from WordPress.org

Was it good/ useful/ a load of old rubbish? Let me know on Mastodon, or BlueSky (or Twitter X if you must).

Link to this page

Thanks for reading. I'd really appreciate it if you'd link to this page if you mention it in your newsletter or on your blog.

WordPress News

The latest WordPress updates from the WPBriefs Podcast.

Related Posts

27 May 2013

WordPress: 10 Years Young, What Does The Future Hold?

WordPress is now 10 years old. I started using wordpress 9 years ago – which means I joined the WordPress community early on. The reason I chose WordPress is simply because of the fabled 5 minute install process – I...
19 Jun 2008

Redesigning the WordPress admin Redesign

Ever since the first betas of WordPress 2.5 I have been making my own version of the admin panel. I like a lot of what they have done but there were some very basic things missing in the design, and...
20 Jul 2016

Empathy in Web Design

I wasn’t able to make WordCamp Europe this year, but they’ve been really quick at getting all of the talks online, and so I have been watching some of them – and this one stood out.Morten Rand-Hendriksen is an experienced...
14 May 2013

Redesigning the WordPress Post Editor

Ghost is a project born from frustration with WordPress. Ironically it seems to be mostly WordPress power users who want to use it. The Ghost team – led by John O’Nolan – put Ghost on KickStarter last week and it...