This version of the theme is compatible with the Full site editing of Wordpress 5.8/5.9 and use Sage 10 in order to manage the whole theme development
Version | Branch | PHP Version | WP Version |
---|---|---|---|
2022 | master | 8.0 or greater | 5.8.2 |
Currently based on Sage 10 at the commit e533e1bd1513790431d9a4fa049458524be7439e
Make sure all dependencies have been installed before moving on :
- WordPress >= 5.8.1
- PHP >= 8.0 (with php-mbstring enabled)
- Composer 2.0 or greater
- Node 14 or 16 (prefered)
- Yarn
- You also need Advanced Custom Fields Pro
Clone this repository to your theme directory /wp-content/themes
.
git clone https://github.com/inrage/wordpress-theme-2022.git inrage
Then, to install the theme, run the following commands:
composer install
And install node dependencies and build this project in production mode:
yarn
yarn build:production
For the moment, this theme is based on Laravel Mix.
We will use roots/bud when it will be available on Sage 10.
yarn start
— Compile assets when file changes are made, start Browsersync sessionyarn build
— Compile and optimize the files in your assets directoryyarn build:production
— Compile assets for production