內容簡介
Democracy Poll 是一款直觀且強大的投票系統外掛,提供單選和多選投票功能,並允許訪客提交自訂答案。它支援多種投票設計,並可選擇限制投票給註冊用戶,適合各類網站使用。
【主要功能】
• 支援單選和多選投票
• 訪客可提交自訂答案
• 投票截止日期設定
• 可選擇限制註冊用戶投票
• 快速編輯投票功能
• 支援小工具顯示投票
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
This plugin provides an intuitive and powerful system for creating polls, with features such as:
Customizable single-choice and multiple-choice voting
Optional custom answers submitted by visitors
Poll end dates
Optional restriction of voting to registered users
Multiple poll designs
And more — see the changelog for details
Democracy Poll is compatible with major cache plugins, including W3 Total Cache, WP Super Cache, Wordfence, Quick Cache, and others.
Designed for ease of use and performance, it offers:
A “Quick Edit” button for admins, shown directly above a poll
A plugin menu in the admin toolbar
Inline poll CSS
Conditional JavaScript loading only when a poll is rendered
And more — check the changelog for details
More Info
Democracy Poll is a modern version of the original, well-regarded plugin by the same name. Andrew Sutherland introduced the original plugin in 2006, including the innovative ability for visitors to add their own answers. This version retains the name and core idea but has been completely rewritten.
Key features:
Create new polls
Cache plugin compatibility (e.g. W3 Total Cache, WP Super Cache)
Allow visitors to add their own answers
Multiple-choice voting support
Automatic poll closing after a specified end date
Display random polls
Restrict voting to registered users (optional)
Quick poll editing for administrators
Edit vote counts
Allow users to change their votes
Voter tracking via IP address, cookies, or WordPress user ID, with optional vote clearing
Embed polls in posts via [democracy] shortcode (visual editor button available)
Widget support (optional)
Admin bar menu for easy access (optional)
Load front-end assets only when a poll is rendered
Add custom notes under polls
Customize designs via CSS themes
Multisite support has been available since version 5.2.4.
Documentation
See the complete Democracy Poll documentation for setup instructions, user guides, shortcode reference, and developer integration points.
Usage
Widget
Go to WP Admin → Appearance → Widgets and add the Democracy Poll widget
Place it in a sidebar
Configure settings
Done
Template Code
In your theme file (e.g. sidebar.php), add:
To show a specific poll: (replace 3 with your poll ID)
To embed a specific poll in a post, use [democracy id="2"] shortcode.
To embed a random poll in a post, use [democracy] shortcode.
Poll Archive
To show the poll archive:
'
{question}
' ] ); ?>
