Plugin info

Total downloads: 7,460
Active installs: 200
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 1/4/2010 (5840 days ago)
Added to WordPress: 7/29/2009 (16 years old)
Minimum WordPress version: 2.7
Tested up to WordPress version: 2.9.2
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 5840 days ago

20/100

Is Proper Pagination abandoned?

Possibly abandoned (last update 5840 days ago).

Compatibility

Requires WordPress: 2.7
Tested up to: 2.9.2
Requires PHP: f

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

WCAG 2.0 form fields for Gravity Forms
Rating 5.0/5 (11 reviews)Active installs 8,000
Remove Widget Titles
Rating 5.0/5 (27 reviews)Active installs 7,000
WooCommerce Better Usability
Rating 4.9/5 (21 reviews)Active installs 1,000
Admin Page Spider
Rating 4.8/5 (21 reviews)Active installs 1,000
Remove Redundant Links
Rating 4.6/5 (5 reviews)Active installs 1,000
Taxonomy Filter
Rating 4.4/5 (14 reviews)Active installs 900

Description

This plugin is primarily aimed at theme developers, and intends to ease the
creation of semantic, usable pagination controls for WordPress listings pages, such as
arhive, author, category, search, tag listings etc.

Inspired by The Loop and WP_Query, this plugin stays out of the theme
developer’s way, allowing her to create the markup needed by providing the
following template tags:

  • pp_has_pagination – determines whether the current ‘view’ has any pagination to display, i.e. whether the content being browsed spans more than 1 page
  • pp_the_pagination – initiates the pagination context, should be called at the beginning of each loop iteration
  • pp_rewind_pagination – resets the pagination context, so that the pagination loop can be iterated over multiple times
  • pp_is_current_page – for use in the pagination loop, returns a boolean indicating whether the current loop iteration is for the current page
  • pp_has_previous_page – for use in the pagination loop, returns a boolean indicating whether there is a previous page, e.g. when at page 1, there is no previous page
  • pp_has_next_page – for use in the pagination loop, returns a boolean indicating whether there is a next page, e.g. when at page N of N, there is no next page
  • pp_the_page_permalink – for use in the pagination loop, echos the permalink for the current page
  • pp_the_previous_page_permalink – for use in the pagination loop, echos the permalink for the previous page
  • pp_the_next_page_permalink – for use in the pagination loop, echos the permalink for the next page
  • pp_the_first_page_permalink – for use in the pagination loop, echos the permalink for the first page
  • pp_the_last_page_permalink – for use in the pagination loop, echos the permalink for the last page
  • pp_the_page_num – for use in the pagination loop, echos the page number of the current page being iterated over

For example, the following arrangement of template tags would provide a rudimentary pagination control:


    

The template tags on offer by this plugin provide the theme developer with an
unlimited array of possibilities for marking up the pagination control in a
semantic manner.

For more information, see the original blog post.

Installation

This section describes how to install the plugin and get it working.

e.g.

  1. Upload proper-pagination.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Create your desired pagination in your theme using the installed template tags

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.3

  • Fixed bug where the number of page links to display at one time was surpassing the total number of pages (occurred when the total number of pages was less than the configured number of max pagelinks)

1.2

  • Fixed bug when calculating the number of page links to display, this would be wrong if the number of posts found was less than the configured pp_max_pagelinks option.

1.1

  • Fixed bug on activation hook, when adding default option values.

1.0

  • First release.