Home Français A propos Contact rss
WordPress from the beginning
Articles de fond, tests de plugins, modes d'emploi et astuces sur ce CMS

Integration of a google calendar

This plugin was developed by google themselves in order to display your "google calendar" in your wordpress blog...

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:

Cochez la case

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:

Allez dans le menu paramètres de l'agenda

Go to the calendar's paremeters menu

Enregistrez la cible du lien sur le bouton XML

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:

Réglages du 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 ;-)

Spread this post over the world!

Share/Bookmark

How did you like this post?

Please don't go without leaving a mark!
13 vote(s) 1 Etoile2 Etoiles3 Etoiles4 Etoiles5 Etoiles Loading ... Loading ...

Reactions

comments 14 comments
  1. gat
    September 9th, 2009 at 23:13

    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: Thumb up 0 Thumb down 0

  2. Gégé
    September 8th, 2009 at 18:19

    @Anthony
    tant pis, merci en tout cas !

    Like or Dislike: Thumb up 0 Thumb down 0

  3. September 8th, 2009 at 18:17

    Malheureusement non…on ne peut pas installer de plugins sur la version en ligne. Désolé !

    Like or Dislike: Thumb up 0 Thumb down 0

  4. Gégé
    September 8th, 2009 at 18:11

    @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: Thumb up 0 Thumb down 0

  5. September 8th, 2009 at 18:00

    @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: Thumb up 0 Thumb down 0

  6. Gégé
    September 8th, 2009 at 17:34

    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: Thumb up 0 Thumb down 0

  7. September 3rd, 2009 at 19:42

    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: Thumb up 0 Thumb down 0

  8. Stef.dance
    August 15th, 2009 at 23:23

    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: Thumb up 0 Thumb down 0

Top
Choisissez vos widgets

Plugin

How to add a plugin??

About this post

  • About this weblog

    "WordPress From the beginning" is written by a French web developer and teacher currently based in Switzerland.

    Originally planned in french, both blog and its functions were developped in this language. This explains why not all functions are available in the English version.

    However, new translated articles are regularly posted for use by the wordpress' web community.

Wordpress from the beginning is a production of Woodymood
Performance Optimization WordPress Plugins by W3 EDGE