Purpose
Adds a nice page bar for selecting indivual pages instead of just the previous or next page.
Examples
Standard Colors

Modified colors

Installation
Copy the file pagebar.php to your plugins directory and add the CSS code contained in pagebar.css to your style.css.
Then add the following code directly behind The Loop in your index.php and search.php: <?php wp_pagebar(array('before'=>'Pages: '))?>
(In standard themes this means to replace then code from “<div class=”navigation”>” to “</div>” with the code above.)
There are several parameters you can set:
| name | function | default |
|---|---|---|
| before | what’s displayed in front of the bar | ‘ ‘ |
| after | what’s displayed behind the bar | ‘ ‘ |
| tooltip | shall the tooltips be displayed? | true |
| tooltip_text | text to be display in tooltip before the page number | ‘Page: ‘ |
| prev | text for previous page link | ‘◄’ |
| next | text for next page link | ‘►’ |
| directions | display the direction boxes (prev/next)? | true; |
Here’s a function call with some parameters:
<?php wp_pagebar(array('before'=>'Page: ', 'after'=>' ', 'tooltip'=>true, 'tooltip_text'=>'Page'))?>
