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 package
- Contains both functional and presentable layers of the project
- Gets ACF fields data from View Composers and controllers and uses it to render frontend UI
- Uses Blade templating engine to render views
- Uses Composer to manage dependencies
- Uses Yarn to compile assets, optimize images, concatenation / minification
- Uses SASS as CSS-preprocessor
- Clone the repository to /wp-content/themes/
- git clone REPOSITORY_URL
- cd to theme’s folder
- Run composer update && composer install - ignore warnings
- Run yarn install
- Run yarn build
- Activate the theme
- Install required plugins
app/
-
responsible for the basic theme setup
Examples:
setup.php, filters.php
config/
-
responsible for the theme configuration
Examples:
app.php, view.php
resources/
-
contains assets and presentable UI elements
Examples:
templates/, modules/, assets/