Google Calendar Widget & Short Code

Plugin Banner

Google Calendar Widget & Short Code

by Casey Bisson

Download
Description

Allows you to display Google Calendar content in widgets or embed it in pages or posts.

Get your Google Calendar embed code and paste it into a post or page. When you save the post or page, WPgcal will convert the iframe into a shortcode that displays the calendar. Or, paste the embed code into the widget and put it into a sidebar.

For security reasons, this plugin does not allow users to post content in iframes and does not require that your site allow iframes in post content. It detects the Google Calendar iframe embed code, parses it, and rewrites it as a shortcode.

  1. Place the plugin folder in your wp-content/plugins/ directory and activate it.
  1. Adding a calendar via the WPgcal widget.

    Adding a calendar via the WPgcal widget.

  2. Getting the embed code for a Google Calendar

    Getting the embed code for a Google Calendar

  3. The WPgcal widget displayed

    The WPgcal widget displayed

  4. Pasting the Google Calendar embed iframe into a post.

    Pasting the Google Calendar embed iframe into a post.

  5. The shortcode generated from the embed code after the post is saved

    The shortcode generated from the embed code after the post is saved

  6. The Google Calendar displayed in a post

    The Google Calendar displayed in a post

Back to top