jadrowp
jadrowp copied to clipboard
WordPress FSE Theme
Jadro
WordPress FSE theme by JadroWP.
Getting Started
Theme Preview

Development
Requirements
Setup
- Run
pnpm installto install Node dependencies. - Run
pnpm dlx husky add .husky/pre-commit 'pnpm dlx lint-staged'to setup Husky. - Run
composer installto install composer dependencies. - Run
cp .env.example .envto create.envfile. - Edit
DEV_SERVER_URLin your.envfile to match the url of your local WP server.
Available Scripts
pnpm run dev- Starts dev server in watch mode.pnpm run ready- This will fix version, POT, etc and rebuilds assets.pnpm run lint:js- Run this to check if there are any issues in JavaScripts files.pnpm run lint:css- Run this to check if there are any issues in SCSS files.pnpm run deploy- This will prepare the theme for the production/release. Zip file will be insidedeployfolder.
Releasing:
- Update the version in
package.jsonfile. - Run
pnpm run ready. - Push the changes to the repository directly to master or create a PR to master.