=== Umbradev Post Rating ===
Contributors: umbradev
Tags: rating, post rating, stars, ajax, reviews
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.0
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Modern lightweight AJAX star rating plugin for WordPress posts with responsive UI, duplicate protection and Schema.org support.

== Description ==

Umbradev Post Rating allows visitors to rate your posts using a clean and lightweight 1–5 star rating system designed for modern WordPress websites.

The plugin focuses on simplicity, performance, responsive design, and easy integration while providing a polished user experience without unnecessary bloat.

Key features:

* Modern responsive star rating UI
* AJAX voting without page reload
* Displays average rating and total votes
* Duplicate-vote protection using hashed IP and browser storage
* Adjustable star size and alignment options
* Smooth hover animations and visual feedback
* Shortcode support with `[umbradev_post_rating]`
* Optional automatic insertion before or after post content
* Settings page under `Settings > Umbradev Post Rating`
* SEO-friendly structured data (AggregateRating)
* Translation-ready with the `umbradev-post-rating` text domain
* Lightweight and performance-friendly architecture

== Installation ==

1. Upload the `umbradev-post-rating` folder to `/wp-content/plugins/`
2. Activate the plugin from the Plugins screen
3. Go to `Settings > Umbradev Post Rating`
4. Use the shortcode `[umbradev_post_rating]` or enable automatic insertion

== FAQ ==

= How do I display the rating manually? =

Use the shortcode `[umbradev_post_rating]` inside your post content.

= Can I show ratings automatically? =

Yes. Enable auto-append in the settings and choose the display position.

= Can I customize the rating appearance? =

Yes. You can adjust the star size and alignment from the plugin settings.

= How does the plugin prevent duplicate votes? =

The plugin stores a hashed IP address (privacy-friendly) and also uses browser storage to reduce repeated voting attempts.

= Can I reset all ratings? =

Yes. A reset option is available in the settings page.

== Screenshots ==

1. Star rating displayed on a post
2. User selecting a rating
3. Rating submitted successfully
4. Duplicate vote protection message
5. Plugin settings page

== Changelog ==

= 1.0.2 =
* Added modern responsive UI improvements
* Added hover animations and visual polish
* Added customizable star sizes
* Added alignment options
* Improved frontend spacing and styling
* Added Plugin URI and Author URI
* General UX improvements

= 1.0.1 =
* Improved output escaping using wp_kses_post() to ensure safe rendering in filters and shortcodes
* Fixed JSON-LD output to use proper encoding without incorrect escaping
* Reviewed and improved output sanitization across the plugin

= 1.0.0 =
* Initial release