=== Dalmatian Dream Polls ===
Contributors: dddevelopment
Tags: poll, survey, voting, ajax, results
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.1
Stable tag: 2.0.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Professional poll management for high-traffic WordPress sites with real-time AJAX voting and REST API.

== Description ==

DD Polls is a production-ready poll system designed for news portals and high-traffic websites.

**Features:**

* Custom database tables (no post types)
* AJAX voting without page reload
* Real-time results with caching
* Admin dashboard with statistics
* Shortcodes: `[dd_poll]`, `[dd_poll_results]`, `[dd_poll_list]`
* WordPress widget support
* REST API at `/wp-json/ddpoll/v1/polls`
* CSV export and JSON import
* Anti-spam: rate limiting, IP throttling, nonce protection
* Multisite compatible
* Fully internationalized (English and Croatian included)

== Installation ==

1. Upload the `dd-polls` folder to `/wp-content/plugins/`
2. Activate the plugin through the 'Plugins' menu
3. Go to **Polls** in the admin menu to create your first poll
4. Embed using `[dd_poll id="1"]` shortcode

== Frequently Asked Questions ==

= Does this use WordPress posts? =

No. DD Polls uses dedicated database tables for optimal performance.

= Can guests vote? =

Yes. Guest votes are tracked via cookie, IP hash, and user agent hash.

== Shortcodes ==

* `[dd_poll id="123"]` — Display poll with voting form
* `[dd_poll_results id="123"]` — Display results only
* `[dd_poll_list]` — List all polls

== REST API ==

* `GET /wp-json/ddpoll/v1/polls`
* `GET /wp-json/ddpoll/v1/polls/{id}`
* `POST /wp-json/ddpoll/v1/polls/{id}/vote`

== Hooks ==

**Actions:** `dd_poll_created`, `dd_poll_vote_added`, `dd_poll_closed`

**Filters:** `dd_poll_output`, `dd_poll_vote_allowed`, `dd_poll_verify_captcha`

== Changelog ==

= 2.0.5 =
* Admin UI redesigned to match Dalmatian Dream product family.
* Added DD Polls branding/logo.
* Unified list/editor/results/settings components.
* No poll data or voting logic changed.

= 2.0.0 =
* Production release.
* Security and Plugin Check cleanup.


= 1.0.0 =
* Initial release
