• Resolved Jerry

    (@jerryzee)


    Mark

    Great plugin.

    http://goroughriders.wpprod.yc.edu/ – Please note in the right sidebar there is a “Roughrider Scoreboard – Final Scores and Results”

    There are 4 results (I used shortcode to control how many to show). But I’d like to show the last four most recent scores / results … right now by default it’s showing the 1st 4 results.

    How could I make the list start with the most recent date — or the last or most recent dates…

    <h5>Final Scores and Results</h5>
    [mstw_gs_table sched=’2014-volleyball-schedule,2014-baseball-schedule,2014-softball-schedule,2014-soccer-schedule’ show_media=0 show_location=0 opponent_label=’Final Results’ last_dtg=’now’ time_label=’ ‘ table_date_format=’M j’ games_to_show=4 date_label=’ ‘]

    Here is my shortcode:

    https://wordpress.org/plugins/game-schedules/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mark O’Donnell

    (@markodonnell)

    Hi Jerry,
    Thanks for writing. I see you found ‘now‘. It was intended for the first_dtg, not the last_dtg. I never thought of what you suggest because I’ve always thought ‘future’ not ‘history’. It can’t be done right now, other than by regularly modifying the start and end dtg’s. But I like it and I will add it to ‘the list’ for the next release. If you would like some bespoke changes quicker, please contact me through shoalsummitsolutions.com

    Regards,
    -Mark

    mallard66

    (@mallard66)

    Hi Mark, Jerry,

    just chiming in to say I’m also looking for a way to display the result of the latest games. I tried fiddling with complex css selectors to supress all but the last row but I didn’t find the right syntax I guess. I look forward to trying out the new functionality once it’s ready.

    -Anders

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Thanks guys. I’ll have something for you in the next release.

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Hi Anders, Jerry,
    I added this to the development trunk in the SVN repository on WordPress.org. You set last_dtg = 'now', leave first_dtg blank, and set the games_to_show to what you want. It will display games_to_show games in reverse chronological order. See the MSTW Dev Site for an example.

    -Mark

    Thread Starter Jerry

    (@jerryzee)

    Thanks for the update. I’m going to get it going, now.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Controlling order of Results’ is closed to new replies.