Everything you need. Nothing you don’t.
Over 10 distinct features and integrations, out of the box.
Beautiful Poll Display
Engage your visitors with beautifully styled polls that adapt to your theme. Choose between the clean default theme or the modern theme with smooth animations. Results update in real-time with eye-catching progress bars, and you can customize colors to match your brand perfectly.
Intuitive Admin Management
Manage all your polls from a centralized admin interface powered by Flex Objects. Create polls with multiple answers, set voting restrictions, and monitor results instantly. The streamlined interface makes it easy to create engaging polls in seconds.
Frequently Asked Questions
The most commonly asked questions about the Polls plugin
Can I create multiple polls on my site?
Yes! You can create unlimited polls and embed them anywhere on your site using shortcodes. Each poll is managed independently with its own voting data and configuration options.
How are votes stored and tracked?
Votes are securely stored in an SQLite database through the Database plugin. The plugin tracks votes by IP address and/or session to prevent duplicate voting, ensuring accurate results.
Can I customize the appearance of polls?
Absolutely! The plugin includes two built-in themes (default and modern) and supports complete customization through CSS variables. You can also override the Twig templates for total control over the HTML structure.
Does the plugin work with Grav's caching system?
Yes and no, it works with Global Grav cache, but you will need to disable caching on the page where the poll is embedded. The plugin uses AJAX to handle voting, which requires dynamic content updates that caching would interfere with.
Can users select multiple answers in a poll?
Yes! You can configure each poll to allow single or multiple selections. Set minimum and maximum answer requirements, and optionally display hints to guide users on how many selections they can make.
How do I embed a poll in my content?
Simply use the shortcode [poll id="your-poll-id" /] in any page or post. You can add parameters like theme="modern" or readonly="true" to customize each poll instance individually.
Can I display only the results without allowing new votes?
Yes, use the readonly parameter in your shortcode: [poll id="your-poll-id" readonly="true" /]. This is perfect for displaying final results of completed polls or surveys.
What voting restrictions are available?
The plugin offers two restriction methods: IP-based (one vote per IP address) and session-based (one vote per browser session). You can enable both, either, or neither depending on your needs.
Is there a way to schedule when a poll is active?
Yes! You can set start and end dates for each poll. Before the start date, users will see a countdown timer. After the end date, voting will be disabled and you can choose to display the results.
Can I hide results from users?
Yes, you can configure each poll to hide results from users until the poll has ended. This is useful for keeping results confidential during the voting period. You can also choose to show or hide results after the poll is closed.