Plugin Directory

Changeset 140462


Ignore:
Timestamp:
07/29/2009 12:31:19 PM (17 years ago)
Author:
swinton
Message:

Removed dodgy characters from readme.txt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proper-pagination/trunk/readme.txt

    r140458 r140462  
    1515
    1616Inspired by [The Loop](http://codex.wordpress.org/The_Loop) and [WP_Query](http://codex.wordpress.org/Function_Reference/WP_Query), this plugin stays out of the theme
    17 developer’s way, allowing her to create the markup needed by providing the
     17developer's way, allowing her to create the markup needed by providing the
    1818following template tags:
    1919
    20 * `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
    21 * `pp_the_pagination` — initiates the pagination context, should be called at the beginning of each loop iteration
    22 * `pp_rewind_pagination` — resets the pagination context, so that the pagination loop can be iterated over multiple times
    23 * `pp_is_current_page` — for use in the pagination loop, returns a boolean indicating whether the current loop iteration is for the current page
    24 * `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
    25 * `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
    26 * `pp_the_page_permalink` — for use in the pagination loop, echos the permalink for the current page
    27 * `pp_the_previous_page_permalink` — for use in the pagination loop, echos the permalink for the previous page
    28 * `pp_the_next_page_permalink` — for use in the pagination loop, echos the permalink for the next page
    29 * `pp_the_first_page_permalink` — for use in the pagination loop, echos the permalink for the first page
    30 * `pp_the_last_page_permalink` — for use in the pagination loop, echos the permalink for the last page
    31 * `pp_the_page_num` — for use in the pagination loop, echos the page number of the current page being iterated over
     20* `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
     21* `pp_the_pagination` - initiates the pagination context, should be called at the beginning of each loop iteration
     22* `pp_rewind_pagination` - resets the pagination context, so that the pagination loop can be iterated over multiple times
     23* `pp_is_current_page` - for use in the pagination loop, returns a boolean indicating whether the current loop iteration is for the current page
     24* `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
     25* `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
     26* `pp_the_page_permalink` - for use in the pagination loop, echos the permalink for the current page
     27* `pp_the_previous_page_permalink` - for use in the pagination loop, echos the permalink for the previous page
     28* `pp_the_next_page_permalink` - for use in the pagination loop, echos the permalink for the next page
     29* `pp_the_first_page_permalink` - for use in the pagination loop, echos the permalink for the first page
     30* `pp_the_last_page_permalink` - for use in the pagination loop, echos the permalink for the last page
     31* `pp_the_page_num` - for use in the pagination loop, echos the page number of the current page being iterated over
    3232
    3333For example, the following arrangement of template tags would provide a rudimentary pagination control:
     
    6262<?php endif; ?>`
    6363
     64
    6465The template tags on offer by this plugin provide the theme developer with an
    6566unlimited array of possibilities for marking up the pagination control in a
Note: See TracChangeset for help on using the changeset viewer.