我在配置和设置wordpress子主题时遇到一些问题。
我买了一个主题,当我试着做一个孩子的时候。我认为子函数也不会触发,重写文件也不会工作。
Tree folder:

我的主题已激活。
style.CSS:
/*
Theme Name: Kidslife Child
Theme URI: http://localhost/child/
Description: Kidslife Child Theme
Author: localhost
Author URI: http://localhost
Template: kidslife
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kidslife-child
*/
@charset "utf-8";
/* CSS Document */
@import url("../kidslife/style.css");
我试着用这个
function.php:

但是
wp_die
从未触发。
此外,在Tree folder, 我添加了自定义。js(与父项位于同一文件夹/名称中),他从未加载。
我做错了什么?
谢谢