The DesignHammer WordPress Starter theme is a hybrid theme based on Underscores, that has been reconfigured to our workflow.
A hybrid WordPress theme uses theme.json to define styles and customize the block editor while also using traditional PHP template files.
Hybrid themes leverage the block editor for content but not for building the theme itself. Block themes use the new Site Editor for building and customizing the theme directly in the block editor.
- Search and replace every instenace of the following three word instances with the new theme name. "STARTER", "Starter", and "starter".
- Move
.editorconfig
andcomposer.json
files to the root of the new websites repo. Composer will install the PHP CodeSniffer tools used for PHP linting. It also installs deployer, but if you don't need it, remove it from the composer file before runningcomposer install
. - Use our Theme Task Runner setup for compiling Sass, JavaScript and Linting our code.
Be sure to add the "Primary Menu" and "Footer Menu" under Appearence > Menus. This will fix the error from file STARTER/inc/class-button-sublevel-walker.php
.