Integration of a google calendar
Make your calendar accessible to the public
For this to work, your calendar must be public. Go to your google calendar and tick the “Share this agenda” box in the parameters:

Tick this box
Plugin download
You can download wpng-calendar from http://code.google.com/p/wpng-calendar/. Unzip and transfer the archive’s contents as usual. Activate this new plugin by going into your extension list. A new menu, WPNG calendar plugin, should now appear in the Settings menu.
How to obtain a google data api key
Before proceeding further, you need to go to google in order to obtain a new API key. You get it at http://gd.google.com/html/signup.html and it will be associated with your blog’s domain, the one displaying your calendar. Make a note of it!
Back to the plugin
In the config page, enter the key in the first field.
Get the calendar’s address
Back again to your google calendar, to retrieve its RSS address:

Go to the calendar's paremeters menu

Save the link's target on the XML button
Copy the address in the “Google calendar Feed” field, in the plugin’s settings page, replacing the “basic” ending with “full”.
Integration in a widget
What’s left to do is to activate the widget. Choose the number of coming events that you want displayed in the widget:

Widget settings
A click on the event will cause its apparition in a lightbox.
Integration in a page
Create a new page and add a personalized field called show-wpng-calendar, where the value is the number of weeks to be displayed. The calendar will automatically display with the page, including arrows for navigation within the calendar, if you so desire.
wiki syntax
When you’re in google calendar, under events description, you can add “wiki” formatting such as those described at http://code.google.com/p/wpng-calendar/wiki/WikiFormatting. And if you tick the corresponding option in the plugin’s settings, these formatting will be displayed on your blog.
What’s next ?
In order to go one step further, there would need to be a plugin that publishes, from the blog, a calendar event ![]()
Suggestions de lecture
- Insérer une carte google maps (0.713)
- Widget flickr (0.600)
- Diaporamas avec WordPress Gallery Slideshow (0.578)
Spread this post over the world!
How did you like this post?
Please don't go without leaving a mark!
French










Hello,
Est-ce que quelqu’un sait si les événements publiés dans le calendrier affichés sur le site sont référencés par Google ?
Merci
Like or Dislike:
0
0
@Anthony
tant pis, merci en tout cas !
Like or Dislike:
0
0
Malheureusement non…on ne peut pas installer de plugins sur la version en ligne. Désolé !
Like or Dislike:
0
0
@Anthony
Ah, OK, merci beaucoup. En ce qui me concerne, je n’utilise pas la version téléchargeable de wordpress mais la plateforme de blog en ligne… Ca change tout? Cette manip est-elle valab7le quand même ou ou dois-je procéder autrement?
Like or Dislike:
0
0
@Gégé
Une fois l’archive du plugin téléchargée et décompressée sur votre ordi, il faut transférer son contenu par ftp dans le dossier de wordpress qui s’appelle wp-content/plugins/. Voir cet article
Like or Dislike:
0
0
Bonjour, génial, ce tuto. Néanmoins, c’est la première fois que je fais ce genre de manip et l’expression “transfèrerez le contenu de l’archive comme d’habitude” n’est pas du tout limpide pour moi. j’ai décompressé le dossier de wpng mais je ne sais pas quoi en faire : sélectionner tous les fichiers, les enregistrer quelque part? Comment activer l’extension ensuite? désolée, mais il me manque le détail sur cette étape là… un petit coup de pouce, please?
Like or Dislike:
0
0
merci pour cet article.
le top du top ce serait que ce plugin soit piloté via un simple champs personnalisée en bas de chaque article.
malheureusement je ne sais pas comment faire
Like or Dislike:
0
0
Merci
Ton article est tres clair
la plupart du temps les gens pensent que tout le monde a les connaissances pour comprendre leur jargon
Excellent travail de vulgarisation
Je suis débutant sur WordPress et ce genre d’article me manque pour activer le moindre plugin
Merci encore
Like or Dislike:
0
0