Minimal and sustainable WordPress theme for ChrisWiegman.com.
You can download the latest version from the releases page in this repo.
A fully featured development environment is included using PHP 8.2 and more. Scripts to run commands including setup and more use make as a task runner. See the instructions below for getting started.
Before starting your workstation will need the following:
- Clone the repository
git clone https://github.com/chriswiegman/chriswiegman-theme.git
- Start Kana
cd chriswiegman-theme
make start
When finished, Kana will open a development version of your site in the browser and you're ready to go
WordPress Credentials:
URL: http://chriswiegman-theme.sites.kana.li/wp-admin
Admin User: admin
Admin Password: password
Xdebug 3 released a number of changes that affect the way Xdebug works. Namely, it no longer listens on every request and requires a "trigger" to enable the connection. Use one of the following plugins to enable the trigger on your machine:
- Xdebug Helper for Firefox (source).
- Xdebug Helper for Chrome (source).
- XDebugToggle for Safari (source).
To enable Xdebug using the built-in Kana configuration use the following:
kana xdebug on
make build
Note, assets will also build during the install phase if you use make start
.
I also use PHP_CodeSniffer with WordPress Coding Standards and JSHint with WordPress' JS Standards. Linting will automagically be setup for you if you use Visual Studio Code. If you want to run it manually use the following:
make lint