Schedule a Free Consultation

Categorize WordPress Comments in Genesis Framework

Read Article

TL;DR: If you want to download the FREE comments categories plugin for your own use, click here 

We have created a new version from scratch that is publicly available as a contribution to the WordPress community.


Have you ever needed to categorize comments added to your site?

WordPress, our favorite Content Management System (CMS) allows developers to create customized content types and associated taxonomies, either hierarchical (similar to post categories) or dispersed (similar to post tags). Content and plugin developers alike have been focusing on offering tools and mechanisms that manage such content, but there is one area of a site’s content that remained untapped: user comments – yes, that content area in a site apparently unfit for complex structures. Our new plugin makes user comments the subject of categorization in response to a client request.

How Comment Categorization Works

To best describe how the plugin works, here is the actual comments form for a recipe at Minimalist Baker.

Genesis Categorize Comments - Bottom of the Form

At the bottom of the page, the already familiar user comments form provides two checkboxes: I Made this and I Have a Question. The user fills out the required fields (Comment, Name, and Email), checks any of these two checkboxes, and clicks Post Comment. The very action of checking any of the two checkboxes is similar to attaching a tag to the comment. In short, the user sets the “tags” for the comment, indicating the comment belongs to a person who made de recipe and has additional questions about the recipe.

As the user submits the comment, it is posted to the list. But the interesting part is about to start. At the top of the comments list, three tabs — All Comments, I made this, and Questions – allow users to filter which comments are being displayed. Clicking I made this will show only the comments whose authors checked the I made this checkbox, while clicking Questions will show only the comments whose authors checked the I Have a Question checkbox. To see all comments, and ignoring any choices for the comment tags, a user needs to click All Comments. I don’t know about you, but I find this both useful and elegant.

Genesis Categorize Comments Tabs - All Genesis Categorize Comments Tabs - I Made This Genesis Categorize Comments Tabs - Questions

Managing Comment Categorization

In typical fashion, the administrator manages the comments by editing its content and status. Additionally, the administration comment form shows two check boxes that allow the administrator to apply the tags in the back-end. Don’t you think this is a great idea? Do you remember when you wished you could retract something you said in a comment?

Genesis Categorize Comments - Admin Comment Editor

Engineering the Comment Categorization Plugin

Our customer developed the site using the Genesis framework for its flexibility and versatility. This smart decision allowed our developers to create the plugin and bind it to theme’s functionality. Interesting solutions adopted in this plugin include:

  • Reuse Genesis callbacks – the large family of Genesis developers will have no problem installing the plugin and admire the practical and efficient solution.
  • Avoid server traffic – filtering the list of comments is performed at client side using JQuery to avoid slow and expensive pulls of needed data.

Navigate to

Check some other articles we wrote

Working with a WordPress agency: Overcome difficult moments
A new hobby for my friend’s wife I have a friend, let’s call him John, who, not unlike many of us, had a very hectic year last year. As the saying goes, it was all work and no play. Neither he nor his wife had enough time and energy to pursue any of their hobbies. […]
5 WordPress mistakes you’re making and how to solve them
Everybody makes mistakes. Maybe some of them might be small, like buying the wrong kind of milk, while others can be more serious, like forgetting to bring your gift to someone’s birthday party. Bottom line is that every single one of us makes mistakes. And to be honest, mistakes are not entirely bad. More often […]
Add shortcode parameters via dialog using TinyMCE toobar
Have you ever needed to create a dialog for adding shortcodes with parameters in a user friendly way? We created a TinyMCE interface that inserts a shortcode and its arguments via a modal window, helping authors become productive and prevent any errors. Content developers using WordPress frequently enhance the TinyMCE editor with plugins that generate […]