Modified Twenty Fifteen theme with ACF JSON data for creating Artwork REST API
This theme is used to build a WordPress JSON REST API for a presentation at WordCamp US 2015, “Decoupled Development with WordPress JSON APIs”
To use this theme:
- Create a WordPress installation on your local machine
- Add this theme, overwriting the default twentyfifteen
- Install Advanced Custom Fields Pro (paid)
- Install WP API v2
- Install ACF to WP-API
- Install Better REST API Featured Images
- Sync the Artwork ACF Field Group to ACF
- Create a few Artwork posts
- Make sure your permalinks are working, and set to Post Name
- Go to [YOUR SERVER URL]/wp-json/wp/v2/artwork for JSON output