Querying posts according to custom taxonomy term?
-
Does the api support the same query vars as standard WordPress queries?
suppose I have a taxonomy called location, normally in WordPress I would write
www.mysite.com/?location=my-termto get results for “my-term” taxonomy archive
I tried to do that with the JSON API
www.mysite.com/wp-json.php/posts/?location=my-termbut it doesn’t work – is this supported?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Querying posts according to custom taxonomy term?’ is closed to new replies.