If you want to render the pager without the entire toolbar, for example in your Magento 2 theme’s list.phtml file, insert this code at the required position:
|
1 |
<?php echo($block->getToolbarBlock()->getPagerHtml()); ?> |
Reload the page. The pager should now appear separately from Magento 2′s toolbar.
Loading the pager without the toolbar
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.