跳到内容

Event – Add to Calendar

v1.0.0

melonwebstudio · 2026年1月18日 上架

Add customizable "Add to Calendar" buttons to your WordPress site with support for Google Calendar, Outlook, Apple Calendar, and more.

正在使用
50+
评分
暂无
累计下载
734
最近更新
2026年1月19日
需要 WordPress 5.0+已测试到 6.9.12PHP 7.4+

贡献者

截图

Add to Calendar button on the frontend with dropdown menu
Add to Calendar button on the frontend with dropdown menu
Admin settings page - Documentation tab with shortcode examples
Admin settings page - Documentation tab with shortcode examples
Admin settings page - Settings tab with color customization
Admin settings page - Settings tab with color customization
Mobile responsive design showing dropdown menu
Mobile responsive design showing dropdown menu
Button color preview in admin settings
Button color preview in admin settings
Multiple calendar service options displayed
Multiple calendar service options displayed

Event – Add to Calendar is a powerful and user-friendly WordPress plugin that allows your website visitors to add events to their preferred calendar service with a single click. Perfect for event websites, business sites, webinars, workshops, and any site that promotes events. Everything you need to share your events, schedules, calendars, and appointments—so your audience can easily add them to their calendar and never miss an important moment.

Features

  • Multiple Calendar Services – Supports Google Calendar, Outlook, Office 365, Yahoo Calendar, and Apple Calendar (.ics)
  • Easy Implementation – Simple shortcode that can be added to any post, page, or widget
  • Fully Customizable – Configure event title, description, location, date/time, and timezone
  • Customizable Button Colors – Match your site’s design with custom button colors
  • Responsive Design – Beautiful dropdown menu that works perfectly on desktop and mobile devices
  • Accessible – Built with WCAG 2.1 accessibility standards (ARIA labels, keyboard navigation)
  • Secure – Includes nonce verification and proper input sanitization
  • Fast & Lightweight – No external dependencies or API calls
  • Translation Ready – Fully internationalized and ready for translations
  • Developer Friendly – Clean, well-documented code following WordPress coding standards
  • Admin Dashboard – Easy-to-use settings page with color picker and service toggles

Supported Calendar Services

  1. Google Calendar – Direct integration with Google Calendar
  2. Office 365 – Microsoft Office 365 Calendar integration
  3. Outlook.com – Outlook web calendar integration
  4. Yahoo Calendar – Yahoo Calendar integration
  5. Apple Calendar & Outlook Desktop – Universal .ics file download compatible with:
    • Apple Calendar (macOS/iOS)
    • Microsoft Outlook (Desktop application)
    • Mozilla Thunderbird
    • Any calendar application that supports .ics files

Use Cases

  • Event promotion and registration
  • Workshop and webinar scheduling
  • Business appointments and consultations
  • Community events and meetups
  • Educational sessions and classes
  • Conference and seminar scheduling
  • Online and in-person events
  • Product launches and sales events
  • Nonprofit fundraisers and galas
  • Sports events and tournaments

Privacy First

This plugin respects your privacy and your users’ privacy:

  • No tracking or analytics
  • No personal data collection
  • No cookies used
  • No external API calls
  • All processing happens on your server

Usage

Basic Usage

Add this shortcode to any post, page, or widget:

[evtcal_add_to_calendar]

Advanced Usage

Customize all event details:

[evtcal_add_to_calendar
    title="Annual Company Conference 2025"
    description="Join us for our biggest event of the year with industry leaders and networking opportunities."
    location="Grand Conference Center, New York, NY"
    start="2025-09-15 09:00:00"
    end="2025-09-15 17:00:00"
    timezone="America/New_York"
    label="Add to My Calendar"]

Shortcode Attributes

  • title – Event title (default: “My Event”)
  • description – Event description (default: “Join us for an amazing event”)
  • location – Event location (default: “Event Venue”)
  • start – Start date and time in format YYYY-MM-DD HH:MM:SS (default: “2025-11-15 10:00:00”)
  • end – End date and time in format YYYY-MM-DD HH:MM:SS (default: “2025-11-15 12:00:00”)
  • timezone – PHP timezone identifier (default: “America/Los_Angeles”)
  • label – Button text (default: “Add to Calendar”)

Timezone Examples

Use standard PHP timezone identifiers:

  • America/New_York – Eastern Time
  • America/Chicago – Central Time
  • America/Denver – Mountain Time
  • America/Los_Angeles – Pacific Time
  • America/Phoenix – Arizona Time
  • Europe/London – GMT/BST
  • Europe/Paris – CET/CEST
  • Asia/Tokyo – JST
  • Australia/Sydney – AEST/AEDT

View complete timezone list

PHP Usage

You can also use the shortcode in your PHP templates:

<?php echo do_shortcode('[evtcal_add_to_calendar]'); ?>

Or with dynamic content:

<?php
$event_shortcode = sprintf(
    '[evtcal_add_to_calendar title="%s" start="%s" end="%s"]',
    esc_attr($event_title),
    esc_attr($start_datetime),
    esc_attr($end_datetime)
);
echo do_shortcode($event_shortcode);
?><h3>Additional Information</h3>

Browser Compatibility

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)
  • Opera (latest)
  • Mobile browsers (iOS Safari, Chrome Mobile, Samsung Internet)

Technical Requirements

  • WordPress 5.0 or higher
  • PHP 7.4 or higher
  • Modern browser with JavaScript enabled

Credits

Developed by Melon Web Studio
Website: https://www.melonwebstudio.com

Support Our Development

If you find this plugin helpful, please consider:
* Leaving a 5-star review
* Sharing with friends and colleagues
* Supporting us via PayPal

Privacy Policy

Event – Add to Calendar does not:
* Track users
* Store personal information
* Use cookies
* Send data to external servers
* Collect analytics
* Require user registration

All calendar generation and downloads happen locally on your WordPress installation.

The plugin creates links to third-party calendar services only when users voluntarily choose to add events to their calendars.

Developer Information

Hooks & Filters

Currently, the plugin doesn’t expose custom hooks and filters, but they may be added in future versions based on user feedback.

File Structure

  • /assets/css/ – Stylesheet files
  • /assets/js/ – JavaScript files
  • /assets/images/ – Calendar service icons
  • /includes/ – PHP class files
  • /templates/ – Template files
  • /languages/ – Translation files

CSS Classes

  • .evtcal – Main container
  • .evtcal-btn – Calendar button
  • .evtcal-dropdown – Dropdown menu
  • .evtcal-arrow – Arrow icon
  • .evtcal.active – Active state

Contributing

We welcome contributions! Please contact us at support@melonwebstudio.com if you’d like to contribute to the development of this plugin.

Support

  • Documentation: https://www.melonwebstudio.com/docs
  • Email: support@melonwebstudio.com
  • WordPress Forum: https://wordpress.org/support/plugin/event-add-to-calendar/

Third Party Services

This plugin creates links to the following third-party calendar services when users choose to add events:

These links are opened in new tabs and the plugin does not send any data to these services. Users choose to add events to their calendars voluntarily. No API keys or authentication is required.

License

This plugin is licensed under GPLv2 or later.

Copyright 2025 Melon Web Studio

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums