I’m committing a test version shortly that will be 3.8.8.1, specifically for the ‘Last 5’ functionality.
Here’s some information that will be part of the new version info )there’s also a screen shot of a ‘Last 3’ setup so you can see what it should look like):
If you test and find that the icons at the end of each line in the standings are moving to a second line it means you don’t have enough room on your template for five past results. You can then change to a lesser number in the template, named ‘standings-last5.php’ in the ‘admin/templates’ folder. Go to 43:
<th width=”100″ class=”last5″><?php _e( ‘Last 5’, ‘leaguemanager’ ) ?></th>
change the ‘Last 5’ text to ‘Last 3’ if you’re going to use three past results, or whatever you choose. Then go to line 93:
$results = get_latest_results($team->id, 5);
Change the ‘5’ at the end to ‘3’ if you want three past results.
The final version will probably have this as a preference option.
Shortcode to use:
[standings league_id=1 template=last5] or
[standings league_id=1 group=A template=last5 logo=true]
(group and logo are optional)