Support » Fixing WordPress » [Plugin: LeagueManager] Adding Widget In Page

  • adzeds


    Is it possible to call the next/last match widget using PHP so that I can embed it into my homepage?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Kolja


    Will be in the next release



    Cool. When can we expect the next update!

    Before next Friday?



    Most likely the next version will have to wait until September, because I am on vacation soon.



    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: LeagueManager] Adding Widget In Page’ is closed to new replies.