Cal.com

描述

Cal.com is an open-source alternative to Calendly that allows easy appointment booking and meeting scheduling.

This plugin enables you to:

  • Embed your Cal.com booking calendar inline, as a popup, or as a floating widget.
  • Customize UI with theme colors, layout, and event details visibility.
  • Pre-fill user information and add UTM tracking parameters.
  • Use the new admin widget customizer for real-time previews.

Watch Demo

Shortcodes

[cal url=”/username/meetingid” type=1]

Embed inline calendar.

[cal url=”/username/meetingid” type=2 text=”Schedule a call”]

Embed popup trigger button.

[cal_custom url=”/demo/30min” type=1 prefill=”true” utm=”source:localhost” ui='{“theme”:”dark”,”cssVarsPerTheme”:{“dark”:{“cal-brand”:”#a3ffcb”}},”hideEventTypeDetails”:true,”layout”:”week_view”}’ config='{“layout”:”week_view”,”useSlotsViewOnSmallScreen”:true,”disableMobileScroll”:true}’]

Embed customizable widget with full UI control, prefill, and UTM support.

Shortcode Attributes

  • url: URL of the booking calendar.
  • type: Embed type (1 = inline, 2 = popup, 3 = floating button for [cal_custom]).
  • text: Button text for popup embeds.
  • prefill: Set to true to prefill user info if available.
  • utm: Comma-separated UTM tracking parameters (e.g., source:newsletter, medium:email).
  • ui: JSON object for theme, layout, and visibility customization.
  • config: JSON object for advanced widget configuration (slots view, scrolling, etc.).

CSS Customization

Customize popup/button text via CSS targeting #calcom-embed-link:

#calcom-embed-link, .calcom-embed-link {
    background-color: #222222;
    padding: 15px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
}

Use of 3rd Party Software

This plugin relies on Cal.com embed. See their Privacy Policy and Terms of use.

屏幕截图

安装

  1. Install via the WordPress dashboard or upload the ZIP.
  2. Activate the plugin.
  3. Use the [cal] or [cal_custom] shortcode in any page, post, or widget.

评价

2026 年 1 月 1 日
This hasn’t been tested for WordPress version 6.9 and it didn’t work when I installed it. I just got “Error Code: 404. Call Link seems to be wrong.” and couldn’t resolve the issue. I suggest trying another solution.
2022 年 11 月 21 日
If you haven’t heard of Cal.com, they’re a killer open-source alternative to Calendly (cal.com is a much better product design and UX wise, imo). They just launched a WP plugin for easy integration on your WordPress site. It definitely rocks and you should be using this plugin + product right away.
阅读所有2条评价

贡献者及开发者

「Cal.com」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Cal.com」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.1.0 – 26-03-2026

  • Script enqueue handle mismatch fix

2.0.0 – 21-03-2026

  • Added widget customizer to admin page
  • Introduced new shortcode [cal_custom]
  • Support prefill with logged-in user info
  • Support adding UTM parameters to shortcode
  • Security improvements
  • Ensured compatibility with lastest WordPress version

1.0.0 – 15-11-2022

  • Initial release
  • Supports inline & popup embed types