| 开发者 | astrowayteam |
|---|---|
| 更新时间 | 2026年7月30日 07:50 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | MIT |
| 版权网址: | 版权信息 |
/wp-content/plugins/.[astroway_natal date="1990-05-15" time="14:30" lat="50.45" lon="30.52"].Yes. The plugin is free and open source, and the core widgets work with no account, no API key, and no credit card. They render in anonymous mode (30 requests/hour per visitor IP), which is plenty for most blogs and small sites. If you need higher limits, a free API key (still no card) gives you 10,000 calls/month. Paid plans are optional and only unlock advanced Pro widgets; anything you have already added keeps working.
Drop a shortcode into any page or post, for example [astroway_natal date="1990-05-15" time="14:30" lat="50.45" lon="30.52"] for a natal (birth) chart, or [astroway_daily_horoscope sign="leo"] for a daily horoscope. Every widget is also a Gutenberg block: Natal Chart, Daily Horoscope, Moon Phase, Human Design Bodygraph, Daily Tarot, Vedic Kundli, Transit Sky, Daily Panchang, Numerology and Synastry.
No. The plugin works without a key in anonymous mode (30 requests/hour per visitor IP). For higher limits and Pro features, get a free key at api.astroway.info.
Birth data (date, time, city, coordinates) for chart calculation. No data is stored on your site beyond standard WP caching.
Yes for the free anonymous tier. Paid API keys are bound to a single domain by default; you can change the bound domain self-service from the API dashboard at api.astroway.info/dashboard.
No personal data is stored on api.astroway.info. Birth data (date, time, city, lat/lon) is processed in-memory for chart calculation and the result is returned. The plugin caches results locally on your WordPress site (WP transients) to reduce repeat API calls; the cache contains chart output only, no PII beyond what was submitted via shortcode arguments.
For plugin issues: file an issue at https://github.com/astroway/astroway-wp-plugin/issues. For API or billing questions: contact support via your dashboard at api.astroway.info/dashboard.
lng and the timezone as a numeric UTC offset. The api had been receiving longitude 0 and UTC, so house cusps and the Ascendant were computed for the wrong location/time, charts are now correct. Existing blocks need no changes; just upgrade.astroway-elementor addon plugin (planned ~Aug 2026) will provide advanced controls + animations.[astroway_fortune_cookie] shows a daily AI-generated cosmic quote via /v1/embed/fortune-cookie. Anonymous-accessible, sign-aware (optional sign param).[astroway_today_in_sky] accepts show_planetary_hour (default 0) + lat, lon, tz parameters. When enabled, the widget pulls today's planetary hour mapping for the supplied location.[astroway_today_in_sky] accepts show_retrograde parameter (default 1), toggles the Mercury retrograde indicator section. SEO-friendly viral content for retrograde periods.[astroway_today_in_sky] accepts show_signs parameter (default 1): toggles the Sun/Moon zodiac positions block. New sanitize_bool_flag() helper added as public static for addon reuse.[astroway_today_in_sky] renders the day's celestial overview via /v1/embed/today-in-sky. Anonymous-accessible (IP-rate-limited iframe).Tier::matrix() so addon-registered features appear automatically.Tier::render_upgrade_cta( $feature ) returns a styled CTA panel with feature label + upgrade button linking to api.astroway.info/dashboard/upgrade. Filterable via astroway_upgrade_cta_html for theme/addon customization.astroway_* shortcode is now wrapped with Tier::can( $feature ). Locked shortcodes render an inline "Pro feature" CTA. Behavior matches v0.7.2 block-side gating, v1 shortcodes remain anonymous-accessible.Tier::can( $feature ). Locked blocks render an inline "Pro feature" CTA instead of the widget. All v1 blocks remain accessible to anonymous users (matrix default); guards activate for v1.x+ Pro blocks.Tier::can( string $feature ): bool checks whether current tier can access a feature.Tier::matrix(): array returns feature → allowed tiers map, filterable via astroway_tier_matrix so addons can declare their own features.AstroWay\WPPlugin\Tier with Tier::current() resolving the user's plan from cached /v1/auth/keys/me response (30 min TTL). Returns anonymous/free/indie/starter/pro/business/internal.docs/addon-development.md documents the v0.6.x Addon Hooks API + AddonAPI reference + minimal working example.docs/example-addon/ shows shortcode registration + tier check + widget declaration.AstroWay\WPPlugin\AddonAPI: BC-locked stable surface for addon developers. Methods: register_widget(), current_tier(), api_base(), has_key(), cache_key(). Internal classes (RendererDecisions, ApiClient, Cache, Admin) remain unstable.astroway_widgets lets addons append entries to the widget registry without touching core. Useful for new shortcodes/blocks that map to api /v1/embed/* endpoints.astroway_register_blocks fires at end of Blocks::register_assets_and_blocks(). Addons hook here to call register_block_type() for their own astroway/* Gutenberg blocks.astroway_register_shortcodes fires at end of Shortcodes::register(). Addons hook here to call add_shortcode() for their own astroway_* shortcodes.astroway_init fires early in plugin boot, signalling addons that core classes are loaded and they can hook into upcoming registration actions.Cache-Control: no-cache + Pragma: no-cache headers, ensuring fresh response from astroway.info even if a transit cache sits between WP and the server.update.json.YahnisElsts/plugin-update-checker v5.6 library at includes/lib/plugin-update-checker/, autoloaded via load-v5p6.php. Foundation for v0.5.3 Channel B update hook.download_url field for paid tiers.lang attribute on all 5 shortcodes (e.g. [astroway_natal date="..." lang="ru"]), 21 api-supported localeslang= render in site default exactly as before