【文件属性】:
文件名称:grunt-wp-foundation:使用基础和下划线的 WordPress 主题项目模板
文件大小:73KB
文件格式:ZIP
更新时间:2021-07-04 09:41:19
CSS
grunt-wp-基础
使用创建一个 WordPress 主题。
安装
如果您还没有这样做,请安装 。
安装 grunt-init 后,将此模板放在您的~/.grunt-init/目录中。 建议您使用 git 将此模板克隆到该目录中,如下所示:
Linux/Mac 用户
git clone git@github.com:mrdink/grunt-wp-foundation.git ~/.grunt-init/wp-foundation
视窗用户
git clone git@github.com:mrdink/grunt-wp-foundation.git %USERPROFILE%/.grunt-init/wp-foundation
用法
在命令行中,cd 进入一个空目录,运行此命令并按照提示进行操作。
grunt-init wp-foundation
请注意,此模板将在当前目录
【文件预览】:
grunt-wp-foundation-master
----rename.json(57B)
----root()
--------sidebar.php(318B)
--------functions.php(797B)
--------content-page.php(723B)
--------footer.php(498B)
--------comments.php(3KB)
--------index.php(1KB)
--------content.php(1KB)
--------inc()
--------content-none.php(1KB)
--------archive.php(1KB)
--------404.php(749B)
--------assets()
--------author-bio.php(1KB)
--------header.php(2KB)
--------languages()
--------screenshot.png(10KB)
--------Gruntfile.js(8KB)
--------page.php(645B)
--------search.php(1KB)
--------.csscomb.json(9KB)
--------.gitignore(349B)
--------page-templates()
--------README.md(1009B)
--------single.php(941B)
--------bower.json(321B)
--------.editorconfig(221B)
--------style.css(804B)
--------content-search.php(650B)
----template.js(3KB)
----.gitignore(13B)
----README.md(2KB)