/wp-api-custom-endpoints

A Wordpress plugin that adds custom wp-api endpoints.

Primary LanguagePHPMIT LicenseMIT

WP-API Custom Endpoints

Creates custom endpoints for the wp-api. The endpoints are structured for a specific project, but can be useful as is or customized for some other use.

Works with WpAngularBlog.

Getting Started

  • Upload or clone the repo to the plugins folder
  • Activate the plugin

Endpoints

  • yourdomain/wp-json/wace/v2/home/
  • yourdomain/wp-json/wace/v2/random/
  • yourdomain/wp-json/wace/v2/cat/categoryID
  • yourdomain/wp-json/wace/v2/tag/tagID
  • yourdomain/wp-json/wace/v2/post/postID
  • yourdomain/wp-json/wace/v2/search=/query

License

This project is licensed under the MIT License - see the LICENSE.md file for details