pb2-alfons
Introduction
Pagebar “Codename Alfons” is a branch of pagebar v2 that implements a certain design which you can’t do using the standard plugin:

Features
- Automatic insertion of pagebar on all pages (posts, search, tags, …)
- Works with nearly all plugins (Simple Tagging, UTW, …)
- Compatible with WP 2.1, WP 2.2, and WP nightly
Installation
Unpack the archive and copy the files into a directory called pb2alfons in your plugin directory (normally …/wp-content/plugins/). Copy the file “pagebar.css” into your theme’s directory. That’s it!
Of course you may want to configure pagebar to your needs using the option page and by editing the pagebar.css style file (See “The CSS File”).
The option page
The option page allows you to tweak the pagebar to your needs. There are a number of predefined layouts which you can import.
Display
| Current Page | Text to be displayed for the current page. |
| First page | Text to be displayed for the first page. If left empty, the page number is displayed. |
| Last page | Text to be displayed for the last page. If left empty, the page number is displayed. |
| Previous | Text to be displayed for the link to the previous page. If left empty, “<" is displayed. |
| Next | Text to be displayed for the link to the previous page. If left empty, “<" is displayed. |
Tooltips
| Tooltips | Text to display in tooltips. You can use the tokens. |
| Display | Actually display tooltips? |
Integration
You can remove the standard wordpress navigation manually or by setting the “remove old navigation”
checkbox.
| Remove standard navigation | Remove the standard navigation text of Wordpress (”« Previous entry”, “Next entry »”). This only works if the author of your currently used theme hasn’t changed the CSS class of the standard navigation (.navigation that is). |
Positioning
Here you can define the place where to display it. Multiple places are possible.
| Front of postings | Front of first posting |
| Behind postings | After the last posting |
| Footer | In the footer (footer.php) |
Stylesheet
You can define the necessary CSS definitions in two places:
- in the style.css file of the current theme
- in a seperate file in the current theme’s directory. The name of the file
can be defined here, too.
Tokens
Tokens can be used in any display area of pagebar. If it makes sense where you want to use it, you have to decide by yourself.
| {page} | Page number |
| {total} | Total number of pages |
| {current} | Current page number |
The CSS File
Soon…
Examples
Soon…
History
| 19 NOV 2007 | - | v0.22 | - | Fixed: Embarrassing error -> packed wrong source files into archives |
|
| 13 NOV 2007 | - | v0.21 | - | Fixed: custom stylesheet wasn’t found in theme directory (thanks to Ufuk of www.ufukeskici.com) Fixed: removed debugging output from single post pages |
|
| 24 OCT 2007 | - | v0.2 | - | Inital release. |
Credits
- Alfons B. for his initial idea for this plugin.
- Ufuk Eskici for lot’s of bug reports.
