| 开发者 | beaconevents |
|---|---|
| 更新时间 | 2026年11月28日 01:44 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.2 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
In Google Calendar on a computer, open Settings, click your calendar under "Settings for my calendars", and under "Access permissions for events" tick "Make available to public". Then copy "Public address in iCal format" under "Integrate calendar". A share link (calendar.google.com/calendar/embed?src=…) works too: the block turns it into the iCal address. The secret address works as well, but anyone who can see the page's settings could read it, so the public one is better.
In Outlook on the web: Settings → Calendar → Shared calendars → Publish a calendar. Pick the calendar, choose "Can view all details", publish, and copy the ICS link.
In Calendar, share the calendar and tick "Public Calendar", then copy the link (it starts with webcal://). Paste it as it is.
The block reads the calendar at most once an hour, so a change can take up to an hour to appear. Google itself can take a while to update its public feed after you edit an event.
Daily, weekly (on one or several days), monthly on a date or on a weekday position ("second Tuesday", "last Friday", "first and third Friday"), yearly, every N days/weeks/months, a number of times or until a date, skipped dates, and moved or cancelled single dates. A rule outside that (for example several times a day by hour) shows its first date rather than guessing.
Your site's time zone (Settings → General). An all-day event stays on its date wherever the site is. If you switch on "Show times in the visitor's time zone", a visitor whose clock is in another zone sees each time converted, with the zone's name, and a line saying so. The month grid keeps each event on its day in your site's calendar; when the visitor's time falls on another day, the cell says which ("Wed 10:30 AM").
Yes, up to five. In the block's sidebar, click "Add another calendar", paste its address, and pick a colour. Give each one a name and a key appears above the events. If one calendar can't be read, the others still show (and people who can edit the page are told which one failed).
Yes. The hour-long copy is a transient, which a persistent object cache may drop early; that only means the calendar is read again a bit sooner. The last good copy is stored as a normal (not autoloaded) option, so a cache flush can't remove it, and it is shown for up to 30 days while the calendar address doesn't answer.
No. Your server reads the calendar address and keeps a copy for an hour. Visitors' browsers load nothing from the calendar host.
No. Everything is in the block's sidebar, so each block can show a different calendar.