From 9a451085e6f76921b3f42ce884ddafff9a07c61f Mon Sep 17 00:00:00 2001 From: ramon Date: Wed, 5 Jul 2023 09:18:03 +1000 Subject: [PATCH] The Posts Page resolves to display the Home or Index template only. Adding a check to skip the Front Page --- .../src/components/sidebar-navigation-screen-pages/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/edit-site/src/components/sidebar-navigation-screen-pages/index.js b/packages/edit-site/src/components/sidebar-navigation-screen-pages/index.js index 20a80e6c9bc1e..a11e48812a50f 100644 --- a/packages/edit-site/src/components/sidebar-navigation-screen-pages/index.js +++ b/packages/edit-site/src/components/sidebar-navigation-screen-pages/index.js @@ -108,7 +108,8 @@ export default function SidebarNavigationScreenPages() { const getPageProps = ( id ) => { let itemIcon = page; - const isPostsPage = postsPage && postsPage === id; + const isPostsPage = + postsPage && postsPage === id && homeTemplate.slug !== 'front-page'; switch ( id ) { case frontPage: