我用以下结构创建了一个Wordpress儿童主题(mytheme-child):
style.css
functions.php(空)
夹
> php.php
在父主题中, php.php
文件通过functions.php
文件包含在主题中,并具有以下条目:
require_once( get_template_directory() . '/folder/php.php' );
我怎么能覆盖父php.php
与儿童主题php.php
?