diff --git a/templates/event-calendar.php b/templates/event-calendar.php index 386dc327..ed67d88b 100644 --- a/templates/event-calendar.php +++ b/templates/event-calendar.php @@ -4,16 +4,12 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.1 + * @version 1.3 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly -global $wpdb, $m, $monthnum, $year, $wp_locale, $posts; - -// Quick check. If we have no posts at all, abort! -if ( ! $posts ) - return; +global $wpdb, $m, $monthnum, $year, $wp_locale; $defaults = array( 'id' => null,