WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

DF-Pagination

DF-Pagination is a simple, flexible and cool pagination plugin which provides users with better navigation on your WordPress site.

How can I style paginatios?

You may use the css either from style.css or just copy the custom css from installation tab and paste it into your themes style.css and then edit as you wish.

How can I override the default pagination settings?

The df_pagination() function takes one optional argument, in query string format, which allows you to override the global settings. The available options are:

  • title - The text/HTML to display before the pagination links
  • nextpage - The text/HTML to use for the next page link
  • previouspage - The text/HTML to use for the previous page link
  • before - The text/HTML to add before the pagination links
  • after - The text/HTML to add after the pagination links
  • empty - Display before markup and after markup code even when the page list is empty
  • range - The number of page links to show before and after the current page
  • anchor - The number of links to always show at beginning and end of pagination
  • gap - The minimum number of pages before a gap is replaced with an ellipsis (...)

You can even control the current page and number of pages with:

  • page - The current page. This function will automatically determine the value
  • pages - The total number of pages. This function will automatically determine the value

Example :

<?php if(function_exists('df_pagination')) {
    df_pagination('range=4&anchor=2&nextpage=Next&previouspage=Previous');
} ?>

Requires: 2.7.0 or higher
Compatible up to: 3.3.2
Last Updated: 2011-12-30
Downloads: 4,805

Ratings

3 stars
3.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
50,2,1