Modifications to the WP-API plugin (`develop` branch) for theming.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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()


  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
  3. Activate the plugin from Plugins in the admin.