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_Calendar extends WP_Widget {
if ( $title )
echo $before_title . $title . $after_title;
echo '<div id="calendar_wrap">';
echo sportspress_event_calendar( $id, true, array( 'caption_tag' => 'caption', 'show_all_events_link' => $show_all_events_link ) );
sp_get_template( 'event-calendar.php', array( 'id' => $id, 'caption_tag' => 'caption', 'show_all_events_link' => $show_all_events_link ) );
echo '</div>';
echo $after_widget;
}