Custom Pagination Custom Pagination

Custom Pagination

Created by: Dimitry Zolotaryov

Rating:
Downloaded: 5k times

With the Custom Pagination plugin, a user may customize the look of a post’s next and previous links using the HTML editor. It is built by WebIT.ca (Dimitry Zolotaryov) and funded by DateDaily.com: an online dating and relationship blog.

The link is created by selecting the text label within a post’s body and clicking the link icon. In the Link URL field, the following values will produce a link to another page:

  • page:next links to the next page
  • page:prev or page:previous links to the previous page
  • page:first links to the first page of the post
  • page:last links to the last page of a post
  • page:n links to the nth page of a post (e.g. page:2 for the second page)

If link is directing to a page that does not exist — for instance page:next on the last page –, the link and the link text do not appear.

All links processed by Custom Pagination will have the added class name ‘page’. If you wish to style such links, in your CSS, add the line:

a.page { /* page style goes here */ }

For more information, visit the Custom Pagination plugin homepage.

Screenshots

  • Selecting text for a link to the next page
  • Adding the next page link text
  • The generated link

Categories

Get New Themes & Resources