• Resolved pr4d0g

    (@pr4d0g)


    Hi,

    I am able to select a standing without links on teams using this shortcode [standings league_id=x template=”nolink”].
    Unfortunately, I don’t see a template for matches like the same, therefore, how can I manage to remove links for matches.

    Thanks,
    Prado

    http://wordpress.org/plugins/leaguemanager/

Viewing 1 replies (of 1 total)
  • Plugin Author LaMonte Forthun

    (@lamontef)

    You can build one very easily.

    Copy the file ‘matches.php’ in the ‘templates’ folder and rename the copy ‘matches-nolink.php.

    Replace line 54:

    <td class='match'><?php echo $match->date." ".$match->start_time." ".$match->location ?><br /><a href="<?php echo $match->pageURL ?>"><?php echo $match->title ?></a> <?php echo $match->report ?></td>

    with:

    <td class='match'><?php echo $match->date." ".$match->start_time." ".$match->location ?><br /><<?php echo $match->title ?> <?php echo $match->report ?></td>

    Then use shortcode:

    [matches league_id=1 template=nolink mode=all]

    If you need help with the template let me know.

Viewing 1 replies (of 1 total)

The topic ‘Nolink Template’ is closed to new replies.