HM User Notes
Allow users to add a note to any page and update it
★ 0stars
1.5kcomposer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/humanmade/hm-user-notes/archive/refs/heads/main.zipAlso on Packagist as humanmade/hm-user-notes:
composer require humanmade/hm-user-notesFrom the readme
HM User Notes
A lightweight WordPress plugin that allows logged-in users to add private comments (notes) to posts that only they can see.
Features
- Private Comments: Comments marked as hmusernote type are only visible to their author
- Block Variations: Provides variations for core comment blocks:
- User Note Form: A comment form variation for adding/editing private notes
- User Notes List: A comments list variation that only shows the current user's private notes
- Block Binding: Dynamic text binding that shows "Add a note" or "Edit note" based on user's note status
- Auto-Save: Notes are automatically saved as you type with a 1-second debounce
- Clean UI: Submit button is hidden, form title and profile links are removed
- One Note Per User: Each user can only add one private note per post
- Auto-Population: The form automatically populates with existing note content
- Visual Feedback: Shows "Saving...", "Saved", or "Error saving" indicators
- Permission Checks: Only the comment author can view and edit their private notes
- Server-Side Integration: Comment ID field and existing content are injected server-side
- Filterable: Both "Add a note" and "Edit note" text can be cu
Read the full README on GitHub →