Schedule a Free Consultation
Categorize WordPress Comments in Genesis Framework - WPRiders Article

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.

Categorize WordPress Comments in Genesis Framework - WPRiders Article

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.

Categorize WordPress Comments in Genesis Framework - WPRiders Article
Categorize WordPress Comments in Genesis Framework - WPRiders Article
Categorize WordPress Comments in Genesis Framework - WPRiders Article

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?

Categorize WordPress Comments in Genesis Framework - WPRiders Article

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

You Might Also Enjoy These Digital Marketing Articles:

Top 5 Best WordPress Themes - WPRiders Article
Top 5 Best WordPress Themes
Why the Top 5 Best WordPress Themes Are Like Baking the Perfect Cake Choosing the top 5 best WordPress themes can sometimes feel like finding the perfect recipe. Let me tell you, picking a WordPress theme is a lot like baking a cake. Now, I know that might sound a bit out there, but hear me out. […]
Top 10 Premium WordPress Membership Plugins for 2024 - WPRiders Article
Top 10 Premium WordPress Membership Plugins for 2024
As we enter 2024, the role of membership plugins in enhancing website functionality has become even more important, especially for WordPress custom development projects. These top 10 WordPress membership plugins streamline subscription management, restrict content access, and promote user engagement to help membership websites thrive. 2024’s Best Premium WordPress Plugins to Take Your Website to […]
Working With a WordPress Agency: Overcome Difficult Moments - WPRiders Article
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. […]