Description
Deka Comment Thread Organizer provides a fast, visual workspace under Comments > Comment Organizer to restructure conversation threads on any public post, page, or custom post type (excluding attachments).
Whether you are cleaning up misthreaded discussions, rescuing replies whose parent comments were deleted, or merging standalone comments into an existing thread, everything happens smoothly with instant visual updates and zero page reloads.
Key Features
- Visual Drag & Drop Threading: Drag any comment card and drop it onto another comment to nest it as a child reply, or drop onto the main canvas to promote it to a top-level comment.
- Instant Optimistic UI Updates: Changes reflect immediately in the hierarchy tree with clear L-shaped connector lines and depth badges while saving asynchronously in the background.
- Orphaned Comment Rescue: Automatically detects broken replies whose parent comment no longer exists, keeps their child replies visible, and lets you re-attach or promote them with one click.
- Standalone Comment Triage: Lists childless top-level comments in a sticky sidebar with quick filters (
All,Missing Parent,No Children). - AJAX Post Search: Powered by Select2 AJAX search so sites with thousands of posts load instantaneously.
- Built-in Cycle Prevention & Security: Prevents infinite parent-child loops on both client and server sides, protected by WordPress nonces and
moderate_comments/edit_commentcapability checks.
Third-Party Libraries
This plugin bundles the following open-source library locally (no external CDN requests):
- Select2 (v4.2.0)
- Source: https://github.com/select2/select2
- License: MIT License (https://github.com/select2/select2/blob/develop/LICENSE.md)
Screenshots




Installation
- Upload the
deka-comment-thread-organizerfolder to the/wp-content/plugins/directory, or install the plugin directly through the WordPress Plugins > Add New screen. - Activate the plugin through the Plugins screen in WordPress.
- Navigate to Comments > Comment Organizer in your WordPress admin dashboard.
- Search and select a post from the dropdown to start organizing its comments.
FAQ
-
Does this plugin modify any custom database tables?
-
No. It strictly uses standard WordPress core comment functions (
wp_update_comment(),wp_delete_comment(), andget_comments()) to update the nativecomment_parentfield. -
What happens if I deactivate or uninstall the plugin?
-
Your organized comment hierarchy remains completely intact because all parent-child relationships are stored natively in WordPress’s
wp_commentstable. -
Can I organize comments on Custom Post Types and Pages?
-
Yes. Any public post type (Posts, Pages, and Custom Post Types excluding attachments) is searchable and supported.
-
Does it show unapproved or pending comments?
-
Yes. All comment statuses (
approved,hold/pending,spam,trash) on the selected post are displayed with clear status badges so you can organize threads before approving them.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Deka Comment Thread Organizer” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Deka Comment Thread Organizer” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
- Added drag-and-drop comment hierarchy tree with L-shaped visual connectors.
- Added sticky triage sidebar for orphaned and standalone comments.
- Added AJAX-powered post selector and instant optimistic UI updates.