最近我做了一个costum wordpress主题,之前我已经做了一些,但这次我真的对这个问题感到困惑:
问题是;在costum主题中,我使用的是:
get\\u template\\u directory\\u uri()获取当前主题的url,以使其js文件和css文件正常工作,但在我当前主题名称的位置,它将替换为十二个主题名称,我的costum主题不是十二个的子主题。
风格css标题代码:
/*
Theme Name: Nicole \'s New Theme.
Theme URI: http//:www.itmatic.io/.
Description: This Theme is created by itmatic , please do not edit anything , just make an child theme and do the changes.
Version: 1.0
Author: Itmatic
Author URI: http//:www.itmatic.io/.
*/
@import url("assets/css/reset.css");
@import url("assets/css/style.css");