Linux 软件免费装

Aindram Vedic Calendar

开发者 aindram
更新时间 2026年11月12日 13:53
PHP版本: 7.2 及以上
WordPress版本: 7.1
版权: GPL-2.0-only
版权网址: 版权信息

标签

calendar panchang vedic kerala malayalam

下载

1.0.0 1.1.0

详情介绍:

Under the date your theme already shows on a post or page, Aindram Vedic Calendar adds a second line with the same day in the Vedic calendar:
November 3, 2026 Tula 17, KaliYuga 5127
It works with block themes and classic themes, with no setup. Choose the post types and the wording in Settings > Aindram Vedic Calendar. You can also link the date to this plugin's page, so a reader who wonders what it is can find out; that is off unless you turn it on. How the date is reckoned A solar month begins when the Sun enters a sidereal sign, its sankranti. The plugin computes the Sun's position with the VSOP87 planetary theory and the Lahiri (Chitrapaksha) ayanamsa, the standard of the Indian national ephemeris. Kerala's rule then fixes the first day of the month. The daytime, sunrise to sunset, is divided into five parts. If the sankranti falls within the first three, the month begins that day; otherwise it begins the next day. Sunrise and sunset are taken at Thiruvananthapuram. Accuracy Every month start from 1900 to 2600, 8,409 of them, was checked against Swiss Ephemeris with the same rule: all fall on the same day. Sankranti times agree within 4 seconds, and the first-day cut-off within half a second. The month starts also match the Malayalam calendar Kerala Tourism publishes for 2024-25. Dates centuries ahead depend on how much the Earth's rotation will have slowed, which nobody can know. The plugin uses the same forecast as Swiss Ephemeris, so its future dates agree with almanacs built on it. Almanacs that use a different ayanamsa or their own reckoning of sunrise can differ by a day when a sankranti falls within minutes of the cut-off. Privacy The plugin sends nothing anywhere and stores nothing but its two settings. The dates are worked out on your server.

安装:

  1. Upload the aindram-vedic-calendar folder to /wp-content/plugins/, or install the zip from Plugins > Add New > Upload Plugin.
  2. Activate it.
  3. Optionally, visit Settings > Aindram Vedic Calendar to choose the post types and the format.

常见问题:

My theme shows the date somewhere the line does not appear

The line is added where the theme asks WordPress for a post's date inside the list of posts. A theme that builds its date some other way, or prints it outside that list, will not get it. Put [aindram_vedic_date] where you want it, or call aindram_vedic_calendar_date() in a template.

Can I show the Vedic date of another day?

[aindram_vedic_date date="today"] shows today's. [aindram_vedic_date date="2026-04-14"] shows that day's.

Can I change the words?

Settings > Aindram Vedic Calendar has a format field: {month}, {day} and {year} stand for the month, the day of the month and the KaliYuga year. The month names can be translated like any other text in the plugin. Developers can rewrite the whole line with the aindram_vedic_calendar_label filter.

Can sunrise be taken somewhere other than Thiruvananthapuram?

Yes, with the aindram_vedic_calendar_location filter, which takes an array with latitude and longitude. Anywhere in Kerala gives the same months on all but the rarest days.

Does it add links to my site?

Not unless you choose to. Settings > Aindram Vedic Calendar has a Link option, off by default. When it is on, the Vedic date links to this plugin's page on WordPress.org, opening in a new tab. Where your theme already makes the date a link to the post, the theme's link is kept and the Vedic date is not linked. Developers can point the link elsewhere with the aindram_vedic_calendar_link filter.

Does it work with caching plugins?

Yes. The line is part of the page HTML, so a cached page carries it.

更新日志:

1.1.0 1.0.0