WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: LeagueManager] Previous match in team template (4 posts)

  1. aledan
    Member
    Posted 4 years ago #

    Hello. I have a little problem with team view.

    In the previous match box, I always get first match of the season. Not just the last match played.

    Instead, for the next match box, I have no problem?

    Where is the problem? Thanks

    http://wordpress.org/extend/plugins/leaguemanager/

  2. beveraii
    Member
    Posted 4 years ago #

    Yup, same problem here :-(

  3. garycekusdesign
    Member
    Posted 4 years ago #

    okay after some advice I think I got it to work by doing the following:

    Open shortcode.php in the lib folder

    change the following line of code:

    $prev_match = $prev_matches[0];

    to

    $prev_match = end($prev_matches);

    I've only tested it a few times and it seems to be working, as always make a backup of your files before testing this...

  4. aledan
    Member
    Posted 4 years ago #

    Work perfect for me.

    Also in rc3 release. This bug seems not resolved yet.

    Thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Topic