WP-for-Church / Sermon-Manager

Sermon Manager for WordPress is the #1 plugin for churches who want to manage their sermons easily and missionally.
https://wordpress.org/plugins/sermon-manager-for-wordpress/
GNU General Public License v2.0
43 stars 36 forks source link

Preacher-Api shows only 10 entries #262

Open TiMS-Design opened 5 years ago

TiMS-Design commented 5 years ago

Hello, I'm using the API to retrieve the preachers. But I get only 10 preachers displayed as JSON result. Is there a limitation? My http request: /wp-json/wp/v2/wpfc_preacher

nikola3244 commented 5 years ago

Hi, just add a per_page GET parameter, for example: /wp-json/wp/v2/wpfc_preacher?per_page=100

It's all documented in REST API Handbook: https://developer.wordpress.org/rest-api/reference/posts