Title: Styled Pagination
Author: ckruse
Published: <strong>2009 年 7 月 29 日</strong>
Last modified: 2009 年 7 月 31 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# Styled Pagination

 作者：[ckruse](https://profiles.wordpress.org/ckruse/)

[下载](https://downloads.wordpress.org/plugin/styled-pagination.zip)

 * [详情](https://cn.wordpress.org/plugins/styled-pagination/#description)
 * [评价](https://cn.wordpress.org/plugins/styled-pagination/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/styled-pagination/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/styled-pagination/#developers)

 [支持](https://wordpress.org/support/plugin/styled-pagination/)

## 描述

This plugin allows you to add simple pagination to your site using images for the
previous and next links. Allows you the ability to display the current page and 
the total number of pages. Works with any template page (i.e. index.php, search.
php, archvie.php).

Features include:
 1. Use images in place of the previous and next links 2. Easily
style the pagination display with CSS 3. Customize the display text of the Pages
4. Choose between just displaying Current Page and Total Pages, or having pagination

How to use

 * `<?php echo rb_pages(); ?> //Displays text only (i.e. PAGE 2 OF 11)`
 * `<?php echo rb_pagination(); ?> //Displays text and navigation arrows`

Style the display using the following tags:

 * #rb-page-prev – Styles the previous link
 * #rb-page-next – Styles the next link
 * #rb-page-pages – Style the Text and Page Numbers

NOTE: Currently the previous and next links must be in the form of images.

## 屏幕截图

[⌊Arrow images and default text⌉⌊Arrow images and default text⌉[

Arrow images and default text

## 安装

 1. Upload the ‘styled-pagination’ folder to the ‘/wp-content/plugins/’ directory
 2. Activate the Styled Pagination plugin through the ‘Plugins’ menu in WordPress
 3. Add the proper tag to your wordpress template See description for tags.

## 常见问题

  What parameter can I use?

The rb_pagination() fucntion accepts 4 parameters. Use as follows:

    ```
         <?php echo rb_pagination('PAGE', 'OF', 'images/prev.jpg', 'images/next.jpg'); ?>
    ```

The rb_pages(); function accepts 2 parameters. Use as follows:

    ```
         <?php echo rb_pages('PAGE', 'OF'); ?>
    ```

The first 2 parameters in each function supply the text for the display. For example:

    ```
         <?php echo rb_pages('LOOKING AT', 'OUT OF'); ?>
    ```

This would display Looking AT 2 OUT OF 21

The last 2 parameters are the location of the previous and next image files.

The functions have default value you can use which are:

    ```
         <?php echo rb_pagination('PAGE', 'OF', 'images/icon-pageprev.jpg', 'images/icon-pagenext.jpg'); ?>
    ```

The images must be located in or in a sub folder of your themes directory.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Styled Pagination」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Styled Pagination」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/styled-pagination)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/styled-pagination/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/styled-pagination/)，或通过[RSS](https://plugins.trac.wordpress.org/log/styled-pagination/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/styled-pagination/)。

## 更新日志

v1.0 – Initial Release

## 额外信息

 *  版本 **1.0**
 *  最后更新：**17 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.0 或更高版本 **
 *  已测试的最高版本为 **2.8**
 *  语言
 * [English (US)](https://wordpress.org/plugins/styled-pagination/)
 * 标签
 * [page](https://cn.wordpress.org/plugins/tags/page/)[pagination](https://cn.wordpress.org/plugins/tags/pagination/)
 *  [高级视图](https://cn.wordpress.org/plugins/styled-pagination/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/styled-pagination/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/styled-pagination/)