[WordPress] 外掛分享: wordpressAjaxComments

前言介紹

  • 這款 WordPress 外掛「wordpressAjaxComments」是 2015-11-03 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2015-11-04,距離現在已有 3469 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.3.0 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

heiglandreas |

外掛標籤

ajax | comment | comments | inline error |

內容簡介

你是否曾經因為評論沒有即時響應訊息而感到煩惱?難道錯誤訊息總是出現在與表單內容毫無關聯的另一個頁面上嗎?

這個外掛就是解決方案。評論通過 AJAX 傳送,發生的錯誤將會直接在表單中以即時響應訊息方式顯示,您可自行設計錯誤訊息的樣式(如果您需要或想要的話),並且甚至可以在評論表單中新增自訂欄位,前提是必須透過 AJAX 評論回呼來驗證這些額外欄位。

此外掛和其他 Ajax 評論外掛有什麼不同?

此外掛使用了經過完全重寫的後端,並不使用預設的 WordPress 後端,即使它是基於 WordPress 的。此外掛將錯誤訊息直接顯示在發生錯誤的欄位上方,因此錯誤訊息就處於欄位的上下文中,使得錯誤訊息更加清楚明瞭。此外掛使用了 WordPress 核心所帶來的 AJAX 功能,因此不需要任何第三方庫。此外掛可以輕鬆處理表單中的自訂欄位。如果你想使用此外掛的錯誤顯示功能,你需要使用 wp_ajax_comment_validate_form 過濾器,如果要存儲這些元數據欄位,則需要實現 wp_ajax_comment_store_metadata-action 事件。如果在使用過程中遇到任何問題,請在 github 上的問題追蹤器上創建一個問題。

原文外掛簡介

Have you ever been annoyed that there are no inline-error messages for the comments? That the errors are displayed on a different page completely out of context?
Here\’s the answer. The comments are send via AJAX, errors that happen will be displayed inline in the form, you can style the error-messages yourself (if you want or have to) and it is even possible to add custom fields to the comment-form, provided the validation for those extra fields is done via the Ajax-Comments callback.
How is this plugin different from other Ajax-Comment-plugins?
This plugin uses a comletely rewritten backend and doesn\’t use the default wordpress-backend although it is based on that. This plugin displays the errors directly at the field they happened at. Therefore the error-messages are right in the context of the fields. This plugin uses the AJAX-functionality brought to you with the core wordpress, so there are no third-party libraries necessary This plugin can handle custom fields in the form without a problem. If you want to use the error-display-functions of the plugin you will have to use the wp_ajax_comment_validate_form-filter and for storing those metadata-fields you will need to implement the wp_ajax_comment_store_metadata-action. If you find any issues during the usage, feel free to create an issue on the issue tracker on github

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「wordpressAjaxComments」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon