# Polls Block #
**Contributors:** [bhargavbhandari90](https://profiles.wordpress.org/bhargavbhandari90/)  
**Donate link:** https://www.paypal.me/BnB90/20  
**Tags:** block, polls, poll, voting, blocks  
**Requires at least:** 6.6  
**Tested up to:** 6.7  
**Stable tag:** 1.1.0  
**Requires PHP:** 7.4  
**License:** GPLv2 or later  
**License URI:** https://www.gnu.org/licenses/gpl-2.0.html  

Add interactive polls to WordPress. Engage visitors, gather feedback, and view results effortlessly.

## Description ##

Easily create and manage interactive polls directly within the WordPress Block Editor. This lightweight plugin allows you to add customizable polls to any post or page, enabling you to engage your audience and gather feedback effortlessly. With a user-friendly interface, you can design polls, set voting options, and view results in real-time. Perfect for bloggers, marketers, and community builders looking to boost interaction and gather insights. Simple to set up and fully responsive, the Polls Block seamlessly integrates into your WordPress site. Start engaging your visitors today!

## Installation ##

1. Upload the plugin files to the `/wp-content/plugins/polls-block` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Add/Edit post pr plugin and search "Polls" while searching a block

## Demo
https://github.com/user-attachments/assets/85466e48-01dd-4467-b94d-92152a6826af



## Prerequisites
- [Node/NPM](https://nodejs.org/en/download/)
- [NVM](https://github.com/nvm-sh/nvm)

## Development Setup
1. Go to plugin's root
2. Run `npm install`
5. To watch for changes, run `npm start`

## Development

To create a publish ready plugin, run:

	npm run build

To format code, run:

	npm run format


## Found a Bug? ##

If you find a bug, report here 
[https://github.com/BhargavBhandari90/polls-block/issues](https://github.com/BhargavBhandari90/polls-block/issues)

## Changelog ##

### 1.1.0 ###
* New Feature: Allow anonymous voting.

### 1.0.0 ###
* Initial Release.
