WordPress.org

Ready to get started?Download WordPress

Forums

LeagueManager
[resolved] league is at day 4, page displays results of day 2 (3 posts)

  1. lugarini82
    Member
    Posted 2 months ago #

    As wrote in title, I would like to know how to display the last day of matches that have been played. Now if I use the string:
    [matches league_id=4 mode=]
    it shows me the results of day 2 (and this doesn't make any sense to me, we are at day 4), I hoped that each time a new day has been played this plugin displays me automatically latest results (in this case i would like to been displayed the results of day 4. day 5, and so on..
    I hope everyone has understood what I'm trying to fix.. Hi all :)

    https://wordpress.org/plugins/leaguemanager/

  2. LaMonte Forthun
    Member
    Plugin Author

    Posted 2 months ago #

    The plugin does not show most current results, but I have an idea on how to make it do that. Take 'mode=' out of your shortcode and add 'match_day=XX', where xx is the match day you wish to show for now. If I can add a new function to look for the last match day with results and show those with something like match_day=current, you might be able to have an ongoing current result. Just understand that if you have one game played on Monday and the rest on Friday, as soon as the first game is played the results would switch to that new match day...

  3. lugarini82
    Member
    Posted 2 months ago #

    First of all thanks for the answer! :D
    Ok, I will definitely try that code, I think it could work for me.. and I'll wait for the code you might add, of course! thanks!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.