我创建了一个儿童主题"my-theme" . 时尚。css我什么也没写,只是写了一些强制性的细节。
/*
Theme Name: my-theme
Theme URI: http://example.com/
Description: Child theme for the Twenty Twelve theme
Author: Bhuvnesh
Author URI: http://example.com/about/
Template: my-theme
Version: 0.1.0
*/
我写的所有风格规则"my-theme/css/style.css" 文件现在在index.php 我在打电话<?php get_header(); ?>
这将调用header.php 现在在header.php 文件我将该css文件称为<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.7.2.min.js"> </script>
这也是不加载的。我知道我在调用文件或函数时出错。php。
我刚刚复制了完整的文件functions.php 属于twentytwelve . 我有什么错误吗?
请告诉我写什么functions.php 以及如何调用js目录下的js文件等文件。php文件位于includes目录下,图像位于images目录下。
我搜索了如何创建子主题,已经完成,但无法调用文件。
请帮帮我!我会非常感谢你!!!!