WordPress plugin

The plugin adds the five widgets to WordPress and does the server's job for you, so no code is needed.

Download the plugin

Early version: we have tested the plugin's server code against a stand-in for WordPress, and the widgets in a browser. It has not yet run on a live WordPress site, so try it on a staging site first.

Set it up

  1. In WordPress, go to Plugins, Add New, Upload Plugin, and choose the zip.
  2. Activate it, then open Settings, AstroLogics.
  3. Paste a secret API key from your dashboard.
  4. Add a block from the AstroLogics group, or a shortcode, to any page.

Shortcodes

[astrologics_panchang lat="28.6139" lon="77.209"]
[astrologics_horoscope sign="leo" period="weekly"]
[astrologics_kundli]
[astrologics_match]
[astrologics_vastu]

Each also takes lang="hi". Without it, the site's language from the settings page applies.

Credits and limits

Visitors' calls spend your credits. Panchang, horoscope and place search results are cached for an hour, which saves credits. Each visitor's address may cause 60 calls an hour.

PDF reports

Turn on Let visitors download a PDF to add a download button, with your name, contact and colour from the settings page. Each PDF spends 10 credits and the page has no payment step, so leave it off unless you are happy to cover that.

Your visitors' details

Birth details go from your site to our API to get the answer. The plugin does not save them, and we do not keep them. Mention this in your own privacy policy, because your visitors are sending data through your site to ours.