=== yezap Reviews – star ratings, photos and moderation ===
Contributors: yezap
Tags: reviews, testimonials, rating, woocommerce, schema
Requires at least: 5.0
Tested up to: 7.1
Requires PHP: 7.2
Stable tag: 1.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Customer reviews with star ratings and photos, moderation, owner replies, guest invitations and a rating badge. Reviews are SEO-friendly.

== Description ==

yezap adds a modern reviews block to your site: a review form with a 1–5 star rating and photos, a rating summary,
filters, "helpful" votes and replies from the site owner. Every review goes to moderation first — you decide what gets published.

* **Search engines see your reviews.** The plugin prints reviews right into the page HTML (not an iframe).
* **Shortcodes** `[yezap_reviews]` and `[yezap_badge]`, or automatic display under posts, pages and WooCommerce products.
* **Optional schema.org markup** (Product + AggregateRating) for rich results.
* **Verified reviews**: invite guests or customers by email; their reviews get a "Verified" badge.
* **WooCommerce invitations**: a review link is emailed automatically a few days after an order is completed.
* **QR code for tour guides**: a printable card that opens the review form.
* **Spam protection** without captchas, blocklist, data export (CSV/JSON).
* Moderation, replies, invitations and settings live in the yezap dashboard: https://yezap.com/account/

There is a free plan; paid plans add more sites, photos and features. See https://yezap.com/#pricing

== Installation ==

1. Install the plugin from Plugins → Add New (or upload the zip) and activate it.
2. Log in at https://yezap.com/account/ with your email (no passwords), add your site and copy the site key.
3. Open Settings → yezap, paste the key and choose where to show reviews — or put `[yezap_reviews]` where you want them.

== Frequently Asked Questions ==

= Do I need a yezap account? =

Yes. Reviews are stored and moderated in yezap. The free plan is enough to start.

= Where do I moderate reviews? =

You get an email for every new review with publish / reject / reply buttons, and the full list is in the yezap dashboard.

= Will reviews slow my site down? =

No. The plugin caches the reviews HTML in WordPress for 10 minutes and keeps the last good copy if yezap is unreachable.

= Which reviews does a page show? =

Each post or product has its own reviews, matched by its slug. Use `[yezap_reviews object="tour-1"]` to pick a specific one.

== External services ==

This plugin connects to the yezap service (https://yezap.com), which stores and displays the reviews. It is required for the plugin to work.

* **Showing reviews and the badge** — when a page with reviews is rendered, the plugin requests `https://yezap.com/v1/` with your site key
  and the review object (post slug or the `object` attribute). No visitor data is sent. Responses are cached for 10 minutes.
* **Review form and widget** — the plugin loads the script `https://yezap.com/w/yezap.js` and the stylesheet `https://yezap.com/w/yezap.css`
  in the visitor's browser. When a visitor submits a review, the form sends the review data they entered (name, rating, text, optional email
  and photos) and their IP address to yezap for moderation and spam protection. The email is never published.

* **Review invitations (WooCommerce, optional, off by default)** — when you turn them on and an order is marked Completed, the plugin sends
  the customer's billing email, first name, the order number and the product slug to `https://yezap.com/v1/` (with your secret key),
  so that yezap can email the customer a review link. Customers can unsubscribe from these emails with one click.

yezap terms of service: https://yezap.com/terms/
yezap privacy policy: https://yezap.com/privacy/

== Screenshots ==

1. Reviews block with rating summary, photos and an owner reply.
2. The review form with star rating and photo upload.
3. Moderation: publish, reject or reply in one click from the notification email (or Telegram).

== Changelog ==

= 1.2.0 =
* WooCommerce: optional automatic review invitations a set number of days after an order is completed (one per order).

= 1.1.3 =
* Questions & answers: guests ask about a tour or product, the answered questions are shown under the reviews (server-side output).

= 1.1.2 =
* "What guests loved": the best reviews as cards above the list (server-side output), new styles.

= 1.1.1 =
* Translated reviews: the original text is shown under "show original" (details/summary allowed in wp_kses).

= 1.1.0 =
* Markup from yezap is sanitized with wp_kses; schema.org markup is built locally.
* Styles are loaded with wp_enqueue_style.
* English interface, Russian translation included.

= 1.0.0 =
* First release.
