herrucules - 2 years ago

Hi, Could you point me out how to loop on each posts.links rather then just doing {{posts.links|raw}} Or if there's any way to set the classes on each li or anchor tag inside of this links.


herrucules - 2 years ago

oh i've already found it.. https://laravel.com/docs/5.4/pagination#paginating-eloquent-results sorry, I'm still new to Laravel, so still much to dig down.

oliverusselldev - 4 months ago

You can also follow this tutorial on Laravel paginate to check how you can apply pagination in your pyrocms site.