Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posts_per_page #3

Open
chriscoyier opened this issue Aug 30, 2019 · 0 comments
Open

posts_per_page #3

chriscoyier opened this issue Aug 30, 2019 · 0 comments

Comments

@chriscoyier
Copy link
Contributor

Would like to be able to do:

/wp-json/wp/v2/posts/?orderby=rand&posts_per_page=1

But that breaks. The custom orderby stuff in functions.php breaks it I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant