misus
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: [Plugin: LeagueManager] Problem displaying matches manually in themeOk 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
In reply to: [Plugin: LeagueManager] Problem displaying matches manually in themeFor 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
In reply to: [Plugin: LeagueManager] Problem displaying matches manually in themeYea 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
In reply to: [Plugin: LeagueManager] Problem displaying matches manually in themeI mean how would I reference a custom template in that code?
<?php leaguemanager_matches( 1, array( ‘mode’ => ‘home’, ‘template’ => ‘myTemplate’) ); ?> ????Forum: Fixing WordPress
In reply to: [Plugin: LeagueManager] Problem displaying matches manually in themeThanks,
And how would I add a custom template?Forum: Plugins
In reply to: [Plugin: LeagueManager] Admin interface breaks after installationIt 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.