內容簡介
RiotSchedule 是一個基於文章的排程外掛程式。此外掛程式允許您建立一個排程,每個排程都有其自己的連結文章以顯示內容。
此外掛程式支援小工具,並具有短代碼,可讓您顯示已排程的文章。也可以使用公開的 AJAX 調用(將進行文檔記錄)。此外掛程式還可以格式化數據,在
<
div> 和
<
ul>/
中顯示數據,讓您不必為外掛的代碼搞什麼鬼就可以設計風格了!
短代碼列表(我即將記錄這些!)
[riotschedule]
[riotschedule-day]
[riotschedule-list]
[riotschedule-nownext]
[riotschedule-pid]
若要查看基於 RiotSchedule 的網站(以及一些特定網站的增強功能),請訪問 http://www.hubradio.co.uk ,然後在「Shows」和「Schedule」下查看。如果您還在收聽現場/無線電播放器,可以看到我使用一些自訂的 AJAX 查詢,可以在 RadioPlayer 上顯示當前節目。
待辦事項
整理代碼
WordPress 代碼標準化
刪除有關窩規格畫面元素的命名
適當的多排程支援(目前有點不穩定,您可能會存在重疊或預設為排程 1)
致謝
此外掛程式是由 Yannick Lefebvre 的「Weekly Schedule」外掛程式改良而來。
最初編寫用於 Hub Radio。如果有任何特定於 Hub 的字詞/程式碼,敬請見諒。
外掛標籤
開發者團隊
原文外掛簡介
RiotSchedule is a post based scheduling plugin. The plugin allows you to create a schedule, each with their own linked posts to display content on.
The plugin support widgets and has shortcodes to allow you to display your scheduled posts. Public AJAX calls also exist (to be documented). The plugin can also format the data within
<
div> and
<
ul>/
allowing you to style your listings without fiddling around with plugin code!
List of shortcodes (I will document these shortly!)
[riotschedule]
[riotschedule-day]
[riotschedule-list]
[riotschedule-nownext]
[riotschedule-pid]
To see a site based around RiotSchedule (along with some site-specific enhancements) visit http://www.hubradio.co.uk and have a look under ‘Shows’ and ‘Schedule’. If you also look on the Listen Live / RadioPlayer you can see using some custom built AJAX queries I can display the current show on the RadioPlayer.
To-do
Code tidy-up
WordPress coding standardisation
Remove Hub specific naming on divs
Proper multi-schedule support (at the moment it’s a bit hit and miss, you might get overlap or just default to schedule 1
Credits
This plugin was forked and based from the ‘Weekly Schedule’ plugin by Yannick Lefebvre.
Originally written for use on Hub Radio. Apologies if there are any hub specific wording/code in there.
