offbeatwp/pagenavi

Pagenavi integration for OffbeatWP

Installs: 11 472

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:offbeatwp-service

1.1.0 2022-10-26 09:45 UTC

This package is auto-updated.

Last update: 2025-02-23 12:47:32 UTC


README

Creating a paginated view is very easy with WP-PageNavi. This service enables you to use the power of WP-PageNavi together with the power of OffbeatWP.

composer require offbeatwp/pagenavi

Add in your config/services.php:

\OffbeatWP\PageNavi\Service::class,

Usage

In you (twig-template) use:

{{ pagenavi.show(YOUR_COLLECTION) }}