
Dadsoo Ajax Comment
v4.0.1Iman Shadmehri · 2026年9月22日 上架
AJAX-powered comments with threaded replies, like/dislike voting, and full Elementor widget support.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 218
- 最近更新
- 2026年9月22日
需要 WordPress 5.8+已测试到 7.1.5PHP 7.4+
贡献者
Dadsoo Ajax Comment replaces the default comment form and list with an AJAX-driven version: comments post without a page reload, replies nest up to three levels deep, and visitors can like or dislike any comment.
Features
- ✅ Post comments without reloading the page
- ✅ Progressive loading of approved comments, with a loading spinner and an empty state
- ✅ Threaded replies up to three levels deep
- ✅ Instant publishing for logged-in users with the
moderate_commentscapability - ✅ Like/dislike voting that can be changed or undone, recorded server-side so clearing cookies can’t be used to vote again
- ✅ After each “load more”, the page scrolls to and highlights the first newly loaded comment
- ✅ Configurable button and status text (load more, loading, empty)
- ✅ Uses the WordPress avatar and displays the comment date
- ✅ Records IP address and user agent for moderation and spam review
- ✅ Nonce-verified AJAX requests, a honeypot field on both forms, and comments routed through WordPress’s own
wp_new_comment()so Akismet, comment flood control, and the disallowed-words list all still run - ✅ Two independent Elementor widgets: a comment form and a comments list
- ✅ Elementor style controls for the avatar, author name, comment text, vote icons, and the load-more button
Shortcodes
[dadsoo-ajax-comment-form]
[dadsoo-ajax-comments]
[dadsoo-ajax-comments items="10" avatar_size="72"]
[dadsoo-ajax-comments load_more_text="More comments" loading_text="One moment…" empty_text="Be the first to comment"]
Guest comments and replies are saved as pending and can be moderated from the regular Comments screen. Users with the moderate_comments capability (Administrators and Editors) have their comments published immediately and shown in the list without a page reload.
Requirements
- WordPress 5.8 or newer
- PHP 7.4 or newer
- Elementor (only if you use the widgets — the shortcodes don’t need it)
Author: Iman Shadmehri. Website: https://elinweb.ir