這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Simple Google Calendar Widget

描述

Google offers some HTML snippets to embed your public Google Calendar into your website. These are great, but as soon as you want to make a few adjustments to the styling, that goes beyond changing some colors, they’re useless. Because of that I wrote a very simple widget, that fetches events from a public google calendar and nicely displays them in form of a widget, allowing you to apply all kinds of CSS. The source code should be quite easy to modify.

License

The plugin is published under the GPL v3. Previous versions (<= 0.2) did not
mention a license; this has been fixed in the latest trunk and will be
included in the next release version.

Contributors

  • pemrich (https://profiles.wordpress.org/pemrich/)

安裝

  1. Do the usual setup procedure… you know… downloading… unpacking… uploading… activating. Or just install it through the wordpress plugin directory.
  2. As soon as you activated the plugin, you should see a new widget under Design › Widgets. Just drag it into your sidebar.
  3. Fill out all the necessary configuration fields. Under Calendar ID enter the calendar ID displayed by Google Calendar. You can find it by going to Calendar settings › Calendars, clicking on the appropriate calendar, scrolling all the way down to “Calendar address”. There’s your calendar id.
  4. You’re done!

評價

2018年1月7日 1 reply
I spent a very, very long time trying to find a nice, simple, extensible calendaring plugin like this. It doesn't have a lot of features, but it does have the ability to import .ics and list events which is all I wanted. The code is clean and well-documented also, so it will be fairly easy to add functionality as I need it.
2017年9月18日
Followed the recommendations (change to a higher PHP version) and broke my site. No warning given of the consequences.
閱讀全部6個評價

貢獻者及開發者

“Simple Google Calendar Widget” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Simple Google Calendar Widget 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

0.1

  • First release.

0.2

  • Fix a bug with recurring events, thanks Atur for reporting

0.3

  • Fix possible Fatal Error when adding the widget to the sidebar, thanks pwndrian for reporting and larcher for the suggested fix.

0.4

  • The plugin now respects the time zone set for your wordpress instance (Settings > General > Time Zone).

0.5

  • Quick fix for deprecated API. Note that this update removes the link to the Google Calendar detail view of events.

0.6

  • Fix broken limit function

0.7

  • Do not cache calendar data if fetching from Google servers failed