TR: Customizing the Team Rosters 2 Shortcode
This video shows how to customize the Team Rosters 2 shortcode [mstw-tr-roster-2] colors and data fields using the Team Rosters Settings.
This video shows how to customize the Team Rosters 2 shortcode [mstw-tr-roster-2] colors and data fields using the Team Rosters Settings.
This video provides a quick overview of the Team Rosters 2 shortcode [mstw-tr-roster-2].
This (somewhat lengthy) tutorial walks through upgrading the MSTW Dev Site from Team Rosters v3.1.2 to v4.0, step-by-step, blow-by-blow.
The Team Rosters players and teams data in version 3.1.2 is not compatible version 4.0 and must be converted when installing Team Rosters version 4.0. The process is straightforward:
This process will automagically move player photos between systems for you if you so desire.
Watch this tutorial to see the simple process in action:
The default Single Player and Player Gallery templates are located in the plugin’s /theme-templates/ directory. Usually, only some CSS modifications are required to make these templates “fit” in a theme. Occasionally, these templates require code modifications to meet a sites requirements. In version 4.0, the plugin’s default templates never need to be modified. Rather, one should create custom templates in the theme’s (or child theme’s) main directory. By doing so, the customizations are not overwritten when a plugin update is loaded. If a child theme is used, they are not overwritten by a theme update either.
There are three ways to customize the team logos (and default images when no player photo is found) in Team Rosters v4.0: use the logos in the MSTW Schedules & Scoreboards database, set the default logos in the plugin’s /images/default-images/ directory, or set the default logos in the theme or child theme’s /mstw-team-rosters-images/ directory (which you create).
There are three ways to customize the colors in the Team Rosters v4.0 plugin: the colors tab on the Settings admin page, writing custom CSS rules where the stylesheet can now be in the theme/child theme directory, and a new setting to automatically set the table colors from the MSTW Schedules & Scoreboards teams database.