opsone / wordpress-theme-kit
Create empty wordpress theme with minimal developper kit
Installs: 197
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 8
Forks: 2
Open Issues: 0
Type:project
Requires
- mobiledetect/mobiledetectlib: ^2.8
- respect/validation: ~2.2
- dev-master
- 5.0.18
- 5.0.17
- 5.0.16
- 5.0.15
- 5.0.14
- 5.0.13
- 5.0.12
- 5.0.11
- 5.0.10
- 5.0.9
- 5.0.8
- 5.0.7
- 5.0.6
- 5.0.5
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 4.1.1
- 4.1.0
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.5
- 3.4.4
- 3.4.3
- 3.4.2
- 3.4.1
- 3.4.0
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.4
- 3.2.3
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.0
- 3.0.1
- 3.0.0
- 2.1.1
- 2.1
- 2.0
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.0
- 0.1.2
- 0.1.1
- 0.1.0
- dev-dev
This package is not auto-updated.
Last update: 2025-01-04 18:17:11 UTC
README
Create empty wordpress theme with minimal developper kit
Installation
Install composer in your project:
$ curl -s https://getcomposer.org/installer | php
Simply install with composer:
$ php composer.phar create-project opsone/wordpress-theme-kit path/to/install/
webpack encore
Launch build files, Mode Development
$ npm run dev
Launch watcher files, Mode Development
$ npm run watch
Launch watcher files and reload browser, Mode Development
$ npm run dev-server
Make for Production
$ npm run build
Optimize image
$ npm run imageOptim
Launch prettier
$ npm run prettify
Assets
Use assets file in templates wordpress
$ echo asset_url('logo.png'); $ // dev => http://localhost:3000/d8de0a51d2c1ffadf2674553ff70fad2.png $ // prod => http://localhost/assets/build/d8de0a51d2c1ffadf2674553ff70fad2.png