diff --git a/packages/edit-site/src/utils/get-is-list-page.js b/packages/edit-site/src/utils/get-is-list-page.js index f7312ec3c1c29..0fa818c28cb51 100644 --- a/packages/edit-site/src/utils/get-is-list-page.js +++ b/packages/edit-site/src/utils/get-is-list-page.js @@ -14,7 +14,9 @@ export default function getIsListPage( isMobileViewport ) { return ( - [ '/wp_template', '/pages' ].includes( path ) || + [ '/wp_template', '/wp_template_part/all', '/pages' ].includes( + path + ) || ( path === '/patterns' && // Don't treat "/patterns" without categoryType and categoryId as a // list page in mobile because the sidebar covers the whole page.