| 开发者 | rsmith4321 |
|---|---|
| 更新时间 | 2026年11月28日 01:54 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.2 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
No. You can also paste ShootCal's script snippet into a suitable Custom HTML or Embed block. The plugin adds an ID field, a dedicated block, shortcode support, and optional rendering of other iCal feeds.
Yes. Paste it into the ShootCal calendar ID field. The plugin accepts the official ShootCal iframe src, embed.js data-src, and embed.js data-shootcal formats. Existing saved URL-based embeds remain supported. Booking-page IDs from a /book/ URL are different from calendar IDs and are not accepted as calendar embed references.
The local renderer expands common daily, weekly, monthly, and yearly recurrence rules, including intervals, counts, end dates, weekly weekdays, and excluded dates. Advanced rules such as the second Monday of each month fall back to their first occurrence. Check a representative range of dates before relying on an external feed for availability. Hosted ShootCal embeds use the calendar supplied by ShootCal.
Add a separate block or shortcode for each calendar. Each embedded ShootCal frame resizes independently. Calendars are displayed separately; merging feeds is not supported.
The plugin supplies narrow compatibility exclusions automatically, without changing saved optimizer settings or disabling optimization for other files:
/shootcal-web-calendar/assets/css/frontend.css for CSS and /shootcal-web-calendar/assets/js/, ShootCalWebCalendarFront, and api.shootcal.com/embed.js for scripts. FlyingPress accepts partial keywords in its exclusions. In NitroPack Excluded Resources, wrap a partial path or inline marker in * wildcards and leave Excluded Operations empty to exclude it from all optimization and loading changes. Keep ShootCal scripts out of W3 Total Cache's Defer Scripts inclusion list. Hosted ShootCal content has its own stylesheet inside the iframe.
Clear generated/used CSS and page/CDN caches once after updating so cached pages receive the new exclusions. Filter-supplied exclusions may not appear in saved settings fields. Explicit Script Manager rules that unload the plugin entirely remain under your control.
url - the plugin lifts out the embed and just displays your live calendar./shootcal-web-calendar/ to your optimizer's stylesheet exclusion list, which is the format Perfmatters and WP Rocket expect, and reminds you to clear/regenerate the used CSS and page cache afterward.<style> block, so the plugin no longer prints any inline <style>/<script> tags. No visual change.* { border: 0 }). They were previously stripped on such themes, leaving the grid and legend without their separating lines.ul / li / p rules could strip the footer's right padding, indent the legend, or add stray bullets. The box model for both is now locked the same way the toolbar and grid already were, while colors and fonts stay overridable.[shootcal_web_calendar] shortcode, so output is identical and there is no duplicate caching logic.X-WR-TIMEZONE. The feed's timezone now correctly wins over the saved fallback.