To add to the development of this theme, please install the following:
Clone this repository to your local environment and create a new branch describing a feature (like, say, search-result-tiles
).
To start developing on this theme, you'll need to install the necessary Node.js and Composer dependencies.
Open your CLI (e.g. Terminal; PuTTY; Command Prompt) and go your project directory (i.e. cd /path/to/RDB
).
Run the following commands:
$ composer install
$ npm install
RDB
comes packed with CLI commands tailored for WordPress theme development :
composer lint:wpcs
: checks all PHP files against WordPress' Official PHP Coding Standards.composer lint:php
: checks all PHP files for syntax errors.composer make-pot
: generates a .pot file in thelanguage/
directory.npm run watch
: watches all SASS files and recompiles them to css when they change.npm run compile:css
: compiles SASS files to css.npm run lint:scss
: checks all SASS files against CSS Coding Standards.npm run lint:js
: checks all JavaScript files against JavaScript Coding Standards.
- 2020-07-16: Initial commit.
- 2020-07-21: Perfect setup with 0 linter & compiler errors.
- 2020-07-21: Optimized all
content-{$post_type}.php
file output; newtheme-functions.php
file. - 2021-04-04: Updated git repo to remove files that can compiled from the CLI.