=== AstroSolutions — AI Astrology Widgets ===
Contributors: theitboygeorge
Tags: astrology, horoscope, tarot, natal chart, numerology
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.2
Stable tag: 2.9.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI astrology widgets — horoscopes, tarot, natal charts, transits, numerology, compatibility and moon & rising — on your site, under your brand.

== Description ==

AstroSolutions adds beautiful, self-updating astrology widgets to any WordPress site. Every reading is written by AI from the real positions of the sky, calculated server-side — you just place a block or a shortcode.

**The seven tools**

* **Daily horoscope** — all 12 signs or a single sign; daily, weekly, monthly or yearly.
* **Natal chart** — birth-data form with a chart wheel and a warm AI reading.
* **Transit calendar** — a live, personalized feed of upcoming transits.
* **Tarot** — one- or three-card spreads from the full 78-card deck with AI meanings.
* **Numerology** — life-path and core numbers with interpretations.
* **Compatibility (synastry)** — two birth charts compared with an AI synastry reading.
* **Moon &amp; rising sign** — instant moon-sign and rising-sign calculators.

**How it works**

This plugin is a thin, always-up-to-date wrapper around the official AstroSolutions widget SDK — the same engine that powers the live demo and every other platform. New tools, designs and fixes reach your site automatically, with nothing to update by hand.

* Add widgets with the **AstroSolutions block** (point-and-click) or with **shortcodes** (Gutenberg, Elementor, classic editor).
* Set your theme, brand color, fonts, per-widget layouts and text size in the AstroSolutions menu; the AstroSolutions service applies them to your widgets according to your plan.
* The license is locked to your domain and validated automatically.

The daily horoscope works free without a license; the other six widgets need a paid AstroSolutions widget license. See https://astrosolutions.app/widgets

== External services ==

This plugin connects to the AstroSolutions service (https://astrosolutions.app), operated by AstroSolutions, to provide its astrology widgets. This connection is essential to the plugin's function.

**What is sent, and when:**

* **License activation & validation.** When you save a license key in the AstroSolutions menu, and periodically thereafter (cached, at most once every 6 hours), the plugin sends your **license key** and your **site domain** to the AstroSolutions API at `https://astrosolutions.app` (its license activation and validation endpoints) to activate and validate the license for this domain.
* **Widget rendering.** On the front end, only on pages that contain a widget, the plugin loads the official widget script from `https://astrosolutions.app/sdk.js`. That script then requests the astrology content for the widget (for example a horoscope, tarot draw or chart) directly from `https://astrosolutions.app`. Any data a visitor enters into a widget (such as a birth date, time and city for a natal chart) is sent to the AstroSolutions API to compute the result; birth data is not stored.

By using this plugin you agree to the AstroSolutions Terms of Service and Privacy Policy:

* Terms: https://astrosolutions.app/terms
* Privacy: https://astrosolutions.app/privacy

== Installation ==

1. In WordPress: Plugins → Add New → Upload Plugin, choose the .zip, Install, Activate.
2. Go to the AstroSolutions menu and paste your license key, then "Save & activate".
3. Add the **AstroSolutions** block to any page, or use a shortcode such as `[astro_daily_horoscope]`.

== Shortcodes ==

* `[astro_daily_horoscope sign="leo" period="weekly"]`
* `[astro_natal_form]`
* `[astro_transit_calendar days="30" limit="20"]`
* `[astro_tarot cards="3"]`
* `[astro_numerology]`
* `[astro_synastry]`
* `[astro_moon_sign]`
* `[astro_rising_sign]`
* Unified form: `[astrosolutions widget="tarot" cards="3"]`

Any widget also accepts `theme="dark"`, `accent="#7c5cff"`, `font="..."` and `size="small|medium|large"`. The AstroSolutions service applies them according to your plan.

== Frequently Asked Questions ==

= Do I need a license? =
The daily-horoscope widget shows a free live preview without any license. To unlock all seven widgets (tarot, natal chart, transits, numerology, compatibility, moon & rising) and AI readings, a paid annual AstroSolutions license is required. See https://astrosolutions.app/widgets

= Does one license cover every widget? =
Yes. Plans differ by customization (branding, dark mode, layouts) and monthly AI limits, not by which widgets you get.

= Will it slow down my site? =
No. The lightweight SDK loads only on pages that contain a widget, and readings are cached server-side.

= Does it work with Elementor and the classic editor? =
Yes. Use the AstroSolutions block in the editor, or paste any shortcode into Elementor, Gutenberg or the classic editor.

== Screenshots ==

1. Natal chart calculator — chart wheel, Ascendant, houses and a written AI reading.
2. Daily horoscopes for all twelve signs, in list, card or dropdown layouts.
3. Compatibility (synastry) — a match score, the cross-chart aspects and house overlays.
4. Tarot reading from the full 78-card deck — one or three-card spreads.
5. Numerology — Life Path and core numbers, each with an interpretation.

== Changelog ==

= 2.9.0 =
* Natal chart: selectable house system — Whole Sign or Placidus. Set the default in the AstroSolutions menu (or with `house_system="placidus"` on the shortcode); visitors can switch between the two live in the widget. The chart wheel now draws real house cusps and numbers.

= 2.8.3 =
* Moved the free-horoscope preview and license-notice styles out of inline output into the enqueued stylesheet (WordPress.org review: use wp_enqueue for all CSS).

= 2.8.2 =
* Added an upgrade panel (unlock all seven widgets) and a one-time review prompt after a week of use.

= 2.8.1 =
* Coding-standards pass for the WordPress.org directory: input sanitized with map_deep(), all scripts enqueued properly, consistent text domain.

= 2.8.0 =
* Removed all license-based gating of built-in options: theme, color, font, layout and size controls are always available; the external AstroSolutions service decides what it applies per plan (WordPress.org guideline compliance).

= 2.7.0 =
* Free daily-horoscope preview that works without a license, so the plugin is useful from the moment you install it.

= 2.6.0 =
* Per-widget text size (each widget can inherit the global size or set its own).
* Live preview of your settings in the Appearance tab.

= 2.5.0 =
* Full-width admin dashboard.
* New text-size control (Small / Medium / Large) that works on every plan.
* Reorganized Appearance into per-widget settings cards (layout, AI interpretation) plus global theme, color, font and size.

= 2.4.0 =
* New Dashboard tab with live usage stats: widget loads this month, AI readings used vs your plan's monthly limit, and a per-widget breakdown.
* The plugin now has its own top-level menu in the WordPress admin sidebar (no longer under Settings).

= 2.3.0 =
* WordPress.org release: documented the external AstroSolutions service, added the Moon & Rising sign widgets to the docs, and assorted compliance polish.

= 2.2.0 =
* Added Moon sign and Rising sign widgets; per-widget AI interpretation toggle; refreshed colors.

= 2.1.0 =
* Per-widget accent colors and layout defaults; block editor improvements.

= 2.0.0 =
* Complete rewrite around the official widget SDK — identical rendering to every other platform, updating automatically.
* New native Gutenberg block with an options sidebar for all widgets.
* Redesigned Settings: live license status (plan, domain, renewal, branding rights), Appearance defaults, and a Widgets & help reference.

== Upgrade Notice ==

= 2.3.0 =
Documentation and compliance update for the WordPress.org directory. No action needed.
