I'm using the native EE pagination and it's only showing the next two pages (i.e. 1, 2 & 3) when there's actually 4 pages. Once you go to page two it then shows all numbers (1,2,3 & 4) but I'd like it to show all pages all the time.

Any ideas on how to do this?

Here's my code:

    <div class="top-strip subtle pagination actual_pagination">
            <h3><span class="page-label">Page:</span>
                    <a href="{pagination_url}" class="page-{pagination_page_number} {if current_page}current{/if} pagination-button">{pagination_page_number}</a>
            <h3 class="right">
                    <a href="{pagination_url}" class="page-first pagination-button">First</a>
                    <a href="{pagination_url}" class="page-previous pagination-button">Previous</a>
                    <a href="{pagination_url}" class="page-next pagination-button">Next</a>
                    <a href="{pagination_url}" class="page-last pagination-button">Last</a>
    </div><!-- /end #top-strip -->

Thanks in advance,


1 Answer 1


You want to mosey on over to page_padding land.


{pagination_links page_padding="10"}


This will show up to 10 page numbers on either side of the current page in the pagination links.

  • Thanks @jrothafer, do you know which version page_padding was introduced with? Commented Dec 14, 2015 at 10:00
  • Nope, the term doesn't even show up in the change log for EE2, so I'm guessing sometime during EE1.
    – jrothafer
    Commented Dec 14, 2015 at 13:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.