Include status selector for calendars

This commit is contained in:
Brian Miyaji
2014-04-27 18:32:40 +10:00
parent 07727cdecd
commit dbb63247fd
5 changed files with 46 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ class SP_Widget_Event_Calendar extends WP_Widget {
function __construct() {
$widget_ops = array('classname' => 'widget_calendar widget_sp_event_calendar', 'description' => __( 'A calendar of events.', 'sportspress' ) );
parent::__construct('sp_event_calendar', __( 'SportsPress Events Calendar', 'sportspress' ), $widget_ops);
parent::__construct('sp_event_calendar', __( 'SportsPress Event Calendar', 'sportspress' ), $widget_ops);
}
function widget( $args, $instance ) {