• I can not display $position_names in player-gallery-thumbnail.php

    how is it possible to show?

    thank.

    • This topic was modified 7 years, 1 month ago by dzsoft.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Savvas

    (@savvasha)

    Hi @dzsoft ,

    Did you try to enable Grouping by Position at Player List settings? https://snag.gy/QvU0AW.jpg

    Thanks,
    Savvas

    Thread Starter dzsoft

    (@dzsoft)

    Hi, @savvasha.
    Did I understand you correctly?
    Settings -> Players
    I have a gallery of players, not a list.

    [player_gallery id="undefined" title="" number="50" columns="4" orderby="number" order="" show_all_players_link="0" align="none"]

    No “player position”, here I want to add.

    Plugin Contributor Savvas

    (@savvasha)

    Hi @dzsoft ,

    You can add the following at your shortcode to enable grouping by position:
    grouping="position".
    So your code should be like this:
    [player_gallery id="undefined" title="" number="50" columns="4" orderby="number" order="" show_all_players_link="0" align="none" grouping="position"]

    Alternative, you can create a Player List, select Gallery as layout (https://snag.gy/6anEVJ.jpg) and select Position as group factor (https://snag.gy/XUJGSf.jpg). You can then select that Player List during creating your shortcode.

    Thanks,
    Savvas

    Thread Starter dzsoft

    (@dzsoft)

    Hi, @savvasha.
    Group it is good, but not that there was a wish.
    Example of how thought http://hkar.ru/Yj0h

    Thanks

    Roch

    (@rochesterj)

    Hi!

    Unfortunately, we don’t have an option for this. You’ll need some custom code to achieve that.

    Thanks!

    Thread Starter dzsoft

    (@dzsoft)

    Hi, @rochesterj!

    Thank you for seeing my request.
    I was very grateful for the code. I previously asked about it.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘position_names in player-gallery-thumbnail.php’ is closed to new replies.