Build Your Course The Easy Way
Get Started Free

part

Each `part` returned by the paginate.parts array represents a link in the pagination's navigation.

In this article:


The example below shows how the part object's attributes can be accessed through a for loop that goes through the paginate.parts array.

{% for part in paginate.parts %} {% if part.is_link %} {{ part.title | link_to: part.url}} {% endif %} {% endfor %}

Returns true if the part is a link, returns false if it is not.

part.title

Returns the title of the part.

part.url

Returns the URL of the part.

Contact support or access our 24/7 Live Chat:

Contact Support Live Chat

Need Help? Live Chat with Us.