From 538ac20a252565c7e3e3ef03002386a7fb708336 Mon Sep 17 00:00:00 2001 From: "Md. Alimuzzaman Alim" Date: Mon, 23 Jan 2023 15:55:04 +0600 Subject: [PATCH] Update calendar.php --- views/calendar.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ));