Wordpress "Template missing",但是所有必需的文件都在那里
Wordpress "Template missing", however all required files are there
我使用的是 WordPress 4.2.2,我自己的自定义主题和 xililanguage 插件。在我启用 xililanguage 标志之前,主题一直正常工作,我认为这可能会破坏主题。现在我无法切换到我的主题,因为 "template missing" 错误。有什么想法我该怎么做?
我的文件夹结构:
| comments.php
| footer.php
| functions.php
| header.php
| index.html
| page.php
| sidebar.php
| single.php
| style.css
| style.less
| wp_bootstrap_navwalker.php
+---css
+---fonts
\---js
好的,我从 twentyfourteen 主题中复制粘贴了一些不需要的模板文件,启用了我的主题,然后删除了这些文件,显然它起作用了。从那以后,我对主题没有任何问题。我仍然不知道是什么导致了这个问题。
我使用的是 WordPress 4.2.2,我自己的自定义主题和 xililanguage 插件。在我启用 xililanguage 标志之前,主题一直正常工作,我认为这可能会破坏主题。现在我无法切换到我的主题,因为 "template missing" 错误。有什么想法我该怎么做?
我的文件夹结构:
| comments.php
| footer.php
| functions.php
| header.php
| index.html
| page.php
| sidebar.php
| single.php
| style.css
| style.less
| wp_bootstrap_navwalker.php
+---css
+---fonts
\---js
好的,我从 twentyfourteen 主题中复制粘贴了一些不需要的模板文件,启用了我的主题,然后删除了这些文件,显然它起作用了。从那以后,我对主题没有任何问题。我仍然不知道是什么导致了这个问题。