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
All the normal installation methods for WordPress plugins work. See
the installation manual page for details.
Upon installation make sure the WP default timezone is set correctly in the Wordpress Settings->General screen.
If you plan to use the coach profile pages (linked from the coaching staff table and/or the coaching gallery page), then you must copy the following page template from the coaching-staffs/theme-templates directory to your theme's main directory:
- single-coach.php
If you plan to use the Coaches Gallery page, then you must copy the following page template from the coaching-staffs/theme-templates directory to your theme's main directory:
- taxomony-staffs.php