How it Works

Posted
Comments 1

            
<txp:pages pg="pg" evaluate="5,2,8,4,6">
    <nav aria-label="Blog navigation">
      <ul class="list-inline pagination">
        <txp:newer shift="1" break="li" showalways><span aria-label="Go to previous page">Previous</span></txp:newer>
        <txp:newer shift break="li"><span aria-label="Go to first page"><txp:yield item="page" /></span></txp:newer>
        <txp:evaluate test="newer"><li class="separator"><txp:newer shift="-2" link="" break=""><span role="separator" aria-label="More pages">...</span></txp:newer></li></txp:evaluate>
        <txp:newer shift="1" break="li"><span aria-label="Go to page <txp:yield item="page" />"><txp:yield item="page" /></span></txp:newer>
        <li class="active"><txp:newer shift="0" link=""><span aria-label="current page"><txp:yield item="page" /></span></txp:newer></li>
        <txp:older shift="1" break="li"><span aria-label="Go to page <txp:yield item="page" />"><txp:yield item="page" /></span></txp:older>
        <txp:evaluate test="older"><li class="separator"><txp:older shift="-2" link="" break=""><span role="separator" aria-label="More pages">...</span></txp:older></li></txp:evaluate>
        <txp:older shift break="li"><span aria-label="Go to last page"><txp:yield item="page" /></span></txp:older>
        <txp:older shift="1" break="li" showalways><span aria-label="Go to next page">Next</span></txp:older>
      <ul>
    </nav>
</txp:pages>
            
        

Author
Categories Five Pages

Comments

  1. (Author)

    This is a test comment. If it were an actual comment, you would be dazzled by the brilliance of the thinking.

Commenting has expired for this article.