Plugin WordPress JSON API - How get posts for category with offset?