0

From the JSON API plugin doc

I notice that I can get the post within some category

http://abc.com/?json=get_category_posts&id=9

And I can also search the post

http://abc.com/?json=get_search_results&search=keywords

However, are there anyway to implement search within some category? Thanks

2
  • 1
    please provide a link at minimum to your post so we know which plugin you are referencing. I imagine you will also get better support for the plugin by going directly to the author first since this does not seem like a WordPress specific question. Commented Apr 24, 2014 at 13:37
  • wordpress.org/plugins/json-api , Thanks Commented Apr 25, 2014 at 1:04

1 Answer 1

-1

For finding post with specific category, Here is solution.

Use https://wordpress.org/plugins/json-api/ plugin

And fire http://localhost:8080/wordpress/wp-json/wp/v2/posts?filter[category_name]=android

Change category name instead of android.

Thanks.

1
  • this doesn't actually do a search Commented Sep 24, 2016 at 3:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.