Cards (shortcode)
[anwpfl-cards type="players" competition_id="" join_secondary="1" season_id="" league_id="" club_id="" limit="0" soft_limit="1" show_photo="1" sort_by_point="" points_r="5" points_yr="2" hide_zero="1" layout=""]
Shortcode Attributes
- type – *(required) "players" or "clubs"
- competition_id – (optional) - competition ID
- join_secondary – (optional) "0" or "1". Include stats from secondary stages. Works for multistage competitions only. You should set main stage ID in “competition_id” parameter.
- season_id – (optional) season term ID
- league_id – (optional) league term ID
- club_id – (optional) club ID
- limit – limit number of players. Default: 0 (show all)
- soft_limit – "0" (no) or "1" (yes). Default: "1". Increase the number of players to the end of players with equal stats value.
- show_photo – "0" (no) or "1" (yes). Default: yes.
- sort_by_point – Available options: "asc" or " " (empty for descending sorting). Ascending is useful for "Fair Play" report. Default: "".
- points_r – points for the Red card. Default: 5.
- points_yr – points for the 2-d Yellow > Red card. Default: 2.
- hide_zero –"1"(yes) or "0"(no). Default: 1. Hide items with zero points.
- layout – " " (empty - default), "mini". Mini is used for the widget.
Customer support service by UserEcho