views_pager_mini_count
The Views Pager Mini Count module extends Drupal's built-in Views mini pager with two new pager plugins that give site visitors clear, at-a-glance pagination context — without requiring a full pager with numbered page links.
Features
The module provides two pager plugins, both available in any View under the Pager settings:
Mini pager with page count — displays the current page number alongside the total number of pages.
Example: Page 3 of 12
Mini pager with result range — displays the exact range of results currently shown alongside the total item count.
Example: 21–30 of 2 309
Both plugins keep the lightweight previous/next link navigation of the core Mini pager, while adding the contextual information that users need to orient themselves in large result sets.
Use cases:
- Search result pages where users need to know how many results exist.
- Content listings (articles, products, events) where showing a result range improves perceived usability.
- Any situation where the full pager (with numbered page links) would be visually too heavy, but the core Mini pager lacks enough information.
Post-Installation
- Enable the module via Extend (
/admin/modules) or with Drush:drush en views_pager_mini_count. - Open any View in the Views UI (
/admin/structure/views). - Click the Pager settings link for the display you want to configure.
- Select either "Paged output, mini pager with page count" or "Paged output, mini pager with result range".
- Configure the items per page, link labels and any other options as needed, then save the View.
No additional configuration page is required. The selected pager will render automatically using the module's Twig templates. To customize the HTML output, copy one or both templates into your active theme:
views-mini-pager-count.html.twigviews-mini-pager-range.html.twig
Supporting this Module
If this module saves you time, consider contributing back: report bugs, review open issues, or submit patches on the project's issue queue.