You can display the league standings with the following code
[standings league_id=x mode=extend|compact]
Replace x with the respective league ID to display. mode constrols if number if match statistics is displayed (extend) or not (compact).
Display a tabular match calendar with the following code
[matches league_id=x mode=all|home]
Substitute x with the respective of the league ID to display. If mode is missing the matches will be displayed ordered by match days (default), mode=all causes all matches of this league to be displayed in a single table, mode=home only displays matches of home team in one single table. A single match is displayed as folows:
[match id=x]
You can also display a crosstable of a league with the following code
[crosstable league_id=x mode=embed|popup]
Substitute x with the respective of the league ID to display, mode can be either embed, to display the crosstable in the page/post, or popup to display it in a thickbox popup window. mode=popup is useful if you have very much teams.
A list of teams can be shown with the following code
[teams league_id=x season=Y league_name=name]
Y is the season name. Use either leagueid or leaguename, but not both. A single team page is displayed with
[team id=x]
You can display an archive of all leagues with the tag
[leaguearchive]
LeagueManager Plugin supports templates, which are placed in
path_to_plugin/view/
If you want to customize any template to your own needs simply copy it to
your_theme_directory/leaguemanager
The template loader will first check the theme directory, so you can edit the template there. To use a specific template use the template tag.
There are three tags to display the standings table, matches and crosstable manually in your theme.
leaguemanager_standings( leagueID, array('logo' => 'true|false', 'template' => 'extend|compact') )
leaguemanager_matches( leagueID, array('mode' => '|all|home') )
leaguemanager_crosstable( leagueID, array('mode' => '|popup') )
Possible array keys for the second arguments are the same as the attributes for the shortcodes. See functions.php for details on using the functions.
The LeagueManager icon is taken from the Fugue Icons of http://www.pinvoke.com/.




