Modifications to the WP-API plugin (`develop` branch) for theming.
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
wp-api-theming.php

README.md

WP API Theming

WP API Theming is meant for use on top of the coming WordPress core REST API. It fills in some of the missing parts required for theme development.

Requires the WP REST API plugin.

This plugin currently adds the following to the posts and pages endpoints:

  • post_classes using get_post_class()

Installation

  1. Install and activate the WP REST API plugin . Leave it on the develop branch.
  2. Clone this repo into your wp-content/plugins/ folder: git clone git@github.com:kwight/wp-api-theming.git
  3. Activate the plugin from Plugins in the admin.