Title: misus's Replies | WordPress.org

---

# misus

  [  ](https://wordpress.org/support/users/misus/)

 *   [Profile](https://wordpress.org/support/users/misus/)
 *   [Topics Started](https://wordpress.org/support/users/misus/topics/)
 *   [Replies Created](https://wordpress.org/support/users/misus/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/misus/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/misus/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/misus/engagements/)
 *   [Favorites](https://wordpress.org/support/users/misus/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [[Plugin: LeagueManager] Problem displaying matches manually in theme](https://wordpress.org/support/topic/plugin-leaguemanager-problem-displaying-matches-manually-in-theme/)
 *  Thread Starter [misus](https://wordpress.org/support/users/misus/)
 * (@misus)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-leaguemanager-problem-displaying-matches-manually-in-theme/#post-1094168)
 * Ok i’ve managed to locate the problem I think. In your _functions.php_ the leaguemanager_matches
   function is missing _‘template’ => $template_ from the echo _$lmShortcodes->showMatches_.
   Thought you might wanna know that.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [[Plugin: LeagueManager] Problem displaying matches manually in theme](https://wordpress.org/support/topic/plugin-leaguemanager-problem-displaying-matches-manually-in-theme/)
 *  Thread Starter [misus](https://wordpress.org/support/users/misus/)
 * (@misus)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-leaguemanager-problem-displaying-matches-manually-in-theme/#post-1094162)
 * For some reason it’s not working. It’s not using my custom template. Here’s what
   I’ve done.
 * 1. I’ve copied the matches.php file into my_theme_dir/leaguemanager/ and renamed
   it matches-future.php
    2. I’ve modified the file slightly (deleted the first 
   row from the table) 3. I’ve added the following code to one of my templates: 
   <?php leaguemanager_matches( 1, array(‘mode’ => ‘home’, ‘template’ => ‘future’))?
   >
 * It works if I use short code but not manually in the template. I don’t have wp
   installed in my root directory (it’s in root/wordpress) could that have anything
   to do with it?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [[Plugin: LeagueManager] Problem displaying matches manually in theme](https://wordpress.org/support/topic/plugin-leaguemanager-problem-displaying-matches-manually-in-theme/)
 *  Thread Starter [misus](https://wordpress.org/support/users/misus/)
 * (@misus)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-leaguemanager-problem-displaying-matches-manually-in-theme/#post-1094045)
 * Yea I allready have a template named matches-future.php in my_theme_dir/leaguemanager/.
   It’s a slightly modified version of the matches template.
 * I guess my question is how I can use the template in the following code:
    <?php
   leaguemanager_matches( 1, array( ‘mode’ => ‘home’ ) ); ?>
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [[Plugin: LeagueManager] Problem displaying matches manually in theme](https://wordpress.org/support/topic/plugin-leaguemanager-problem-displaying-matches-manually-in-theme/)
 *  Thread Starter [misus](https://wordpress.org/support/users/misus/)
 * (@misus)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-leaguemanager-problem-displaying-matches-manually-in-theme/#post-1093998)
 * I mean how would I reference a custom template in that code?
    <?php leaguemanager_matches(
   1, array( ‘mode’ => ‘home’, ‘template’ => ‘myTemplate’) ); ?> ????
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [[Plugin: LeagueManager] Problem displaying matches manually in theme](https://wordpress.org/support/topic/plugin-leaguemanager-problem-displaying-matches-manually-in-theme/)
 *  Thread Starter [misus](https://wordpress.org/support/users/misus/)
 * (@misus)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-leaguemanager-problem-displaying-matches-manually-in-theme/#post-1093991)
 * Thanks,
    And how would I add a custom template?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: LeagueManager] Admin interface breaks after installation](https://wordpress.org/support/topic/plugin-leaguemanager-admin-interface-breaks-after-installation/)
 *  Thread Starter [misus](https://wordpress.org/support/users/misus/)
 * (@misus)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-leaguemanager-admin-interface-breaks-after-installation/#post-1092866)
 * It was a new installation but I deleted all db tables and the plugin folder and
   intalled it again using the zip-installation and now it seems to work. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)