I needed to add the previous and next matches into my template and so was hoping for something like this…but i’ve managed to get around it using the ‘Team’ template.
1. Copy the ‘team.php’ file from the ‘view’ folder within the leaguemanager plugin
2. Create a folder within your theme called ‘leaguemanager’ and paste the copied ‘team.php file’ and rename it to, for example, ‘team-sidebar.php’.
3. In your template, add <?php leaguemanager_team( 1, array('template' => 'sidebar') ) ?>
with the 1 being your team ID, and ‘sidebar‘ being a reference to the copied file in your theme.
Once you’ve done these three things, you can edit your ‘team-sidebar.php‘ file as required.
Hope this helps.