
內容簡介
Dadsoo Ajax Comment 外掛提供一個基於 AJAX 的評論系統,讓用戶可以在不重新載入頁面的情況下發表評論,並支持多層次的回覆功能,增強用戶互動體驗。
【主要功能】
• 無需重新載入頁面即可發表評論
• 支持最多三層的回覆嵌套
• 用戶可對評論進行喜歡或不喜歡的投票
• 即時發佈已登入用戶的評論
• 可配置的按鈕和狀態文字
• 支援 Elementor 小工具
外掛標籤
開發者團隊
原文外掛簡介
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_comments capability
✅ 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
