[WordPress] 外掛分享: Simple Voting System Formally Fc Feedback

WordPress 外掛 Simple Voting System Formally Fc Feedback 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Simple Voting System Formally Fc Feedback」是 2024-05-08 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2024-06-24,距離現在已有 314 天。
  • 外掛最低要求 WordPress 5.0.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 8.0 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

adnanhyder |

外掛標籤

article | feedback | article vote | Simple Voting System |

內容簡介

**總結:**
SVSFc 反饋外掛實現了WordPress網站的簡單反饋系統。訪客可以通過點擊“是”或“否”來表達對文章的意見,該外掛可追蹤和顯示投票結果為平均百分比。主要功能包括:
- 提供“是”和“否”兩個按鈕進行投票。
- 每個投票給投票結果添加“積極”或“消極”計數。
- 投票結果以平均百分比顯示。
- AJAX請求,無需頁面重新加載提交投票。
- 訪客一旦投票,立即就能看到投票結果。
- 通過指紋(例如IP地址)防止訪客在同一文章上投票兩次。
- 自動在單篇文章結尾顯示投票功能。
- 響應式設計,兼容各種設備和屏幕尺寸。

**問題與答案:**

1. 什麼是SVSFc Feedback外掛的主要功能?
- 提供兩個按鈕進行投票:是和否。
- 投票添加“積極”或“消極”計數。
- 顯示投票結果為平均百分比。
- 通過AJAX請求提交投票,無需頁面重新加載。

2. 在前端訪客如何使用反饋功能?
- 在網站上查看單篇文章。
- 滾動到文章結尾找到反饋功能。
- 點選“是”或“否”按鈕提交你的投票。
- 投票後,你將看到當前的反饋結果以平均百分比顯示。

3. 後端管理員如何查看反饋結果?
- 編輯後台文章時,你會在元件小工具中看到反饋結果。
- 元件小工具顯示反饋的正面和負面百分比。

4. 使用svsfc_feedback_form Filter Hook可以做什麼?
- 可以讓開發者修改或擴展顯示在網站前端的反饋表單的HTML輸出。
- 可以通過此Filter Hook自定義反饋表單的外觀或功能。

5. 如何通過svsfc_feedback_form Filter Hook使用示例?
- 添加過濾器(add_filter)以調用該Filter Hook.
- 編寫customize_feedback_form函數,修改反饋表單的HTML代碼。
- 返回修改後的HTML代碼。

6. 如何通過使用svsfc_feedback_results Filter Hook自定義反饋結果?
- 可以讓開發者修改或擴展顯示在網站後台的反饋結果的HTML輸出。
- 類似於svsfc_feedback_form Hook,可以修改反饋結果的外觀或呈現方式。

7. 有任何問題或疑問如何聯繫SVSFc Feedback外掛的支持團隊?
- 請發送郵件到:[email protected] 與支持團隊聯繫。

原文外掛簡介

The SVSFc Feedback plugin implements a straightforward feedback system for WordPress websites.
It allows visitors to express their opinion on articles by voting with a Yes or No action. The plugin tracks and displays the voting results as an average percentage. Key features include:
Two buttons for voting: Yes and No.
Each vote adds a “Positive” or “Negative” count to the voting results.
Voting results are displayed as an average percentage.
Ajax request for submitting votes without page reload.
Once a visitor votes, they can see the voting results immediately.
Prevents visitors from voting twice on the same article using their fingerprint (e.g., IP address).
Automatically displays the voting feature at the end of single post articles.
Responsive design for compatibility across various devices and screen sizes.
Usage:
Frontend (Visitor Perspective):
Visit any single post article on your website.
Scroll to the end of the article to find the feedback feature.
Click on the “Yes” or “No” button to submit your vote.
After voting, you will see the current feedback results displayed as an average percentage.
The buttons will remain inactive, but your vote will be displayed.
Refreshing the page will retain the feedback results and your vote.
Backend (Admin Perspective):
When editing an article in the admin area, you will see the feedback results in a meta widget.
The meta widget displays the positive and negative percentage of feedback.
Hooks
Two custom filter hooks also provided by this plugin

svsfc_feedback_form Filter Hook:

This filter hook allows developers to modify or extend the HTML output of the feedback form displayed on the frontend of the website. When the svsfc_feedback_form filter hook is applied, it passes the HTML code of the feedback form ($voting_html) as a parameter. Developers can then manipulate this HTML code to customize the appearance or functionality of the feedback form according to their specific requirements.
Example usage:
add_filter('svsfc_feedback_form', 'customize_feedback_form');

function customize_feedback_form($voting_html) {
// Modify the HTML code of the feedback form here
$voting_html .= '

Custom content added to the feedback form.
';
return $voting_html;
}

In this example, the customize_feedback_form function adds custom content to the feedback form by appending it to the existing HTML code.

svsfc_feedback_results Filter Hook:

This filter hook allows developers to modify or extend the HTML output of the feedback results displayed on the admin side of the website. Similar to the svsfc_feedback_form hook, when the svsfc_feedback_results filter hook is applied, it passes the HTML code of the feedback results ($voting_html) as a parameter. Developers can then manipulate this HTML code to customize the appearance or presentation of the feedback results as needed.
Example usage:
add_filter('svsfc_feedback_results', 'customize_feedback_results');

function customize_feedback_results($voting_html) {
// Modify the HTML code of the feedback results here
$voting_html .= '

Custom content added to the feedback results.
';
return $voting_html;
}

In this example, the customize_feedback_results function adds custom content to the feedback results by appending it to the existing HTML code.
By utilizing these filter hooks, developers can easily tailor the feedback form and results to suit their specific design preferences or functionality requirements
If you encounter any issues or have questions about the SVSFc Feedback plugin, please reach out to our support team at [email protected]

各版本下載點

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

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


1.0.0 | trunk |

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

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon