Can you share the code you’ve used to register the custom taxonomy? And, just to confirm, you’re running Beta 9?
Here’s the code that creates the custom taxonomy: http://pastebin.com/3miLwDrz
I am running Beta 9.
Thanks!
This is a multisite, if that makes any difference…..
In Beta 9, we changed the behavior of taxonomies to live at top-level routes.
Given your registration code, the creator terms endpoint should live at <site-url>/wp-json/wp/v2/creator/
. I’ve installed your code snippet locally and verified this is the case for me.
Also, if you’re ever in doubt as to which endpoints a site supports, you can visit <site-url>/wp-json/
for the full list.
Yep, that does it! Easy peasy. 🙂
Thanks for letting me know about the list of endpoints – that’s really helpful.
I have a follow-up question… I’m using WP 4.4’s fancy new term meta, and it looks like the REST API doesn’t pick that up. Is there a way to access term meta with the REST API?
Is there a way to access term meta with the REST API?
Not without a bit of extra code at this time. You’ll need to use register_rest_field()
, see http://v2.wp-api.org/extending/modifying/