0

我正在使用从 Appthemes 下载的 Hirebee 主题。我已经成功创建了它的子主题,并且可以修改根目录中的文件。

现在,我想编辑放置在其中的文件,hirebee/includes/some-file.php但我无法编辑相同的文件。

我已经尝试过在我的子主题中具有相同的结构,但这并没有帮助。我尝试使用 require_once 在我的子主题中包含相同的文件,但返回给我一个空白页。

我想知道我们如何在hirbee的案例中扩展父主题类,或者我可以使用任何其他方式来覆盖那些特定的子文件夹文件。

4

1 回答 1

-2

There're multiple mandatory things to do for a child theme to be effective.

I suggest you to check the Wordpress documentation as I can't see what missing after reading your issue :

https://codex.wordpress.org/Child_Themes

于 2015-04-09T15:15:06.367 回答