Sorting Scoreboards

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #6399
    Kevin Hemphill
    Participant

      Is there a way to set the way for a scoreboard to sort by date? For example, if I wanted the scoreboard to sort by the most recent date first and then past dates below that, is that possible?

      #6404
      Mark
      Keymaster

        Hi Kevin,
        Thank you for posting here. A “scoreboard”? What specific shortcode are you using? You might take a look at user’s manual section on date-time arguments (https://shoalsummitsolutions.com/lm-shortcodes/#date-time-arguments). It’s a bit hard to find, but these arguments work across an array of shortcodes.
        Let me know.
        -Mark

        #6408
        Kevin Hemphill
        Participant

          This is the shortcode I’m using:

          [mstw_lm_league_scoreboard league='local-teams' first_dtg='now' interval_days=5]

          My goal was to try to use the interval days so it shows the upcoming game and the most recent past game, but reversing the order to “descending” dates, if you will.

          #6414
          Mark
          Keymaster

            SO you want to show the games 5 days from today first, and list them down to today’s games, is that correct?

            #6416
            Mark
            Keymaster

              For some shortcodes, and I believe mstw_lm_league_scoreboard is one, the date_order argument might help you date_order=ASC|DESC

              #6420
              Kevin Hemphill
              Participant

                Thank you, that worked!

                #6425
                Mark
                Keymaster

                  Cool!

                Viewing 7 posts - 1 through 7 (of 7 total)
                • You must be logged in to reply to this topic.