Marketplace

/

Plugins

/

PaginationJS

PaginationJS

Divhunt

Easily paginate your website's content, perfect for both CMS-based and static elements.

Overview

A front-end based pagination system for anything: CMS, REST API, loop items. Whatever you see on screen, you can paginate it.

Instructions

Installation 

  • Go to your Divhunt project's settings.
  • Navigate to the 'Browse Plugins' section and install the 'PaginationJS' plugin.

Create a proper structure

  • We need one div that's going to hold our items and pagination. Let's name that div 'Pagination Wrapper'.
  • Within our 'Pagination Wrapper,' we need two divs: one to hold all the items we want to paginate and another for the pagination controls.
  • Pagination div needs to be empty. Plugin will push data inside of it.

Apply transform

  • Select 'Pagination Wrapper' div.
  • Access the settings panel and select the 'Pagination' option under the 'Transform' dropdown.

Customizing Pagination Settings

  • Items per page: Choose how many items you want to see per page.
  • Current page: Set the starting page when a user visits the website.
  • Show previous/next: Display previous and next arrows at the start and end of pagination for easier navigation.
  • Auto hide previous/next: Automatically hide arrows if the user is on the first or last page.
  • Show page numbers: Option to display or hide page numbers if you prefer using only arrows for navigation.
  • Show navigator: Add a navigator next to the pagination to display the current page and total pages.
  • Animation: Set smooth animations for a better user experience when the user changes pages.
  • Styles: Adjust basic properties under the styles tab to match your website design.

Create and sell your templates and plugins

Built in Divhunt

We use cookies.

By clicking “Accept All”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View ourCookie Policyfor more information.

Optahunt

Preferences

Manage your cookie preferences.

Essentials

Always Active

These are required for the website to work, like remembering your privacy settings, keeping you logged in, or enabling secure payments.

Performance

These help us understand how people use our site (like which pages are most popular) so we can make improvements.

Personalization

These allow the site to remember your preferences (such as language or region) and provide enhanced features.

Advertising & Targeting

These are used to deliver ads more relevant to you, limit how often you see them, and measure campaign performance.

Save my preferences

You can always change these settings later via ourCookie Policy pagepage, or via the cookie widget placed at the bottom left of the page.