[WordPress] 外掛分享: SDAweb Calendar Sync for Google Calendar

首頁外掛目錄 › SDAweb Calendar Sync for Google Calendar
40+
安裝啟用
尚無評分
3 天前
最後更新
問題解決
WordPress 6.5+ PHP 7.4+ v0.13.4 上架:2026-05-14

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.13.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SDAweb Calendar Sync for Google Calendar」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

SDAweb Calendar Sync pulls events directly from the Google Calendar API and renders them on your site through a Gutenberg block, a shortcode, or a classic widget. All three share one render pipeline so output is identical regardless of how you insert a calendar.
Six views, one render pipeline

List / Agenda — chronological, optionally grouped by day, week, or month
Month grid — classic 7×6 calendar with multi-day event ribbons spanning across cells, today highlight (cell or whole-column style), optional ISO 8601 week-number column, and per-feed pastel chips
Card grid — upcoming events as styled cards, responsive
Week — 7 day columns, today highlighted
Day — single-day agenda
Mini-month — compact dot-density grid for sidebars and widgets, with a tap-to-expand event panel showing today + next upcoming events and a “Load more” button

All views share the same data layer, the same CSS-variable system, and the same accessibility baseline. Switch between them with one setting, or expose a visitor-facing view-toggle pill so visitors can switch themselves.
Smart UX out of the box

Hover popover on event chips (Month, Week, Mini) — a floating card with date, time, location, calendar, recurrence summary, and a click-through link. Desktop hover + keyboard focus only; touch users keep direct click-through.
Mobile auto-degrade Month → Mini — the full grid is hidden under ~600px and replaced with the compact Mini-month view; one wrapper, two layouts, no JS swap.
ICS subscribe dropdown — one-click hand-offs to Google Calendar (web), Apple Calendar / Outlook (webcal), Android Google Calendar app (intent), and Copy-link with toast confirmation. Mobile becomes a bottom sheet.
Live search + jump-to-date picker — optional chrome controls for visitors who want to filter or navigate quickly.
Multi-day event ribbons — week-spanning bars with arrow indicators when an event continues beyond the visible row.
Recurring event indicator — small ↻ icon with cadence summary in the tooltip (“Repeats weekly until 31 December 2026”).
Per-display locale override — render the calendar in a specific language (e.g. nb_NO) even when the site language is English.

Two authentication paths

API key — for calendars marked “Make available to public” in Google Calendar. One field, paste, done.
Service Account JSON — for private calendars without per-user OAuth. Upload the JSON, share the calendar with the service-account email, you’re set.

Credentials are encrypted at rest using a key derived from your site’s authentication salt. They are never echoed back into the admin UI — only the masked value and (for service accounts) the public service-account email are shown.
Theme-aware out of the box
The plugin reads your active theme’s theme.json color palette and uses your primary, accent, foreground, and background colors automatically. Per-display overrides let you set custom primary, accent, today-highlight, and link colors and force light/dark mode without touching code. Every design token is exposed as a CSS custom property so a developer can fully restyle the calendar from their theme stylesheet.
Five built-in theme presets
One-click coordinated colour bundles: Default (clean blue), Warm earth (cream + deep red), High contrast (solid black on white for AAA-stricter sites), Forest (deep green), Sunset (warm coral + amber).
Accessibility built in
WCAG 2.2 AA baseline with several AAA touches:

Live contrast warnings on every colour picker — the admin UI shows the WCAG ratio against both light and dark surfaces with pass/fail markers as you choose colours
Automatic high-contrast overlay via prefers-contrast: more
Focus-visible halo: a 4px white ring behind the primary outline so focus stays visible against any chip background
prefers-reduced-motion honored everywhere
ARIA roles and labels on the month grid, navigation, popovers, and view-toggle
Semantic HTML throughout
RTL-aware via CSS logical properties
Tabular numerals for day numbers and time labels so single- and double-digit values don’t drift

Built for the WordPress.org standard

Block editor first-class — server-side rendered, ServerSideRender preview, all the standard InspectorControls
Shortcode and classic widget on the same render pipeline
No bundled core libraries (no jQuery on front-end, no Guzzle, no Carbon, no Monolog)
No third-party authentication relay — your credentials only ever talk directly to googleapis.com
Translation ready via translate.wordpress.org once the plugin is published and indexed (no bundled .po/.mo — WordPress auto-loads locale files into wp-content/languages/plugins/ per the WP Plugin Handbook), plurals via _n(), JS strings via wp_localize_script
Free and GPLv2

For developers
Extension hooks are documented in docs/hooks.md inside the plugin folder. The first-release set includes filters for event data, event URLs, query args, cache TTL, render output, palette resolution, plus actions for refresh and uninstall lifecycle.
Third-Party Services
This plugin connects to the Google Calendar API to retrieve events from calendars you configure.

Service: Google Calendar API v3
Website: https://developers.google.com/calendar
Terms of Service: https://developers.google.com/terms
Privacy Policy: https://policies.google.com/privacy

Data sent: the calendar ID(s) you configure, plus either your API key or a JSON Web Token signed with your service account credentials. Event data is returned to your server and cached locally as WordPress transients. No event data is sent to any third party.
The ICS subscribe feature, when enabled, links visitors directly to Google’s public iCal feed (calendar.google.com/calendar/ical/.../public/basic.ics) — the plugin does not proxy or store that data.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon