wp-api-theming
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
usingget_post_class()
Installation
- Install and activate the WP REST API plugin . Leave it on the
develop
branch. - Clone this repo into your
wp-content/plugins/
folder:git clone [email protected]:kwight/wp-api-theming.git
- Activate the plugin from
Plugins
in the admin.