Usage Notes

I recommend that you use the test pages on http://shoalsummitsolutions.com/dev as guides to compare what works with what doesn’t.

Help me seek out and destroy a dastardly bug!
It has been reported that sometimes the data for one or more players simply disappears!? I have seen this problem on my development site once and it was when I was working on the Featured Images / Thumbnails for version 2.1. Others report it happens when editting player bios. Whatever I’ve tried I cannot consistently repeat the error, and therefore I can’t pinpoint the cause. If you have seen this error, please let me know (mark@shoalsummitsolutions.com). Thanks.

The Single Player Profile and single-player.php template.
The single player pages are linked from the names in the roster table. If you wish to use the single player profiles, you simply copy the single-player.php template from the plugins/theme-templates directory to your theme’s main directory. The links in the roster table are of the form:
`your-base-url/players/player-slug/?format=your-format`
where your-format is whatever has been set as the default in the plugin display settings or specified in the shortcode arguments.

The first problem many users encounter is a 404 Page not found message, that indicates that their permalinks need to be reset. On the WP dashboard go to Settings -> Permalinks. Change the setting to anything at all. Save it. Then change to setting back to “Post name” and save again.

The next problem is that the single player page doesn’t look right in a given theme. It was built and tested on the WP Twenty Eleven theme, so it may not “fit” your theme. Many settings are available in the plugin settings page, but you may need to edit the styles in mstw-tr-styles.css and/or edit the single-player.php template to make the content fit nicely within your theme’s ‘wrapper’.

The taxonomy-teams template and the player gallery view.
The player gallery page(s) must be linked from somewhere on your site, for example, a menu item. If you wish to use the player gallery view, you must copy the taxonomy-teams.php template from the plugin’s /theme-templates directory to your theme’s main directory. The URL for a team gallery page looks something like:
`your-base-url/teams/team-slug`

The first problem many users encounter is a 404 message, which indicates that their permalinks need to be reset. See the instructions above. The next problem is that the player gallery page doesn’t look right in a given theme. See the discussion above.

Default images for player photos.
Individual player photos are entered as the Featured Image on the Player Edit screen. See instructions on that page.

No featured image is found, the single player page and the player gallery page will look for the file default-photo-team-slug.jpg in the plugin’s /images directory. So you can set a different default images (usually the team’s logo) for each team. If that file is not found, the single player page and the player gallery page will use the default-photo.jpg image from the plugin’s /images directory. Out of the box, the default is a “mystery man”. You use an FTP program to replace it with another image of your choosing, your team logo, say. Your replacement default-photo.jpg file MUST use that name and should be 150px by 150px by default.