Title: Custom Pagination
Author: dimitryz
Published: <strong>august 25, 2009</strong>
Last modified: desember 27, 2014

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/custom-pagination.svg)

# Custom Pagination

 By [dimitryz](https://profiles.wordpress.org/dimitryz/)

[Download](https://downloads.wordpress.org/plugin/custom-pagination.zip)

 * [Details](https://fao.wordpress.org/plugins/custom-pagination/#description)
 * [Reviews](https://fao.wordpress.org/plugins/custom-pagination/#reviews)
 *  [Installation](https://fao.wordpress.org/plugins/custom-pagination/#installation)
 * [Development](https://fao.wordpress.org/plugins/custom-pagination/#developers)

 [Support](https://wordpress.org/support/plugin/custom-pagination/)

## Description

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)](http://webit.ca)
and funded by [DateDaily.com](http://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](http://webit.ca/2009/08/custom-pagination-plugin-for-wordpress/).

## Screenshots

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

## Installation

 1. Copy or upload the `custom-pagination` directory into your `/wp-content/plugins/`
    directory
 2. If you downloaded a zipped copy (i.e. `custom-pagination.zip`), use the ‘Plugins’
    > ‘Add New’ section of WordPress to upload it
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

Done.

Actually, if you wish to use WordPress pagination when there is no Custom Pagination
on a page, you may use the following PHP code:

    ```
    // inside single.php
    // displays the standard pagination when no custom pagination link is found
    if ( ! cp_link_found() )
        wp_link_pages(array('next_or_number' => 'next', 'nextpagelink'=>'Next page &raquo;', 'previouspagelink'=>'&laquo; Previous page'));
    ```

## FAQ

_Will the pagination work with custom permalinks?_

It should.

_What is the cost of the plugin?_

This plugin is provided free of charge thanks to the good people at [Mate1 Inc](http://mate1.com)
and the site [DateDaily.com](http://datedaily.com). You may use the Custom Pagination
plugin for any purpose provided you keep the comment section of the custompagination.
php file.

_How do I remove the default pagination_

If you are seeing the default pagination in your posts, you probably have the following
code in you `content.php` theme file. Remove it and the default pagination should
disappear.

    ```
        wp_link_pages( array(
            'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>',
            'after'       => '</div>',
            'link_before' => '<span>',
            'link_after'  => '</span>',
            'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
            'separator'   => '<span class="screen-reader-text">, </span>',
        ) );
    ```

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Custom Pagination” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ dimitryz ](https://profiles.wordpress.org/dimitryz/)

[Translate “Custom Pagination” into your language.](https://translate.wordpress.org/projects/wp-plugins/custom-pagination)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/custom-pagination/),
check out the [SVN repository](https://plugins.svn.wordpress.org/custom-pagination/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/custom-pagination/)
by [RSS](https://plugins.trac.wordpress.org/log/custom-pagination/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0.2**
 *  Last updated **11 ár ago**
 *  Active installations **20+**
 *  WordPress version ** 2.8 or higher **
 *  Tested up to **4.1.42**
 *  Language
 * [English (US)](https://wordpress.org/plugins/custom-pagination/)
 * Tags
 * [editing](https://fao.wordpress.org/plugins/tags/editing/)[pagination](https://fao.wordpress.org/plugins/tags/pagination/)
 *  [Advanced View](https://fao.wordpress.org/plugins/custom-pagination/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/custom-pagination/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/custom-pagination/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/custom-pagination/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/custom-pagination/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/custom-pagination/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/custom-pagination/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/custom-pagination/reviews/)

## Contributors

 *   [ dimitryz ](https://profiles.wordpress.org/dimitryz/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/custom-pagination/)