Enable league table captions and fix logo size

This commit is contained in:
Brian Miyaji
2014-05-05 17:16:25 +10:00
parent dfc17f2389
commit ab508cc76b
2 changed files with 13 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ class SP_Widget_League_Table extends WP_Widget {
if ( $title )
echo $before_title . $title . $after_title;
echo '<div id="sp_league_table_wrap">';
sp_get_template( 'league-table.php', array( 'id' => $id, 'number' => $number, 'columns' => $columns, 'show_full_table_link' => $show_full_table_link, 'show_team_logo' => $show_team_logo ) );
sp_get_template( 'league-table.php', array( 'id' => $id, 'number' => $number, 'columns' => $columns, 'show_full_table_link' => $show_full_table_link, 'show_team_logo' => $show_team_logo, 'show_caption' => true ) );
echo '</div>';
echo $after_widget;
}