CalderaWP / searchwp-api-route

Adds an endpoint to the WordPress REST API for searching via SearchWP
33 stars 15 forks source link

page parameter does not work :( #9

Open template01 opened 6 years ago

template01 commented 6 years ago

Title says it all.

Example: http://wp.url/index.php/wp-json/swp_api/search?s=dolorum&posts_per_page=1&page=20

Any easy fix out there?

Cheers :)

kvnol commented 5 years ago

I have the same problem.

kvnol commented 5 years ago

@Shelob9, can you help us with this?

conschneider commented 4 years ago

Hi there,

What happens when you try? Do you simply remain on page 1 or is the response empty?

/wp-json/swp_api/search?s=myterm&posts_per_page=5&page=3 works for me on my test site. Do you have a staging I can send a test call to to check?

simplenotezy commented 4 years ago

I have tested and can confirm it is working fine