BCD Roster adds a custom post type for roster members along with a custom taxonomy for assigning categories to the new post type. Also provides a shortcode interface to list the roster in various ways.
- New post type for members of the roster
- New taxonomy (category) for the members of the roster
- Added shortcode for displaying the roster in posts and on pages
New Dashboard menu
|name||comma separated list of categories|
|sortorder||Determines the sort order of the members. Valid values:
If not specified then the sort order defaults to asc.
|listtype||Specifies how to display the list of roster members. Valid values:
If not specified the members are displayed one per line with no formatting.
The following examples illustrate using the [bcdroster] shortcode to display the roster. The attributes can be supplied in any order and must be separated by a space.
Display the entire roster.
Display members in the “brass” category.
Display members in the “brass” and “woodwind” category.
Display the entire roster in descending order
Display members in the “brass” category in descending order
[bcdroster name=brass sortorder=desc]
Display the entire roster in an unordered list
Display members in the “brass” category in an unordered list
[bcdroster name=brass listtype=ul]