| 1 |
=== iCalendrier === |
| 2 |
Contributors: bplace |
| 3 |
Tags: calendrier,ephemeride,calendar,calendario,kalender |
| 4 |
Requires at least: 6.6 |
| 5 |
Tested up to: 7.1 |
| 6 |
Requires PHP: 8.2 |
| 7 |
Stable tag: 2.0 |
| 8 |
License: GPLv2 or later |
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 10 |
|
| 11 |
Daily calendar widget and shortcode: day, week number, name day and moon phase, in 11 languages, with a modern or a classic layout. |
| 12 |
|
| 13 |
== Description == |
| 14 |
|
| 15 |
Simple plugin to display a calendar of the day on your WordPress site, as a widget or with the `[icalendrier]` shortcode: |
| 16 |
|
| 17 |
* day name |
| 18 |
* current week number |
| 19 |
* day number |
| 20 |
* month |
| 21 |
* namdeday |
| 22 |
* moon phase |
| 23 |
|
| 24 |
Three layouts: the modern one (same design as the widget on icalendrier.fr), and the two legacy ones (compact 175px, wide 300px). |
| 25 |
|
| 26 |
Shortcode example: `[icalendrier type="modern" language="fr" moonphases="on"]`. Attributes: `type` (modern, comp175, wide300), `language`, `timezone`, `showlink`, `moonphases`, `namedays`, `bgcolor`, `style`. |
| 27 |
|
| 28 |
Languages supported : |
| 29 |
|
| 30 |
* english (US and UK) |
| 31 |
* français |
| 32 |
* deutsch |
| 33 |
* italiano |
| 34 |
* español |
| 35 |
* português (Portugal and Brasil) |
| 36 |
* svenska |
| 37 |
* dansk |
| 38 |
* română |
| 39 |
|
| 40 |
More infos here : [https://icalendrier.fr/widget/wordpress-plugin#engsupport](https://icalendrier.fr/widget/wordpress-plugin#engsupport) |
| 41 |
|
| 42 |
--- |
| 43 |
|
| 44 |
Petit plugin simple qui vous permet d'afficher sur votre site ou blog Wordpress un éphéméride qui comprend : |
| 45 |
|
| 46 |
* le nom du jour |
| 47 |
* le numéro de semaine |
| 48 |
* le numéro du jour |
| 49 |
* le mois |
| 50 |
* la fête du jour |
| 51 |
* la phase de lune actuelle |
| 52 |
|
| 53 |
Plus d'infos ici : [https://icalendrier.fr/widget/wordpress-plugin](https://icalendrier.fr/widget/wordpress-plugin) |
| 54 |
|
| 55 |
== Installation == |
| 56 |
|
| 57 |
Install the plugin on the Wordpress administration, in the extensions menu, by selecting the zip file. |
| 58 |
You may also use the installation from the repository of course. |
| 59 |
|
| 60 |
Once installed and activated, go to Appearance > Widgets, you'll be able to edit these options : |
| 61 |
|
| 62 |
* layout (modern, compact or wide) |
| 63 |
* language |
| 64 |
* custom timezone |
| 65 |
* optional link to our website |
| 66 |
* moon phase on or off (modern layout) |
| 67 |
* name day on or off (name days are a Latin habit; Nordic sites usually hide them) |
| 68 |
* optional title before the widget |
| 69 |
* custom background color |
| 70 |
|
| 71 |
--- |
| 72 |
|
| 73 |
Installez le plugin dans l'administration Wordpress, section Extensions, en sélectionnant le fichier Zip. |
| 74 |
|
| 75 |
Une fois installé et activé, retrouvez le plugin dans Apparence > Widgets. Peu d'options existent, mais les voici : |
| 76 |
|
| 77 |
- le style : moderne (le même que le widget d'iCalendrier.fr), compact ou large |
| 78 |
- le réglage optionnel du fuseau horaire |
| 79 |
- l'affichage en option d'un lien vers iCalendrier.fr |
| 80 |
- la phase de lune, affichée ou non (style moderne) |
| 81 |
- la fête du jour, affichée ou non |
| 82 |
- un titre optionnel avant le widget |
| 83 |
- la couleur de fond du widget peut être modifiée |
| 84 |
|
| 85 |
== Frequently Asked Questions == |
| 86 |
|
| 87 |
= Can I use the shortcode in a post? = |
| 88 |
|
| 89 |
Yes: `[icalendrier]` renders the compact layout in English, `[icalendrier type="modern" language="de"]` the modern one in German. Language codes: fr, en (US), en-GB, es, pt, pt-BR, it, de, ro, sv, da. |
| 90 |
|
| 91 |
= The date is wrong by a day = |
| 92 |
|
| 93 |
The widget renders on the server. Set the `timezone` option (or attribute) to your zone, and check that your page cache refreshes daily. |
| 94 |
|
| 95 |
== Screenshots == |
| 96 |
|
| 97 |
1. Modern layout, French |
| 98 |
2. Modern layout, English |
| 99 |
3. Compact widget |
| 100 |
4. Wide widget |
| 101 |
5. Widget compact français |
| 102 |
6. Widget wide français |
| 103 |
|
| 104 |
== Credits == |
| 105 |
|
| 106 |
Moon phase computation: Solaris_MoonPhase by Samir Shah (rayofsolaris.net), MIT license, adapted from Moontool. |
| 107 |
|
| 108 |
== Changelog == |
| 109 |
|
| 110 |
= 1.0 = |
| 111 |
* Initial commit |
| 112 |
|
| 113 |
= 1.5 = |
| 114 |
* multilang supported |
| 115 |
* moved the code to lib files |
| 116 |
|
| 117 |
= 1.51 = |
| 118 |
* minor fix |
| 119 |
|
| 120 |
= 1.52 = |
| 121 |
* svn issue lol |
| 122 |
|
| 123 |
= 1.6 = |
| 124 |
* CSS tweaks |
| 125 |
* default values |
| 126 |
* default link |
| 127 |
* code format |
| 128 |
|
| 129 |
= 1.61 = |
| 130 |
* WP 5.4 compat |
| 131 |
* admin CSS tweak |
| 132 |
|
| 133 |
= 1.74 = |
| 134 |
* Fix broken CSS |
| 135 |
|
| 136 |
= 1.75 to 1.83 = |
| 137 |
* WordPress 5.5 to 6.6 compatibility |
| 138 |
* Shortcode fix |
| 139 |
* Background color fix |
| 140 |
* Optional title displayed again |
| 141 |
* XSS security fix |
| 142 |
|
| 143 |
= 2.0 = |
| 144 |
* New "modern" layout, same design as the widget on icalendrier.fr (moon phase can be switched off) |
| 145 |
* Name day can be switched off (widget option, shortcode attribute namedays="off") |
| 146 |
* New languages: svenska, dansk, English (UK); site-style codes such as fr-FR or en-US accepted |
| 147 |
* Shortcode attributes showlink, bgcolor and widgettitle now work (attribute names are case-insensitive) |
| 148 |
* "Display link" widget option now saves correctly |
| 149 |
* Timezone option no longer changes the site's global timezone; invalid zones fall back to the server default |
| 150 |
* Unknown layout falls back to the compact one |
| 151 |
* Site links use https |
| 152 |
* Requires PHP 8.2 and WordPress 6.6 |
| 153 |
* Automated test suite (unit + WordPress) |
| 154 |
|