• Hello, im trying to get a team’s players to show up in their own player gallery.
    I’ve set the limit attribute to 18 (as 18 players in the squad) But it is showing a max of 18 players in each position. I’ve tried to stop that by implementing the team id as an attribute (team=”58″). However the players still seem to be showing when they aren’t actually set to that team.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jakemaspin

    (@jakemaspin)

    I’ve had a play around, the (team=”58″) works with player lists but not with player galleries. If anyone can help it would be greatly appreciated.

    Roch

    (@rochesterj)

    Hi there!

    Thanks for reaching out and I’m sorry for the trouble.

    Just to make sure we understand what you’ve tried so far. So when you add the team to your player list shortcode it loads only 18 players in total and only players from a single team?

    And when you try the player gallery with the same attributes it loads 18 players per position from any team?

    Thanks!

    Thread Starter jakemaspin

    (@jakemaspin)

    Hi @rochesterj

    So i’ve used the Sportspress player gallery creation where you select what you want etc. I’ve then gone into the attributes and added the team’s id that i got from the player list. However it would still show 18 players in each position.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Limit attribute in player gallery’ is closed to new replies.