From 15513d0df4b6f9c6ac3f82eccd91b77262d9ab89 Mon Sep 17 00:00:00 2001 From: Allen Benny Date: Mon, 19 Aug 2024 17:09:04 +0530 Subject: [PATCH] Update SiteGen.php --- includes/SiteGen/SiteGen.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/SiteGen/SiteGen.php b/includes/SiteGen/SiteGen.php index d1e82ba..1b62636 100644 --- a/includes/SiteGen/SiteGen.php +++ b/includes/SiteGen/SiteGen.php @@ -309,7 +309,6 @@ public static function generate_site_posts( $site_info ) { foreach ( $site_posts['posts'] as $idx => $post_data ) { $post = array( 'post_status' => 'publish', - 'post_type' => 'page', 'post_title' => $post_data['title'], 'post_content' => $post_data['content'], 'post_date' => date( 'Y-m-d H:i:s', strtotime( 'last sunday -' . $post_dates[ $idx ] . ' days' ) ),