Starter WordPress theme. Features UIKit, SCSS compiler, TS/JS linting and minifying, and class-based functions.php
Requires a minimum of WordPress 6.2, PHP 8.2, and Composer 2
MC Starter Theme is built with Composer and Vite usage in mind and is the recommended way to use this theme.
$ nvm i
: Installs and switches to necessary node defined in.nvmrc
$ yarn install
: Install yarn packages (postinstall will run composer install and vite build)
All minified assets are created to the /build/
directory of the theme.
$ yarn run build
: Builds assets folder, then compiles minified assets
$ yarn run watch
: Watches assets folder for changes, then compiles minified assets
If you decide to update the psr-4
namespace prefix, you can use dump-autoload to do that without having to go through an install or update.
composer dump-autoload
- PSR-4 Autoloader
- PSR-2 PHP Coding Style Guide
- Wordplate Extended ACF
- Vite
- Prettier
- UIkit
- BEM Introduction
- Sass 7-1 Pattern
- Sass Lint
- TypeScript
- Wordplate Extended ACF is included as the means to build fields, field groups, reusable fields
- Custom
ACF Utility Functions
are included in the theme to retrieve ACF data in a more effecient way: (https://github.com/ModernClimate/mc-wp-starter-theme/blob/master/doc/acf/README.md)
Check out the Code Snippets Repo for additional functionality.
The following resources are included or used in part within the theme package.
- Underscores by Automattic, Inc. - Licensed under the GPL, version 2 or later.
All other resources and theme elements are licensed under the GNU GPL, version 2 or later.