From 42c6c1c7cfbfd53d11ffb97cdcf87c4ccf006bd1 Mon Sep 17 00:00:00 2001 From: girishpanchal30 Date: Wed, 3 Jul 2024 18:54:20 +0530 Subject: [PATCH 1/2] chore: revert starter site menu items --- inc/compatibility/starter_content.php | 48 +++++++++++++-------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/inc/compatibility/starter_content.php b/inc/compatibility/starter_content.php index 16dc80a9dc..c1c168ab11 100644 --- a/inc/compatibility/starter_content.php +++ b/inc/compatibility/starter_content.php @@ -114,10 +114,10 @@ public function get() { 'object' => 'page', 'object_id' => '{{' . self::HOME_SLUG . '}}', ], - 'link_about' => [ - 'type' => 'custom', - 'title' => 'About Us', - 'url' => home_url( self::ABOUT_SLUG ), + 'page_about' => [ + 'type' => 'post_type', + 'object' => 'page', + 'object_id' => '{{' . self::ABOUT_SLUG . '}}', ], 'page_portofolio' => [ 'type' => 'post_type', @@ -129,15 +129,15 @@ public function get() { 'object' => 'page', 'object_id' => '{{' . self::PROJECT_DETAILS . '}}', ], - 'link_blog' => [ - 'type' => 'custom', - 'title' => 'News', - 'url' => home_url( self::BLOG_SLUG ), + 'page_blog' => [ + 'type' => 'post_type', + 'object' => 'page', + 'object_id' => '{{' . self::BLOG_SLUG . '}}', ], - 'link_contact' => [ - 'type' => 'custom', - 'title' => 'Contact Us', - 'url' => home_url( self::CONTACT ), + 'page_contact' => [ + 'type' => 'post_type', + 'object' => 'page', + 'object_id' => '{{' . self::CONTACT . '}}', ], ]; @@ -147,20 +147,20 @@ public function get() { 'object' => 'page', 'object_id' => '{{' . self::HOME_SLUG . '}}', ], - 'link_blog' => [ - 'type' => 'custom', - 'title' => 'Blog', - 'url' => home_url( self::HOME_SLUG ), + 'page_blog' => [ + 'type' => 'post_type', + 'object' => 'page', + 'object_id' => '{{' . self::BLOG_SLUG . '}}', ], - 'link_about' => [ - 'type' => 'custom', - 'title' => 'About', - 'url' => home_url( self::ABOUT_SLUG ), + 'page_about' => [ + 'type' => 'post_type', + 'object' => 'page', + 'object_id' => '{{' . self::ABOUT_SLUG . '}}', ], - 'link_contact' => [ - 'type' => 'custom', - 'title' => 'Contact', - 'url' => home_url( self::CONTACT ), + 'page_contact' => [ + 'type' => 'post_type', + 'object' => 'page', + 'object_id' => '{{' . self::CONTACT . '}}', ], ]; From f97ec79ee8e39e6b79f717a4eb75ea8821b01d3f Mon Sep 17 00:00:00 2001 From: girishpanchal30 Date: Thu, 4 Jul 2024 12:11:58 +0530 Subject: [PATCH 2/2] chore: remove form block --- inc/compatibility/starter-content/contact.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/inc/compatibility/starter-content/contact.php b/inc/compatibility/starter-content/contact.php index 2f616a8f29..4b6fb9ce20 100644 --- a/inc/compatibility/starter-content/contact.php +++ b/inc/compatibility/starter-content/contact.php @@ -148,21 +148,6 @@ - -
-
-
- - - - - -
-
-
- - -