diff --git a/views/calendar.php b/views/calendar.php index f667357f..4ba09631 100644 --- a/views/calendar.php +++ b/views/calendar.php @@ -17,6 +17,7 @@
$post_type ? $post_type : $allow_post_types, + 'post_type' => ($post_type && $_page != 'schedulepress-calendar') ? $post_type : $allow_post_types, 'post_status' => array('draft', 'pending'), 'posts_per_page' => -1 ));