Support

Home Forums Event Espresso Premium espresso_pagination() change posts per page

espresso_pagination() change posts per page

Posted: June 12, 2018 at 9:53 am

Viewing 2 reply threads


icl

June 12, 2018 at 9:53 am

I’m using espresso_pagination() in a custom archive page, and it defaults to 5 results per page. Is there a parameter to change that value?


Josh

  • Support Staff

June 12, 2018 at 10:07 am

Hi icl,

You’ll actually change the query to set posts per page. espresso_pagination() is just a wrapper for the WP paginate_links() function and adds the pagination links only.

https://developer.wordpress.org/reference/functions/paginate_links/


icl

June 12, 2018 at 10:29 am

Thanks!

Viewing 2 reply threads

The support post ‘espresso_pagination() change posts per page’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso