• In my sportspress site, I have events for both modes (player vs player for singles events and team vs team for doubles events). I would like to display the event list in separate for the modes. May I know the event list shortcodes for this? Thanks.

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

    (@savvasha)

    Hi @banilancer,

    I am afraid this is not possible currently on SportsPress without some custom code. You will need to alter the event-list.php template file so as to “recognize” if the event is player vs player or not and show the corresponding events.

    Thanks,
    Savvas

    Thread Starter banilancer

    (@banilancer)

    Thanks for your advise. Just tried the short code: format=”league” & format=”friendly” to display event lists of “competitive” and “friendly” events respectively. Just wonder if any chance to display “player” and “team” events with short codes.

    • This reply was modified 9 months, 2 weeks ago by banilancer.
    • This reply was modified 9 months, 2 weeks ago by banilancer.
    Thread Starter banilancer

    (@banilancer)

    I tried to add the below code but not work:

    if ( $mode != ‘default’ ) {

    $calendar->mode = $mode;

    }

    Could you please share some ideas about the custom code apply on recognize the event mode? Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Event list display for different mode’ is closed to new replies.