內容簡介
Enhanced-Calendar(早期稱作Calendar-Plus)改進了 Kieran O’Shea's Calendar 外掛,去除了幾個限制,並增加了在側邊欄小工具中實例化日曆的功能。
Enhanced-Calendar 需要安裝和啟用原始的 Calendar 外掛。
Enhanced-Calendar 引入了一個適當的shortcode,亦可使用 Sidebar Shortcode 外掛在側邊欄中顯示日曆。
用法
使用 Enhanced-Calendar 主要由shortcode設定。 Enhanced-Calendar 不改變Calendar添加和管理日曆事件的方式。 [calendar] shortcode 有幾個引數,你可以創建一篇包含以下內容的文章以查看各種選項如何影響 Calendar輸出:
[calendar]
[calendar weekday=1]
[calendar weekday=3 descriptions='off']
[calendar dateswitcher='off']
[calendar weekday=3 dateswitcher='off' descriptions='off']
樣式設定
Enhanced-Calendar 將 CSS 樣式從儲存在資料庫的外掛設定移到另一個單獨的 CSS 檔案中,這使得輕鬆使用自己的WordPress佈景主題進行樣式設定。Enhanced-Calendar 附帶的預設 CSS 檔案與Calendar 外掛的預設設定相同。
你可以在 CASL Shocks 網站上看到 Enhanced-Calendar 的實際效果。
外掛標籤
開發者團隊
原文外掛簡介
Enhanced-Calendar (previously known as Calendar-Plus) enhances
Kieran O’Shea’s Calendar plugin by removing several limitations and adding the ability to instantiate
the calendar in a sidebar widget.
Enhanced-Calendar requires the original
Calendar plugin to be installed and activated.
Enhanced-Calendar introduces a proper shortcode which can also be used to display the calendar in a sidebar
by using the Sidebar Shortcode plugin.
Usage
Usage of Enhanced-Calendar is primarily driven by shortcodes. Enhanced-Calendar does not change the way
in which Calendar adds and manages calendar events. The [calendar] shortcode has several arguments. You
could create a post that contains the following content to see how the various options affect the Calendar
output:
[calendar]
[calendar weekday=1]
[calendar weekday=3 descriptions='off']
[calendar dateswitcher='off']
[calendar weekday=3 dateswitcher='off' descriptions='off']
Styling
Enhanced-Calendar moves the CSS styling from a plugin setting which is stored in the database to a separate CSS
file which makes it easy to style Calendar with your own WordPress theme. The default CSS file shipped with
Enhanced-Calendar is the same as the default settings from the Calendar plugin.
You can see Enhanced-Calendar in action on the CASL Shocks web site.
