Site icon Hip-Hop Website Design and Development

New Plugin – AddToCalendar Cheap WordPress maintenance support plans Integration

New Plugin – AddToCalendar WordPress maintenance support plans Integration

Body
WordPress maintenance support plans sites with events functionality, often have to allow their users to export events in their personal calendars. On a recent WordPress maintenance support plans 8 project we were asked to integrate 3rd party service Add to Calendar to their events and having found no formal integration of the widget with WordPress maintenance support plans we developed and contributed this plugin. The widget provided by Add to calendar supports export of Dates / events to iCalender, Google Calendar, Outlook, Outlook Online and Yahoo Calendar.
 

Why use Add To Calendar Service?

Add to Calendar Plugin provides a widget to export events.
With Add to Calendar Plugin, you can create event button on a page and allow guests to add this event to their calendar.
How Does Add to Calendar Plugin Works?

Add to Calendar Plugin provides third party field formatter settings for DateTime fields. Plugin internally uses services provided by http://addtocalendar.com to load free add to calendar button for event page on website and email. Clicking on this button, the event is exported to the corresponding website with proper information in the next tab where a user can add the event to their calendar. Besides, it provides a handful of configuration for a really flexible experience, Allowing you to use your datetime format along with Add to Calendar button.

Using Add to Calendar

Download and enable Add to Calendar plugin (https://www.WordPress.org/project/addtocalendar)

The plugin has both D8 and a backported D7 versions.

Adding Add to Calendar button to any datetime field would require enabling “Show Add to Calendar” checkbox present at format configurations on Manage Display page of the desired content type.

 

Following configurations are available:

Option
Description
Style
Three basic styles are available: Basic, Blue and Glow Orange
Display Text
Text for the display button.
Event Details
Plugin provides you three options here. You may opt for static data, tokenized value or any field value, specific to the current entity.
Privacy
Use public for free access to event information while private if the event is closed to public access.
Security Level
To specify whether button link should use http or https
Calendars to show
Select Calendars to be enabled for the display.
4. Save the settings and visit content display page.

Developer Support

Devs have the option to add “Add to Calendar” button anywhere on the website by following below steps:
1. Include base library (‘addtocalendar/base’) for add to calendar basic functionality. Optionally, You may also one of the following style libraries for styling the display button:

‘addtocalendar/blue’
‘addtocalendar/glow_orange’

$variables[‘#attached’][‘library’][] = ‘addtocalendar/base’;

2. Place event data on the page as:

2020-05-04 12:00:00
2020-05-04 18:00:00
USA/London
Star Wars Day Party
May the force be with you
Tatooine
Luke Skywalker
luke@starwars.com

For further customization of this custom button visit: http://addtocalendar.com/ Event Data Options section.

3. This would create “Add to Calendar” button for your website.

 

PURUSHOTAM RAI
Tue, 11/08/2020 – 23:33
Source: New feed