wp-api-theming icon indicating copy to clipboard operation
wp-api-theming copied to clipboard

Modifications to the WP-API plugin (`develop` branch) for theming.

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 [email protected]:kwight/wp-api-theming.git
  3. Activate the plugin from Plugins in the admin.