feat(admin): rebuild page display settings

This commit is contained in:
2026-08-19 00:07:13 +08:00
parent 09b1e8fd35
commit 480e2bf07e
117 changed files with 1815 additions and 9081 deletions
@@ -32,7 +32,6 @@ if (!function_exists('aksrt_header_slide_excluded_page_templates')) {
'templates/pages/page-verify-email.php',
'templates/pages/page-download.php',
'templates/pages/page-download-file.php',
'templates/pages/page-forums.php',
];
}
}
@@ -65,14 +64,6 @@ if (!function_exists('aksrt_header_slide_matches_query')) {
return is_singular('post');
case 'search':
return is_search();
case 'topics':
return is_tax('topics');
case 'forum_home':
return is_page_template('templates/pages/page-forums.php');
case 'forum_plate':
return is_singular('plate') || is_post_type_archive('plate');
case 'forum_post':
return is_singular('forum_post');
case 'page':
if (!is_page()) {
return false;