COMPANY_NAME is a custom theme created for COMPANY_NAME built on top of Sage. It contains both functional and presentable layers, implements custom admin and public experience, builds assets and views, uses Blade templating engine to render front-end and provides an ability to do more.
- Built on top of Sage
- Uses SSM Core
- Uses Blade templating engine to render views
- Uses Composer to manage dependencies
- Uses Yarn to compile assets
- Uses SASS as CSS-preprocessor
- Clone the repository to /wp-content/themes/
- git clone REPOSITORY_URL
- cd to theme’s folder
- Run composer install
- Run yarn install
- Run yarn build
- Activate the theme
- Install required plugins
app/
-
responsible for the basic theme setup
Examples:
admin.php, filters.php, helpers.php
config/
-
responsible for the theme configuration
Examples:
assets.php, app.php, view.php
resources/
-
contains assets and presentable UI elements
Examples:
scripts/, styles/, views/