Players Shortcode

The  Players Shortcode displays a table or list of players.

It is versatile and can be used to display top scorers tables, most appearances lists, full squad lists with or without stats and many more by setting different shortcode parameters.

Clicking on the Players Shortcode button will reveal the shortcode options:

Example:

[wpcm_players limit='5' season='6' team='7' position='-1' orderby='goals' order='DESC' linktext='View all players' linkpage='344' stats='number,name,appearances,goals' title='Top Scorers']

Args:

The stats parameter also contains options to display stats depending on your default sport.

array(
      'limit' => '',
      'comp' => '',
      'season' => '',
      'orderby' => '',
      'order' => '',
      'linktext' => '',
      'linkpage' => '',
      'stats' => 'thumb,flag,number,name,position,age,team,season,dob,height,weight,hometown,joined,appearances',
      'title' => ''
 );