A plugin that allows authorized users to convert comments, answers, and questions between each other directly from the question page, with a popup UI and full migration of child comments.
- Comment → Answer: Convert any comment into a full answer on the question
- Comment → Question: Convert any comment into a brand-new standalone question (supply a title); a checkbox lets you also migrate all subsequent comments (posted after the selected one, including hidden/queued) to the new question
- Comment → Move: Move a comment to a different parent (question or another answer) without changing its type
- Answer → Comment: Convert any answer into a comment under the question or another answer; child comments follow automatically; any follow-on questions that were linked to the answer are re-parented to the original question
- Answer → Question: Convert any answer into a brand-new standalone question (supply a title); child comments follow automatically to the new question
- Inline buttons: Every comment and answer on the question page gets a Convert button that renders as a standard Q2A light button (no extra styling) — works in all themes including Polaris and Snow Flat
- Manage Posts page: A dedicated management page (
/ca-manage/<questionid>) lists all comments and answers with bulk-action controls - Permission Control: Admin-configurable minimum user level (Editor / Moderator / Admin / Super Admin)
- Points Preservation: All user points (answer posts, comment posts, votes) are properly recalculated on every conversion
- Full Indexing: Posts are properly unindexed and reindexed for search on every conversion
- Dark mode support: All plugin UI elements respond to
html[data-theme="dark"]
- Copy the
commenttoanswerfolder into yourqa-plugin/directory - Go to Admin → Plugins and verify the plugin is listed
- Click the plugin options to set the minimum permission level
In Admin → Plugins, find Comment Answer Converter Admin and configure:
- Minimum user level: The lowest level that can perform conversions (default: Admin). Options: Editor, Moderator, Admin, Super Admin.
Each comment gains a Convert button and each answer gains a Convert button alongside the normal Edit / Flag / etc. buttons. Clicking opens a popup modal.
| Option | Behaviour |
|---|---|
| Convert to Answer | Comment becomes a full answer on the question |
| Move comment to… | Comment is re-parented to another answer or the question |
| Convert to new Question | Comment becomes a standalone question — enter a title, then confirm |
| Option | Behaviour |
|---|---|
| Convert to comment under… | Answer becomes a comment; child comments follow to the chosen parent; follow-on questions linked to this answer are re-parented to the original question |
| Convert to new Question | Answer becomes a standalone question; child comments and follow-on question links are preserved as-is (they remain linked to the same postid, which is now a question) — enter a title, then confirm |
The question also gains a Manage Posts button that links to the full management page.
Q2A allows a question to "follow on from" an answer (the follow-on question's parentid points to the answer's postid). The plugin handles these correctly on every conversion:
| Conversion | Follow-on question handling |
|---|---|
| Answer → Comment | Re-parented to the original question (a comment cannot be a valid parent for a question) |
| Answer → Question | No change needed — the postid stays the same, just changes type; the link remains valid |
Lists every comment and answer for the question with controls for:
- Converting individual comments to answers (with optional migration of sibling comments)
- Converting individual answers to comments (choose parent)
- Moving individual comments between parents
- Question2Answer 1.7.5 or later
- PHP 5.6 or later
Free to use and modify (GPLv2).