next-wp
next-wp copied to clipboard
getAllPosts only returns the WP max of 10 posts
I noticed that the getAllPosts function only returns a maximum of 10 posts due to the wordpress API. I suggest adding the per_page parameter to the api request to enable some pagination or just repeatedly call the API and stitch together a large list of all posts.
i like this, I think it'd be a good addition. want to open a PR on it?
Closing bc month of no activity