njmyers / music-post-types
Wordpress post types for music sites
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:wordpress-plugin
Requires
- composer/installers: ^1.0
README
Includes wp-json endpoints for the following
/wp-json/wp/v2/shows
/wp-json/wp/v2/venues
/wp-json/wp/v2/bands
/wp-json/wp/v2/videos
/wp-json/wp/v2/tracks
The shows endpoint includes custom filtering by dates and by venues so you can build your query like so
/shows?before_date=2018-01-10T19:36:21.232Z&
/shows?after_date=2018-01-10T19:36:21.232Z&
/shows?venue=5
Install this plugin from packagist using composer
composer require njmyers/music-post-types
Enjoy!