Starter WordPress plugin. Features SCSS compiler, TS/JS linting and minifying, and class-based php.
Requires a minimum of WordPress 6.0, PHP 8.0, and Composer 2
MC Starter Plugin is built with Composer and Vite usage in mind and is the recommended way to use this plugin.
$ 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
- Wordplate Extended ACF is included as the means to build fields, field groups, reusable fields
- Custom
ACF Utility Functionsare 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.