內容簡介
Simple Google Calendar Outlook Events Widget 是一款簡單的區塊或小工具,能夠從公開的 Google 日曆或 Microsoft Office Outlook 日曆中提取活動,並以符合網站風格的方式顯示,提供靈活的 CSS 調整選項。
【主要功能】
• 顯示公開 Google 日曆或 iCal 文件的活動
• 支援多個日曆合併為一個區塊
• 可自訂顯示格式與樣式
• 支援常見的重複事件顯示
• 提供事件詳情的切換顯示
• 依據時區顯示事件時間
外掛標籤
開發者團隊
② 後台搜尋「Simple Google Calendar Outlook Events Widget」→ 直接安裝(推薦)
原文外掛簡介
Simple block or widget to display events from a public google calendar, microsoft office outlook calendar or an other iCal file, in the style of your website.
The Gutenberg block requires at least WordPress 5.9.
This simple block/widget fetches events from a public google calendar (or other calendar in iCal format) and displays them in simple list allowing you to fully adapt to your website by applying all kinds of CSS.
Google offers some HTML snippets to embed your public Google Calendar into your website.
These are great, but as soon as you want to make a few adjustments to the styling, that goes beyond changing some colors, they’re not enough.
Plugin Features
Calendar block or widget to display appointments/events of a public Google calendar or other iCal file.
Block gives live preview in the editor and is not constrained to widget area. Old widget will be displayed in legacy widget block only in widget area. Old widget works also with Elementor (with some limitations e.g. preview in backend editor is not always available).
Small footprint, uses only Google ID of the calendar, or ICS link for Outlook, or Url of iCal file, to get event information via iCal
Merge more calendars into one block
Manage events in Google Calendar, or other iCalendar source.
Fully adaptable to your website with CSS. Output in unordered list with Bootstrap 4 listgroup classes and toggle for details.
Choose date / time format in settings screen that best suits your website.
Displays per event DTSTART, DTEND, SUMMARY, LOCATION and DESCRIPTION. DTSTART is required other components are optional.
Displays most common repeating events. Frequency Yearly, Monthly, Weekly, Dayly (not Hourly, Minutely and smaller periods)
Basic support for filter on Categories Warning: MS Outlook does not share categories via iCal now. Google and iCloud calendar don’t support categories at all. So this will not work with these calendars.
In the screenshot below: Left the block with default settings and clicked on one summary. Right with some adjusted settings.
Adjusted settings for start with summary:
Lay-out: Start with summary.
Date format first line: “.<\b\r>l jS \o\f F”
Enddate format first line: ” – l jS \o\f F”
Time format time summary line: ” G:i”
Time format end time summary line: ” – G:i”
Time format start time: “”
Time format end time: “”
Tag for summary: “strong”
Documentation
Gets calendar events via iCal url or google calendar ID
Merge more calendars into one block
Displays maximum the selected number of events as listgroup-items
Displays only events in a selected period with a length of the setting “Number of days after today with events” from now limited by the time of the day or the beginning of the day at the start and the and of the at the end.
Displays events in timezone of WordPress setting, or in Clients timezone with javascript REST call fetched from the clients browser.
Displays event start-date and summary; toggle details, description, start-, end-time, location.
Displays most common repeating events
Frequency Yearly, Monthly, Weekly, Dayly (not parsed Hourly, Minutely …), INTERVAL (default 1), WKST (default MO)
End of repeating by COUNT or UNTIL
By day month, monthday or setpos (BYDAY, BYMONTH, BYMONTHDAY, BYSETPOS) no other by…
(not parsed: BYWEEKNO, BYYEARDAY, BYHOUR, BYMINUTE, RDATE)
Exclude events on EXDATE from recurrence set (after evaluating BYSETPOS)
Respects Timezone and Day Light Saving time. Build and tested with Iana timezones as used in php, Google, and Apple now also tested with Microsoft timezones and unknown timezones. For unknown timezone-names using the default timezone of WordPress (probably the local timezone).
(This widget is a Fork of version 0.7 of that simple google calendar widget by NBoehr
https://nl.wordpress.org/plugins/simple-google-calendar-widget/)
Copyright and License
This project is licensed under the GNU GPL, version 2 or later.
2017 – 2023 © Bram Waasdorp.
