=== Easy Reviews for Easy Digital Downloads by WPInterface ===
Contributors: wpinterface
Tags: easy digital downloads, edd, reviews, product reviews, star rating
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Star ratings and customer reviews for Easy Digital Downloads, with photos, verified buyers, review request emails and rich results.

== Description ==

Easy Reviews adds a reviews section to every Easy Digital Downloads product page and asks customers for a review after they buy.

Reviews are stored as WordPress comments on the download, so they stay in your database if you turn the plugin off, and work with WordPress's moderation, the disallowed words list and Akismet.

This plugin requires the free [Easy Digital Downloads](https://wordpress.org/plugins/easy-digital-downloads/) plugin.

= The reviews section =

* **Rating summary.** The average, a star breakdown you can click to filter, and how many reviewers recommend the product.
* **Customer photos.** A strip of review photos with a lightbox.
* **Filters and sorting.** By star rating and verified buyers; newest, oldest, highest and lowest rated. Pages and filters are plain links that search engines can follow, and load in place when JavaScript is on.
* **Review cards.** Title, stars, verified-buyer badge, photos, a "recommends this product" note and the store's reply.
* **Stars everywhere.** Under the title of product pages and in product grids: the [downloads] shortcode, the Easy Digital Downloads Downloads block, query loops and themes that use Easy Digital Downloads' card actions.

= The review form =

* Star rating, title, review text, a photo and "Would you recommend this product?".
* Reviewers choose how their name is shown: full name, first name and initial, or anonymous.
* Guests can review, or only logged-in customers, or only customers who bought the product.
* Verified-buyer badges from Easy Digital Downloads orders, by account or email address.
* Works without JavaScript. With JavaScript, reviews are sent in place, with errors next to each field and photo previews.
* Spam protection without a puzzle: a hidden field, a minimum time on the form, a rate limit, plus the disallowed words list and Akismet when it is active.
* Photos are made smaller and lose their camera and location data when uploaded.

= Review requests =

* One email a set number of days after an order is complete, with a link to review each product that is not reviewed yet. The link marks the review as verified, also for guest orders.
* Customers can stop the emails from a link in each one.
* A log of every request: due, sent, reviewed, skipped, failed or cancelled, with "Send now" and "Cancel".
* Uses Easy Digital Downloads' email template.

= For the store =

* A reviews manager under Downloads > Reviews: search, filter by status, rating and product, approve, hold, mark as spam, trash and reply.
* Moderation rules: hold every review, low ratings, reviews from people who did not buy, or reviews with photos.
* An email about every new review.
* A Rating column in the downloads list and a box to turn reviews off for one download.
* Import from the official Easy Digital Downloads Product Reviews extension and from CSV; export to CSV.
* Rating markup for search engines: the average rating and the newest reviews are added to the Product markup Easy Digital Downloads prints.
* Personal data export and erasure through WordPress's privacy tools, and suggested text for your privacy policy.

= Blocks and shortcodes =

* **Product Reviews** block and `[wpirv_reviews id="123"]` (add `form="no"` to leave out the form).
* **Rating Summary** block and `[wpirv_summary id="123"]`.
* **Product Rating** block and `[wpirv_rating id="123"]`, also inside query loops.
* **Latest Reviews** block and `[wpirv_reviews_list ids="12,15" number="6" min_rating="4"]`.
* **Store Rating** block and `[wpirv_store_rating]`.

On a product page the id can be left out.

= For developers =

Template tags `wpirv_reviews()` and `wpirv_rating()`, and filters and actions throughout, such as `wpirv_auto_section`, `wpirv_review_html`, `wpirv_query_args`, `wpirv_hold_review` and `wpirv_review_submitted`. The storefront script fires a `wpirv:loaded` event on `document` after it loads a page of reviews.

= More from WPInterface =

More free add-ons for Easy Digital Downloads from the same team:

* **[Wishlist for Easy Digital Downloads](https://wpinterface.com/plugins/wishlist-for-easy-digital-downloads/)**: let customers save downloads, share their list and add everything to the cart in one click.
* **[Compare Products for Easy Digital Downloads](https://wpinterface.com/plugins/compare-products-for-easy-digital-downloads/)**: let customers compare downloads side by side in a clear comparison table.
* **[Quick View for Easy Digital Downloads](https://wpinterface.com/plugins/quick-view-for-easy-digital-downloads/)**: let customers preview a download and add it to the cart without leaving the product grid.
* **[Product Badges for Easy Digital Downloads](https://wpinterface.com/plugins/product-badges-for-easy-digital-downloads/)**: add "New", "Free", "Bestseller" and your own badges to downloads, with automatic rules.

All WPInterface add-ons share one **WPInterface** menu in your dashboard, with an Essential Kit page that shows which add-ons you have and lets you activate them.

== Installation ==

1. Install and activate Easy Digital Downloads.
2. Install and activate this plugin.
3. Every product page now has a reviews section. Visit Downloads > Reviews > Settings to choose who can review, the moderation rules and the review request email.

== Frequently Asked Questions ==

= Will I lose my reviews if I deactivate the plugin? =

No. Reviews are WordPress comments of the type `wpirv_review` on each download, with their extras in comment meta. They come back when you activate the plugin again. Deleting the plugin removes them only if you tick "Delete all reviews" under Downloads > Reviews > Settings > Data.

= Where does the reviews section appear? =

At the end of the product description. Turn "Add the reviews section" off under Downloads > Reviews > Settings > Display to place it yourself with the Product Reviews block, the `[wpirv_reviews]` shortcode or the `wpirv_reviews()` template tag.

= Does it work with page caching? =

Yes. The form gets a fresh security token when it is sent, and pages with a form message are never cached.

= Do review request emails count as marketing? =

They are sent once per order, about a purchase the customer made, and every email has a link to stop them. Check the rules where you and your customers are. Review requests are off until you switch them on.

= Which cookies does it set? =

None.

= What is the WPInterface menu? =

Every WPInterface add-on adds the same **WPInterface** menu, shown once however many add-ons are active. Its Dashboard links to the settings of your active add-ons, and its Essential Kit lists all WPInterface add-ons for Easy Digital Downloads with their status. The list is part of the plugin: nothing is fetched from another site and nothing is tracked. The add-on's own settings stay under Downloads.

== Changelog ==

= 1.0.0 =
* Initial release.
