plugin-icon

Democracy Poll

Timur Kamaev yazdı·
WordPress polls plugin with multiple-choice, custom answers, cache compatibility, widgets, and shortcodes.
Puanlar
4.6
Sürüm
6.3.1
Aktif kurulumlar
7K
Son güncellenme
Jun 13, 2026

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

detay

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.

Usage

Widget

  1. Go to WP Admin Appearance Widgets and add the Democracy Poll widget
  2. Place it in a sidebar
  3. Configure settings
  4. Done

Template Code

In your theme file (e.g. sidebar.php), add:

<?php if ( function_exists( 'democracy_poll' ) ) { ?> <div class="sidebar-section"> <h2>Polls</h2> <div class="my-poll"> <?php democracy_poll(); ?> </div> </div> <?php } ?>
  • To show a specific poll: <?php democracy_poll( 3 ); ?> (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:

<?php democracy_archives( $hide_active, $before_title, $after_title ); ?>

Backward Compatibility Notes

6.1.0

  • CHG: Removed the DEM_VER constant; use DemocracyPoll\plugin()->ver instead.
  • CHG: Removed the DEMOC_URL constant; use DemocracyPoll\plugin()->url instead. Note that the trailing slash was removed.
  • CHG: Removed the DEMOC_PATH constant; use DemocracyPoll\plugin()->dir instead. Note that the trailing slash was removed.
  • CHG: Removed the DEMOC_MAIN_FILE constant.
  • CHG: Significantly refactored the DemPoll class. Some properties moved to the Poll_Renderer and Poll_Service classes.

6.0.4

  • Requires PHP 7.4+

6.0.0

  • Requires PHP 7.0+
  • If you used plugin classes directly in your code, you may need to update them to match the new class names
Ücretsiz(ücretli paketlerde)
Kurulum işlemini tamamlayarak, WordPress.com'un Hizmet Şartları ile Üçüncü Taraf Eklenti Şartlarını kabul etmiş olursunuz.
Test edilen son sürüm
WordPress 7.0
Bu eklenti, sitenizde kullanılmak üzere indirilebilir.