自定义WordPress主题:作弊错误

时间:2014-04-26 18:02:27

标签: php html css wordpress themes

我在WP 3.9上从零开始开发一个自定义主题,每当我激活主题时,它就会给我带来烦人的Cheatin'呃&#39?;错误。

我已经将我的主题剥离到了基础知识,一个style.css和一个index.php,但这仍然没有消除这个恼人的错误。

请注意,这是我即将为客户创建的即将推出的页面,我不需要全神贯注并在此创建循环。 index.php就足够了。

的style.css

/*
Theme Name: Coming Soon
Theme URI: [actual URi with held]
Author: JadedEric
Author URI: [actual URi with held]
Description: Custom theme
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: animations, coming soon, countdown, flexible, fluid, jquery, responsive, retina, retina-ready, social icons, subscription, timer, tweets, twitter feeds, under construction

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*
    Styles will be added once I have my theme working, for now, it does not need styling.
*/

的index.php

<?php
/*
 *  Default template file
 */
?>
<!doctype html>
<html class="no-js" lang="en">
<head>
    <meta charset="UTF-8">
    <title>Custom Theme 101</title>
</head>
<body>

    <p>Testing theme</p>

</body>
</html>

我的意思是,这是最基本的。在这个主题上没有什么疯狂的。我在./wp-content/themes/booyah' theme/*下创建了一个目录,其中包含screenshot.png,style.css和index.php文件。非常标准。我在3天前创建了一个自定义主题,但是现在,我甚至无法在没有被告知我作弊的情况下对其进行排序。

谷歌搜索不会带回任何东西,但不会修复3.4.2,我也不想将我的版本降级为“解决问题”。

其他人看过这个问题,知道如何解决?

更新

这是ID-10-T问题。感谢下面的人协助:)

0 个答案:

没有答案
相关问题