Fix widget outputs

This commit is contained in:
Brian Miyaji
2014-03-25 20:36:57 +11:00
parent 47db92c98e
commit f1f3f1252d
5 changed files with 5 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ class SP_Widget_Event_List extends WP_Widget {
echo $before_widget;
if ( $title )
echo $before_title . $title . $after_title;
echo sportspress_event_list( $id, array( 'columns' => $columns, 'show_all_events_link' => $show_all_events_link ) );
sp_get_template( 'event-list.php', array( 'id' => $id, 'columns' => $columns, 'show_all_events_link' => $show_all_events_link ) );
echo $after_widget;
}