[WordPress] 外掛分享: Coaching Staffs

首頁外掛目錄 › Coaching Staffs
WordPress 外掛 Coaching Staffs 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
50+
安裝啟用
★★★★★
5/5 分(1 則評價)
420 天前
最後更新
問題解決
WordPress 5.2+ PHP 7.2+ v1.5 上架:2013-08-18

內容簡介

MSTW Coaching Staffs 外掛可以管理運動隊伍的教練人員陣容。此外掛支援多位教練、教練團隊,以及多支隊伍。這些團隊可以透過多種方式進行檢視,包括教練表格(截圖-1)、教練圖庫(截圖-2)以及單一教練檔案(截圖-3)。所有以上示範皆可以在 Shoal Summit Solutions Plugin Development Site 上找到。

此外掛的設計目的是針對高中教練團隊中的一些特殊挑戰,其中教練通常需要在不同的角色中,擔任兩支或是更多的隊伍教練。例如,一位教練可能是初級隊的總教練,但同時也是高級隊的進攻線教練,這樣的教練可以在初級隊教練名單中出現在第一順位,然後在高級隊教練名單中出現在較低的位置。以下就是處理方式:

首先使用 Coaching Staffs -> All Coaches -> Add New Coach 管理頁面添加教練(截圖-4 和截圖-5)。
接著使用 Coaching Staffs -> Staffs 管理頁面添加教練團隊(截圖-6)。
最後使用 Coach Staffs -> All Staff Positions -> Add New Staff Position 管理頁面添加教練團隊中的職務(截圖-7 和截圖-8)。

重要的是,您必須按照上述的順序輸入/添加資料,因為必須先輸入/添加教練和教練團隊,才能關聯到教練團隊中的職務。

若要透過簡碼顯示教練團隊表格,請在頁面、文章或文字小工具的 TEXT 或 HTML 分頁中輸入以下文字:

[mstw-cs-table staff=staff-slug]

必須提供 staff 參數,否則將不會顯示任何內容。更多參數可以在 Shoal Summit Solutions 網站上閱讀。建議您也可以參考我在 Plugin Development Site 上提供的範例。

若要了解如何安裝和使用單一教練檔案頁面和教練團隊圖庫頁面,請參閱安裝頁面和 Shoal Summit Solutions 網站上的說明。

此外掛已經進行了國際化,可供翻譯。我很樂意協助翻譯人員。預設的 .pot 檔案位於 /lang 目錄中。

備註

Coaching Staffs 外掛是 My Sports Team Website (MSTW) 框架中的其中之一。其他外掛包括 Schedules & Scoreboards、Team Rosters、League Standings、MSTW CSV Exporter、Game Locations 和 Game Schedules (現已停用)。所有這些外掛都可以在 WordPress.org 上找到。

有用連結

到 MSTW Dev Site 觀看外掛實際操作 -»
在 shoalsummitsolutions.com 上閱讀(站內管理者)用戶手冊 -»

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Coaching Staffs」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The MSTW Coaching Staffs plugin manages coaching staff rosters for sports teams. The plugin supports multiple coaches, staffs, and teams. It provides several views of staffs including coaches table (screenshot-1), a coaches gallery (screenshot-2), and single coach profiles (screenshot-3). Samples of all of the above displays are available on the Shoal Summit Solutions Plugin Development Site.
This plugin is designed to handle some challenges unique to high school coaching staffs, where coaches often coach two (or more) teams in different roles. For example, one coach can be the Head Coach of the Junior Varsity team and the Offensive Line coach for the Varsity team. That coach can be shown as the first coach on the JV staff and somewhere lower on the Varsity staff listings. Here’s how to do it:

Begin by adding the Coaches using the Coaching Staffs -> All Coaches -> Add New Coach admin page. (screenshot-4 and screenshot-5)
Next add the Coaching Staffs, using the Coaching Staffs -> Staffs admin page. (screenshot-6)
Finally add the Staff Positions, using the Coach Staffs -> All Staff Positions -> Add New Staff Position admin page. (screenshot-7 and screenshot-8)

It is important that you enter/add data in this order because the coach and staff must be entered before they can be associated with a staff position.
To display a staff table via the short code enter
[mstw-cs-table staff=staff-slug]
on the TEXT or HTML tab, NOT the VISUAL tab, of a page, post, or text widget. You MUST provide a staff parameter or nothing will be displayed. Many other parameters are available, which you can read about on the Shoal Summit Solutions site. Looking the samples on my plugin development site is highly recommended.
To learn how to install and use the single coach profile page and the coaching staff gallery page, please read the instructions on the Installation tab and on the Shoal Summit Solutions site.
The plugin is internationalized and ready for translation. I am happy to help translators. A default .pot file is in the /lang directory.
NOTES
The Coaching Staffs plugin is part of the My Sports Team Website (MSTW) framework. Others include Schedules & Scoreboards, Team Rosters, League Standings, MSTW CSV Exporter, and Game Locations and Game Schedules (both now deprecated). All are available on WordPress.org.
Helpful Links

See what the plugin in action on the MSTW Dev Site -»
Read the (site admin) user’s manual at shoalsummitsolutions.com -»

延伸相關外掛

文章
Filter
Apply Filters
Mastodon