=== StrixBox for Google Maps Reviews ===
Contributors: strixbox
Tags: google maps, reviews, testimonials, slider, widget
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Display Google Maps reviews on your site with configurable sliders and styles.

== Description ==

StrixBox for Google Maps Reviews is a WordPress plugin for integration with Google Maps reviews via StrixBox. It lets you add Google Maps reviews to your site. It offers multiple slider styles, color schemes, and full control over appearance.

**Features:**

* **Slider styles**: Minimal, Minimal + Header, Minimal 4
* **Color schemes**: Blue, green, red, purple, and custom
* **Connect place** via admin or popup
* **Caching** for faster loading
* **Responsive** on all devices
* **Shortcode**: `[strix_reviews]`
* In settings you can disable the "Powered by StrixBox" link in the connect-place widget popup.

**Shortcode parameters:**

* `place` - place name
* `style` - minimal, minimal-plus-header, minimal-4
* `color` - blue, green, red, purple, custom
* `width` / `height` - widget size
* `language` - reviews language (e.g. en, ru, de)
* `text_color` - dark (light backgrounds) or light (dark backgrounds)
* `show_connect` - show connect button

**Examples:**

`[strix_reviews]`
`[strix_reviews place="Your Business Name" style="minimal" color="blue"]`
`[strix_reviews place="Your Business" style="minimal" language="en" text_color="light"]`

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install via Plugins → Add New → Upload Plugin (zip).
2. Activate via Plugins in WordPress
3. Go to Strix Reviews in the admin menu to configure
4. Connect a place and choose a style
5. Use shortcode `[strix_reviews]` in pages or posts

**If you install from a zip:** Pack the archive so the main file path is `strix-google-maps/strix-google-maps.php` (one folder level). The zip root must be the folder `strix-google-maps` that *directly* contains `strix-google-maps.php`, `includes/`, `assets/`, etc. Do not zip in a way that produces `strix-google-maps/strix-google-maps/strix-google-maps.php`, or WordPress may show "The plugin does not have a valid header." Save the main plugin PHP file as UTF-8 **without BOM**.

== Frequently Asked Questions ==

= Do I need a Google API key? =

The plugin uses StrixBox API to fetch reviews. No API key is required in the plugin; StrixBox handles the connection.

= Can I customize the widget look? =

Yes. You can change color scheme, dimensions, slider style, and texts in the admin.

= Is there caching? =

Yes. Reviews are cached; cache duration is configurable in the admin.

= Does it work on mobile? =

Yes. All widgets are responsive.

== Screenshots ==

1. Reviews slider
2. Admin settings
3. Style picker

== Changelog ==

= 1.0.0 =
* Initial release
* Slider styles: Minimal, Minimal + Header, Minimal 4
* Color schemes and custom CSS/JS
* Place connection and caching
* Localization support

== Upgrade Notice ==

= 1.0.0 =
Initial release of StrixBox for Google Maps Reviews.

== Technical Requirements ==

* WordPress 5.0+
* PHP 7.4+

== Support ==

https://strixbox.com

== A Note for Reviewers ==

Thank you for reviewing this plugin.

**What it does:** StrixBox for Google Maps Reviews lets site owners display Google Maps reviews on their WordPress site. Users connect a place (business name or address) via the StrixBox API; the plugin then shows reviews in configurable sliders (shortcode `[strix_reviews]`). No Google API key is needed in the plugin — StrixBox handles the connection. The "Powered by StrixBox" link in the connect-place popup can be turned off in Settings (Text settings).

**First-time developer:** This is my first WordPress plugin. I have read the Plugin Handbook and FAQ, and I have done my best to follow all guidelines (security: escaping, sanitization, nonces; no trialware; optional "Powered by" link; admin notices only on plugin pages; GPL, etc.). I also ran the Plugin Check plugin and addressed the reported issues. I would be very grateful if you consider approving this plugin and I am happy to fix anything you suggest.

== Privacy ==

The plugin connects to StrixBox API to retrieve place and review data from Google Maps. It does not collect or store visitors’ personal data.
