WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using JSON API for getting web services.. I have 80 records in my wp_posts table . I need to display 10 , 10 records so that my mobile app will be faster. I used the following method in this


here i get 84 records, if i specify my count to 10 , only ten records will be displayed but later on i need to fetch next ten records.

I searched json api documentation but dint find solution What method should i use to do so.. please help

share|improve this question
up vote 1 down vote accepted

First, there's the debug query arg: ?dev=1, which you can simply append to the URl.

AFAIK, the plugin relies on get_posts(), so you should be save to use &offset=10.

_Disclaimer: Not tested, as I ain't got a setup with the plugin in use.`

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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