diff --git a/functions.php b/functions.php index 3965a4e..9b5f900 100644 --- a/functions.php +++ b/functions.php @@ -27,6 +27,9 @@ require get_template_directory() . '/inc/theme-setting.php'; // 因为它用到 kratos_option) require get_template_directory() . '/inc/theme-mourning.php'; +// 哀悼说明页(固定路径 /memory,由主题判定路由,不写数据库) +require get_template_directory() . '/inc/theme-mourning-page.php'; + // 文章配置 require get_template_directory() . '/inc/theme-article.php'; diff --git a/header.php b/header.php index a7c28cd..9231cae 100644 --- a/header.php +++ b/header.php @@ -22,6 +22,14 @@ +)。 + * 主题之前没有调用它,导致所有挂在这个钩子上的东西(插件、主题自己的提示条)静默失效。 + * 补上是必须的:不调用它不会报错,只会"什么都没发生",极难发现。 + */ +wp_body_open(); +?>