• Resolved nehme1499

    (@nehme1499)


    Is it possible to chose the amount of players to be displayed in the player list for each list?

    Basically, with pagination, I would like 10 players for the top scorers, but 15 players for the team sheets (so 15 gks, 15 defenders, 15 midfielders, and 15 forwards).

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Savvas

    (@savvasha)

    Hi @nehme1499 ,

    During creating the Player List, there is a field at the end of Details metabox that doing exactly what you want. https://snipboard.io/TRuI8N.jpg

    Thanks,
    Savvas

    Thread Starter nehme1499

    (@nehme1499)

    It still doesn’t work. In the Sportpress settings, I have display 10 players and paginate. This is perfect for seasonal stats like top scorers and top assists (it shows 10 players, then I have to “click 2” to view the others.

    For club profiles, even if I put show 15 players, it still paginates at 10. I still have to click 2 to see the other players in a specific position. Is there a way to disable pagination in specific lists? This way, I show all players without paginating.

    Plugin Contributor Savvas

    (@savvasha)

    Hmmm… Try to use the [player-list] shortcode and add the row variable. Something like [player_list id="xxxxx" number="15" rows="15"]

    Thanks,
    Savvas

    Thread Starter nehme1499

    (@nehme1499)

    This semi-works. It stops pagination though.

    Plugin Contributor Savvas

    (@savvasha)

    What if you dont use the number variable?

    Thanks,
    Savvas

    Thread Starter nehme1499

    (@nehme1499)

    Works perfectly, thanks for your help!

    Roch

    (@rochesterj)

    I’m glad it’s resolved!

    Please, let us know if you need anything else.

    Kind Regards,
    -Roch

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Amount of players in list’ is closed to new replies.