| 开发者 | vivekrt9 |
|---|---|
| 更新时间 | 2026年10月15日 14:26 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[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"]
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.
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.
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/.
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.
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.
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.
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.
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).
chart_choice="no".form_style).date_input). Configurable year range and 12/24-hour time.fields="email,phone,gender"), with required flags and an optional consent checkbox.button_text).