Default calendar shortcode to use h4 caption tag

This commit is contained in:
Brian Miyaji
2014-03-21 18:40:43 +11:00
parent c26fcb458c
commit 3a0932fe4a
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ class SportsPress_Widget_Events_Calendar extends WP_Widget {
if ( $title )
echo $before_title . $title . $after_title;
echo '<div id="calendar_wrap">';
echo sportspress_events_calendar( $id, true, array( 'show_all_events_link' => $show_all_events_link ) );
echo sportspress_events_calendar( $id, true, array( 'caption_tag' => 'caption', 'show_all_events_link' => $show_all_events_link ) );
echo '</div>';
echo $after_widget;
}