
Single vote view
This plugin provides an intuitive and powerful system for creating polls, with features such as:
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:
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:
[democracy] shortcode (visual editor button available)Multisite support has been available since version 5.2.4.
WP Admin Appearance Widgets and add the Democracy Poll widgetIn 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 } ?>
<?php democracy_poll( 3 ); ?> (replace 3 with your poll ID)[democracy id="2"] shortcode.[democracy] shortcode.To show the poll archive:
<?php democracy_archives( $hide_active, $before_title, $after_title ); ?>
DEM_VER constant; use DemocracyPoll\plugin()->ver instead.DEMOC_URL constant; use DemocracyPoll\plugin()->url instead. Note that the trailing slash was removed.DEMOC_PATH constant; use DemocracyPoll\plugin()->dir instead. Note that the trailing slash was removed.DEMOC_MAIN_FILE constant.DemPoll class. Some properties moved to the Poll_Renderer and Poll_Service classes.