Menu Close Menu
Menu
  • Themes
  • Extensions
  • Showcase
  • Support
    • Documentation
    • Open Support Ticket
    • Terms & Conditions
  • Blog
  • Account
    • Number of items in cart: 0

      • Your cart is empty.
      • Subtotal: $0.00
      • Estimated Tax: $0.00
      • Total: $0.00
      • Checkout

Players Gallery Shortcode

Players Gallery Shortcode

The Player Gallery shortcode displays a gallery of players attached to a Roster in Club Mode or a club in League Mode.

Using the settings you can display simple galleries of players to galleries based on performance stats, for example Top Scorers, Most Appearances.

Title:

Add a title that will appear above the shortcode. Defaults to no title.

Roster (Club Mode Only):

Choose which roster to get players from.

Club (League Mode Only):

Choose which club to get current players from.

Limit:

Set a limit to the number of players in the list.

Position:

Choose whether to only display players from a chosen position.

Sort By:

Choose which value to sort the list by. You can choose from Alphabetical, Squad Number, Page Order or any of the active player stats. If you choose a player stat then that statistic will display on the players gallery.

Order:

Choose which order to display your list from Ascending or Descending.

Name Format:

Choose which format to display the player name from ‘First Last’, ‘Last’ or ‘F. Last’.

Number of Columns:

Choose how many columns wide your gallery should be. Choose between 2 and 6 columns.

Link Text:

If Link Page is set you can add text for the link.

Link Page:

Choose a page to link to the shortcode. If selected a link will be displayed under the shortcode.


Output

[player_gallery title="" id="" limit="" position="" orderby="" order="" linktext="" linkpage="" columns="" name_format=""]
4th October 2020

Post navigation

Previous

Players List Shortcode

Next

Managing Staff

Docs Categories

  • Clubs (4)
  • Getting Started (4)
  • League Tables & Rosters (3)
  • Matches (6)
  • Players & Staff (9)
  • Plugin Settings (11)
  • Shortcodes (8)
  • Snippets (4)
  • Theming & Extending (3)
  • Widgets (6)

Popular Articles

  • Third Party Theme Compatibility
  • Match List Shortcode
  • Managing Clubs
  • League Table Shortcode
  • Quick Start Guide
  • Extensions
  • Themes
  • Showcase
  • Terms
  • Documentation
  • Support
  • Support Policy
  • Blog
© 2014-20 WP Club Manager | Manage your sports club website