Linux 软件免费装

AstrologyAPI

开发者 vivekrt9
更新时间 2026年10月15日 14:26
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

horoscope astrology kundli panchang natal chart

下载

1.7.1

详情介绍:

The official AstrologyAPI.com plugin for WordPress (AstrologyAPI.com). Build a complete astrology website on any theme in minutes — no coding, no API integration work. Features Shortcodes [astrologyapi_horoscope] · [astrologyapi_kundli] · [astrologyapi_matchmaking] · [astrologyapi_kp] · [astrologyapi_lalkitab] · [astrologyapi_varshaphal] · [astrologyapi_panchang] · [astrologyapi_muhurta] · [astrologyapi_numerology] · [astrologyapi_natal] · [astrologyapi_solar_return] · [astrologyapi_synastry] · [astrologyapi_western_numerology] · [astrologyapi_moon_phase] · [astrologyapi_chinese] · [astrologyapi_tarot] · [astrologyapi_pdf_report] Every attribute is documented under Settings → AstrologyAPI → Shortcodes. Examples: [astrologyapi_horoscope sign="leo" period="weekly"] [astrologyapi_kundli sections="basic,chart,dasha" charts="D1,D9" pdf="yes" lang="hi"] [astrologyapi_pdf_report type="pro" product_id="123"]

安装:

  1. Install and activate the plugin.
  2. Go to Settings → AstrologyAPI → JSON API Settings and enter your User ID and API key (or access token) from your AstrologyAPI.com dashboard. Click Test connection. If your PDF plan has its own credentials, enter them under PDF API Settings.
  3. Add a block from the AstrologyAPI block category, or paste a shortcode into any page.
No account yet? Turn on Demo mode to try every feature with sample data.

屏幕截图:

  • Panchang in card style with the auspicious / inauspicious timeline.
  • Birth-details form in the Modern card style with day / month / year dropdowns.
  • A Hindi report: labels follow the report language.
  • Settings → AstrologyAPI.

升级注意事项:

1.7.1 Twelve PDF reports including Western natal, solar return, life forecast, synastry and compatibility; visitors can pick the PDF chart style; separate PDF API credentials and a reorganised settings screen; includes the 1.6.0 security hardening for forms, free and paid PDF reports. 1.6.0 Security hardening for forms, free and paid PDF reports. Recommended for all sites.

常见问题:

Do I need an AstrologyAPI.com account?

Yes. The plugin displays data from the AstrologyAPI.com service, which requires a paid plan. Demo mode lets you try everything with sample data first.

Will it work with my theme / page builder?

Yes. Shortcodes work in any theme, widget area or page builder (Elementor, Divi, Beaver Builder, etc.), and there is a native block for each feature.

How do I change the colours?

Pick an accent colour under Settings → AstrologyAPI → Display. Everything else inherits your theme. For deeper changes use the CSS variables on .aapi or copy a template into yourtheme/astrologyapi/.

How do I sell PDF reports?

Install WooCommerce, create a product, choose a report under Product data → General → AstrologyAPI report, then add [astrologyapi_pdf_report product_id="ID"] to a page. Turn off “Free PDF downloads” so reports can only be bought. Note: reports are generated when an order reaches Processing. With Cash on Delivery or bank transfer, set orders to Processing only after payment is received. Report links are hidden on unpaid, cancelled or refunded orders.

My site is behind Cloudflare or a proxy — are visitors rate-limited together?

The per-visitor limit uses the connecting IP address. If your site is behind Cloudflare or a reverse proxy, choose where the real visitor IP comes from under Settings → AstrologyAPI → Cache & limits → "Visitor IP comes from". Developers can also use the aapi_client_ip filter. You can raise or disable the limit on the same screen.

Can I keep my API key out of the database?

Yes — define AAPI_USER_ID, AAPI_API_KEY and/or AAPI_ACCESS_TOKEN in wp-config.php. For separate PDF API credentials use AAPI_PDF_USER_ID, AAPI_PDF_API_KEY and/or AAPI_PDF_ACCESS_TOKEN.

Can the labels be in Hindi or another Indian language?

Yes. Set the language in Settings → AstrologyAPI → Display (or per block / lang="hi" on a shortcode). Both the astrology data from the API and the plugin's own labels then use that language. Translations for Hindi, Marathi, Bengali, Tamil, Telugu, Malayalam and Kannada are included in the plugin's languages folder.

Does the plugin store visitors' personal data?

Only if you add email or phone fields to a form (Settings → AstrologyAPI → Forms). Those submissions are saved as private "Astro Leads" visible to administrators, together with the birth details entered. You can turn lead saving off, add a consent checkbox, export leads as CSV, and they are included in WordPress's Export/Erase Personal Data tools. When the plugin is deleted, settings and cached results are removed; leads are removed too if you tick "When the plugin is deleted" under Settings → Forms. Birth details are always sent to AstrologyAPI.com to calculate results (see External services).

更新日志:

1.7.1 1.7.0 1.6.2 1.6.1 1.6.0 1.5.1 1.5.0 1.4.1 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0