Google Calendar Shortcode

Here is a simple way to add a Google Calendar to your WordPress page or post. Instead of trying to add an iFrame, this plugin will allow you to use a shortcode instead. Giving you a more reliable calendar.

The plugin can be downloaded here or you can view the files on gitHub

Once installed, just use the shortcode
[pydgooglecal account="[email protected]" width="800" height="600"]
Replacing “[email protected]” with your public Google Calendar account.

How it works

First we need to create the plugin and call in the one required file

Then we need to create the shortcode “pydgooglecal” and allow it to pull in some options

This plugin just covers the basic parameters, but you can add more options to fit your needs. Just remember to urlencode them before sending it into the iFrame.

Trackbacks

  1. [...] de Google insertado mediante el plugin Google Calendar Shortcode. Compartir Entrada publicada en la categoría General, con las etiquetas Google Calendar, por [...]

Speak Your Mind

Connect with Facebook

*