Minimal and sustainable WordPress theme for ChrisWiegman.com. https://chriswiegman.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Chris Wiegman 897b02069f
Merge branch 'develop' into main
1 week ago
.vscode Switch to new theme 1 month ago
Docker Use latest node instead of LTS 1 month ago
tests More cleanup for easy testing later 1 month ago
theme Version bump 1 week ago
.gitignore Add theme release to makefile 1 month ago
.jshintignore Switch to new theme 1 month ago
.jshintrc Switch to new theme 1 month ago
.lando.yml Switch to new theme 1 month ago
Makefile Add theme release to makefile 1 month ago
README.md Working on prev/next links 1 week ago
changelog.md Version bump 1 week ago
composer.json Update composer and json 1 week ago
composer.lock Update composer and json 1 week ago
gulpfile.js Getting theme ready for a test drive 1 month ago
package-lock.json Update composer and json 1 week ago
package.json Getting theme ready for a test drive 1 month ago
phpcs.xml Switch to new theme 1 month ago
phpunit.xml.dist Switch to new theme 1 month ago
theme-unit-test-data.xml Switch to new theme 1 month ago

README.md

WordPress Plugin Starter

Minimal and sustainable WordPress theme for ChrisWiegman.com.

Setup and Usage of the Development Environment

A fully featured development environment is included using PHP 7.4 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:

  1. Clone the repository

git clone https://gitea.chriswiegman.com/chriswiegman/chriswiegman-themme.git

  1. Start Lando
cd chriswiegman-theme
make start

When finished, Lando will give you the local URL of your site. You can finish the WordPress setup there.

WordPress Credentials:

URL: https://chriswiegman-theme.lndo.site/wp-admin

Admin User: admin

Admin Password: _password

Build and Testing

The theme minified versions of any JavaScript files:

make build

Note, assets will also build during the install phase.

The project uses the WP_Mock library for unit testing. Once setup run the following for unit tests:

make test-unit

We 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 test-lint

or, to run an individual lint, use one of the following:

make test-lint-php
make test-lint-javascript

You can run all testing (all lints and unit tests) together with the following:

make test
```w