=== MyZodiac Daily Horoscope Widget ===
Contributors: myzodiac
Icon URI: https://example.com/placeholder-icon.png
Requires at least: 6.0
Tested up to: 6.7
Stable tag: 1.0.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Display a beautiful daily horoscope widget on any page or post using a simple shortcode.

== Description ==

MyZodiac Daily Horoscope Widget lets you embed a live daily horoscope card into any page, post, or widget area with a single shortcode: `[myzodiac_widget]`.

After activation, go to Tools → MyZodiac Widget and register your site with the MyZodiac API (myzodiac.app). The plugin stores an API token securely in your database. That token is never exposed to your visitors — all horoscope requests are proxied through your own WordPress REST API endpoint.

The widget provides a general daily horoscope for each zodiac sign and includes a small, non-intrusive MyZodiac attribution plus a link to a free personalized horoscope on MyZodiac.app. Personalized horoscopes may use birth date, birth time, birth location and current planetary transits for a more specific reading.

**Features:**

* One shortcode — `[myzodiac_widget]` — works anywhere.
* Supports all 12 zodiac signs with instant sign switching.
* Responsive design that adapts to any theme.
* Data is fetched server-side, keeping your API token private.
* Includes a small "Powered by MyZodiac" attribution.
* Includes a clear distinction between general zodiac horoscopes and personalized birth-chart horoscopes.
* Compatible with multisite networks.

**External Service — myzodiac.app**

This plugin communicates with the external service **myzodiac.app** to retrieve daily horoscope content.

* **What data is sent:** When you click "Register now" in *Tools → MyZodiac Widget*, your site's domain and (optionally) the admin email address on record in WordPress are sent to myzodiac.app to create an account and obtain an API token.
* **When data is sent:** Data is only sent during plugin registration and when a visitor requests a horoscope (the token and the requested zodiac sign are sent).
* **Outbound links:** The widget includes links to MyZodiac.app with UTM parameters so visits from the plugin can be attributed in analytics.
* **Service Terms of Use:** https://myzodiac.app/terms
* **Privacy Policy:** https://myzodiac.app/privacy

Please review the above policies before using this plugin if data privacy is a concern for your site.

== Installation ==

1. Upload the `myzodiac-widget` folder to the `/wp-content/plugins/` directory, or install the plugin through the WordPress plugin screen directly.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Go to **Tools → MyZodiac Widget** and click **Register now** to connect your site to the MyZodiac API.
4. Add the shortcode `[myzodiac_widget]` to any page or post where you want the horoscope to appear.

== Frequently Asked Questions ==

= Do I need to create an account on myzodiac.app? =

No. The plugin registers your site automatically when you click "Register now" in the admin panel. No separate account sign-up is required.

= Is the API token stored securely? =

Yes. The token is stored in your WordPress database via the Options API and is never output to the browser or exposed in page source.

= Does this plugin work on multisite? =

Yes. The plugin is network-aware and registers a Tools page both in network admin and in individual site admin.

= What happens to my data if I uninstall the plugin? =

When you delete the plugin through the WordPress admin, all options stored by this plugin (`myzodiac_api_token` and `myzodiac_widget_last_error`) are automatically removed from your database.

= Can I use the widget without the shortcode? =

Currently the shortcode `[myzodiac_widget]` is the recommended method. Block editor (Gutenberg) support is planned for a future version.

== Screenshots ==

1. The horoscope widget displayed on the front end of a site.
2. The plugin settings page in Tools → MyZodiac Widget.

== Changelog ==

= 1.0.1 =
* Added MyZodiac branding.
* Added general-horoscope disclosure.
* Added personalized horoscope CTA with UTM tracking.
* Improved conversion prompts without changing horoscope content.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.1 =
Adds improved branding and personalized horoscope CTA.

= 1.0.0 =
Initial release. No upgrade steps required.
