hybridelabs / wordpress-template-boilerplate
Boilerplate template for Wordpress using by Hybride Conseil
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 4
pkg:composer/hybridelabs/wordpress-template-boilerplate
Requires
- wordplate/acf: ^11.0
README
Boilerplate template for Wordpress used by Hybride Conseil
How to use
Run the following composer command to install the theme :
composer create-project deshiloh/wordpress-template-boilerplate
Install dependencies with :
npm install
This theme use Laravel Mix follow the documentation to know how to use it. No build scripts required on package.json since the new version. Just make your configuration in the webpack.mix.js.
basics commands:
# command in dev
npx mix watch
# command for production
npx mix --production
TODO before start coding
- Change the project name in
style.css. - for security reasons update the
wp-config.phpfile :
define( 'DISALLOW_FILE_EDIT', true );
define( 'DISALLOW_FILE_MODS', true );
Github
- Create a secret
TOKENin your repository settings under the Secrets section. TheTOKENis used for the semantic release of the project.
Gitlab
- Create a secret
GL_TOKENin your repository settings variables. TheGL_TOKENis used for the semantic release of the project.
Things to know
- For performance reasons Tailwindcss is installed and configured with
postcsswithout a preprocessing tool like Sass, Less, or Stylus, more details here. postcssis configured with thepostcss-nestingplugin, that allow you to write css like scss. Go to the repo for more informations.