bonnier/willow-base-theme

There is no license information available for the latest version (4.61.5) of this package.

Base Willow theme for WordPress

This package's canonical repository appears to be gone and the package has been frozen as a result.

Installs: 3 844

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 11

Forks: 1

Open Issues: 1

Type:wordpress-theme

4.61.5 2022-08-31 10:00 UTC

This package is auto-updated.

Last update: 2022-12-31 00:17:14 UTC


README

A RESTful WordPress API Theme.

League/Fractal is used to transform the data output in the API.

API

There is extensive API documentation for the RESTful API here: Postman Documentation

The API is an extension of WordPress REST API

Requirements

  • PHP >= 7.1
  • Composer

WordPress installation

In your Roots Bedrock installation you can install the theme with composer.

Because Advanced Custom Fields isn't part of Packagist or WordPress Packagist you will need to add the repository to your main composer file, before requiring this theme.

You can find a guide here: ACF as a Composer Dependency

You will also need to add the github repository as a composer repository:

"repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/BenjaminMedia/willow-base-theme"
    }
]

Once that is set up, you can require the plugin as a composer package:

composer require bonnier/willow-base-theme

Standalone installation

For development purposes, it can be useful to set the theme up on its own.

  1. Install via git: git clone https://github.com/BenjaminMedia/willow-base-theme or through your git gui (SourceTree, GitHub Desktop or other)
  2. Navigate into the project folder: cd willow-base-theme
  3. Copy the environment file: cp .env.example .env
  4. Enter the ACF PRO license key into the environment file
  5. Run composer install
  6. All done

Tests

Tests are using Codeception's framework for WordPress.

To run tests, execute the command composer unit