Closed mateusneves closed 9 years ago
Thanks, I'll look into this :)
Hey @mateusneves
Sorry its been so long, I've been considering creating a method for setting the number of posts per page for a while, however I think this won't be ideal.
The class has been built as a utility for making custom post types with a focus on creating a better admin interface, with no means of effecting the front end.
I would argue it would be simpler to modify the posts per page within templates using WP_Query()
or get_posts()
, or better still creating an action to modify pre_get_posts
query. This way you will have more control on how and where the number of posts is being modified.
Thanks for your request :)
Hey @jjgrainger, im understand your explanation and i agree with that. Thaks for your answer.
I think it would be great to create a method to set the number of posts per page