fivefifteen/primer
最新稳定版本:0.1.0
Composer 安装命令:
composer require fivefifteen/primer
包简介
A WordPress theme boilerplate. The perfect starting point for your custom WordPress theme.
README 文档
README
Primer
A WordPress theme boilerplate. The perfect starting point for your custom WordPress theme.
Table of Contents
Features
- Front-end dependency management using GitHub & npm as repositories via Fetcher
- JavaScript & CSS/SCSS compilation/minification via Piler
- Boilerplate code for configuring custom post types, taxonomies, and user roles
- Some sensible plugin hooks:
- Gravity Forms: Disable the built-in theme (so we can create a custom one)
- Updraft Plus: Prevent backups being created for non-production environments
- Yoast SEO: Custom breadcrumb separator when using the
yoast_breadcrumbfunction
Requirements
Usage
Run the following command (replacing "my-new-theme" with your theme's slug):
composer create-project fivefifteen/primer my-new-theme
Commands
| Command | Description |
|---|---|
composer build |
Compiles/minifies JavaScript & CSS/SCSS files via Piler |
composer fetcher |
Displays a list of available Fetcher commands |
composer fetcher install [...dependencies] |
Installs dependencies from GitHub or npm |
composer setup |
Installs frontend dependencies and builds them |
composer watch |
Watches for changes to JavaScript & CSS/SCSS files and recompiles/minifies as needed |
Related Projects
- Basis - A WordPress boilerplate. Get a local dockerized WordPress project up and running complete with secrets encryption, dependency management/compilation, and more by running a single command.
- WordUp - A WordPress Deployer Recipe.
License Information
GPL-2.0 (See the license.md file for more info)
统计信息
- 总下载量: 73
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2024-12-13