Staff List Shortcode

Display a detailed list of staff members. The staff directory's post ID is required unless you're in The Loop.

[staff_list id="99"]

By default, all staff from the directory will be included. Change the  number parameter to choose the number of staff to show. A value of -1 will show all.

You can include comma-separated column slugs to choose which  columns to display, useful for creating a shorthand list of staff for the sidebar.

Setting   link_posts to 1 links staff names to their pages.

The   link_phone parameter will add a tel: link to the phone number displayed. Clicking the link will open up the default app for making calls, or prompt the user to dial when on a smartphone. Similarly, link_email will add a mailto: link to emails which automatically open the user's default email client.

The   sortableresponsive, and paginated arguments apply those scripts to the player list. Change the rows value to set the number of rows to display when responsive mode is on.

If you would like to show a link to view all staff below your staff list, set  show_all_staff_link to 1.

Args:

array(
	'id' => '',
	'number' => '-1',
	'columns' => '',
	'link_posts' => '1',
	'link_phone' => '1',
	'link_email' => '1',
	'sortable' => '1',
	'responsive' => '1',
	'paginated' => '1',
	'rows' => '10',
	'show_all_staff_link' => '0'
)

Example usage:

[staff_list id="99" number="5" columns="role,phone" paginated="0" show_all_staff_link="1"]

The Staff List shortcode is only available to Club, League, or AgencyLicense holders.

Still need help? Submit a Support Ticket Submit a Support Ticket