| 开发者 | astrotathya |
|---|---|
| 更新时间 | 2026年11月23日 01:23 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[astrotathya_panchang city="mumbai" type="panchang" lang="hi" theme="maroon" size="card"]city: city slug as in astrotathya.com/panchang/mumbai, for example mumbai, new-delhi, varanasi. It must be one of the cities your site key covers.type: panchang or festivals.lang: en, hi or auto (the site's language).theme: light, dark or maroon.size: card or banner.https://astrotathya.com/embed/panchang/{city} or https://astrotathya.com/embed/festivals/{city}, with the language, theme and size when they are not the defaults, and your site key as k. Nothing is loaded while no site key is set. The iframe is sandboxed and kept separate from your site; the plugin adds no script from AstroTathya to your pages. Pages without a widget load nothing from AstroTathya.https://astrotathya.com/api/widget-view with the host name of the page it is shown on (for example example.org, never the full address), and the city, widget type, size, theme and language. AstroTathya uses this only to count how many sites show the widget. The IP address of that request is used only for rate limiting and is not stored; no cookie is set.
AstroTathya terms of use: https://astrotathya.com/terms
AstroTathya privacy policy: https://astrotathya.com/privacy
Credit link
The widget shows its own small attribution inside the iframe. The plugin adds nothing else to your public pages. An optional text link ("panchang by AstroTathya", nofollow) under each widget is off by default and can be turned on in Settings > Panchang.
panchang-by-astrotathya folder to /wp-content/plugins/ and activate it.Type its slug in the block's "Or type a city slug" field, or use it in the shortcode, for example city="haridwar". Find the slug by searching for your city on astrotathya.com; it is the last part of the panchang page address. The city must also be covered by your site key: a key covers up to three cities, chosen when you get it.
Yes. Tithi, nakshatra, Rahu Kaal and festival dates are calculated for the chosen city and shown in its local time zone.
Times are calculated for your city's latitude, longitude and time zone, with the Lahiri ayanamsha and the day counted from sunrise to sunrise; that is our convention, the same as the panchang on astrotathya.com. Festival dates follow the rules for each festival (for example the tithi at sunrise, at midday or at night, as that festival requires). A local calendar made for another city, or one that follows a regional tradition, can differ by a day; the "Full panchang" link explains how each date was decided.
Yes. Set the language to Hindi, either for the whole site in Settings > Panchang or per block, widget or shortcode (lang="hi"). Translations of the plugin's own admin screens, Hindi included, come through translate.wordpress.org.
The iframe loads lazily, and only on pages that show a widget. The plugin adds no script or stylesheet to your pages.
The plugin adds no tracking. Visitors' browsers do contact astrotathya.com to show the widget; see "External services".
Yes. The widget is an iframe and needs no script on your page.
Any temple, community organisation, astrologer or other site that shows the panchang to its readers. Each site needs a free site key from https://astrotathya.com/panchang-widget, issued once you show the site is yours by adding a verification line to it. A key covers your site's address and up to three cities; up to 500 widget views a day, renewed yearly. For a temple TV screen, a site on Google Sites or larger needs, write to hello@astrotathya.com. The plugin is the embed code only: without a key it shows visitors nothing, and wp-admin shows an "Add your site key" notice.
The key was not accepted for that page: it is mistyped, it does not cover that city or that widget, or the page is on a site address the key was not issued for. Check the key under Settings > Panchang, or write to hello@astrotathya.com.