WordPress Paragraph Comment

$19.00

Transform your WordPress site with Paragraph Comment—let readers engage with specific paragraphs, not just whole posts. Boost interaction and insights on Add…

Overview

Paragraph Comment adds a new layer of engagement to your WordPress posts and pages. Instead of comments that only apply to an entire article, this plugin lets readers leave feedback on specific paragraphs. Each time an eligible post is saved, every paragraph receives a unique identifier and becomes comment-ready. Visitors simply hover a paragraph to see a small badge showing how many comments it already has, click the badge, and instantly open a focused discussion panel without ever leaving the page.

Core Workflow

When an editor or author saves a post, the plugin automatically scans the content and tags each paragraph. Any paragraph that lacks an ID is given a sequential label such as paragraph-1, paragraph-2, and so on. Existing IDs are respected so numbering stays unique. The class commentable is added to the opening tag, making the paragraph instantly recognizable to the front-end script. All other attributes remain untouched, ensuring your existing markup stays intact.

On the front end, a single CSS class added to the body activates the commenting layer. As visitors move their pointer across the page, a speech-bubble badge appears next to each enabled paragraph, displaying the current count of approved comments. Clicking the badge slides in a 400-pixel panel from the right edge of the screen. Inside the panel, readers see the exact paragraph text, followed by a chronological list of existing comments and a clean form for adding their own thoughts.

Comment Handling

  • Comments created through the panel are stored as standard WordPress comments.
  • Each comment carries a paragraph_id meta value that links it back to its source paragraph.
  • Approved comments are counted for the badge; comments awaiting moderation remain hidden until approved.
  • The same comments also appear in the normal WordPress comment list, where the plugin prepends a short excerpt of the paragraph above the comment text for context.

Guest and Logged-in Experience

Logged-in users see their display name above the comment field, while guests are prompted for name and email. All submissions pass through WordPress’s built-in discussion settings, including registration requirements, moderation queues, and spam checks. After a comment is saved, the panel refreshes automatically, the badge count updates, and the form clears for the next visitor.

Settings and Customization

General Settings

  • Choose which public post types should support paragraph comments.
  • Toggle “Always Show Comment Count” to keep badges and dashed outlines visible at all times instead of revealing them only on hover.

Design Settings

  • Adjust the rectangle border color that highlights a paragraph when the pointer is over it.
  • Strings are fully translatable, with a ready-to-use POT file located in the languages folder.

Technical Notes

The plugin requires no changes to your theme or child theme. All assets are enqueued only on singular views of enabled post types, keeping performance impact minimal. Debug information is written to the server error log during saves, allowing site administrators to verify that paragraph IDs are being assigned correctly. When the admin bar is present, the panel’s close button repositions itself to remain visible and accessible.

Why Paragraph Comment?

Traditional comment sections can feel disconnected from the actual content they discuss. By anchoring feedback to individual paragraphs, Paragraph Comment encourages more precise, relevant conversations. Readers quickly see which sections are generating discussion, and authors gain actionable insight into the parts of their writing that resonate most. Whether you run a magazine, documentation site, or community blog, this focused approach to feedback helps surface the voices that matter most—right where the ideas are being shared.

0 total ratings
Sad0Sad
Thinking0Thinking
Happy0Happy
Excellent0Excellent
0.0/4 average rating

Reviews

There are no reviews yet.

Be the first to review “WordPress Paragraph Comment”

Your email address will not be published. Required fields are marked