Entries on page x

Generates a link back to the archive page the current entry is on. Makes it easier for users to retrieve the chronology of a blog.

Author:DECAF (profile at wordpress.org)
WordPress version required:2.5
WordPress version tested:3.0.5
Plugin version:1.3.4
Added to WordPress repository:02-12-2008
Last updated:07-08-2010
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://decaf.de/entries-on-page-x/
Total downloads:3 166
Active installs:10+
plugin download
Click to start download

Generates a link back to the archive page the current entry is on. Makes it easier for users to retrieve the chronology of a blog.

Examples (without function):

Live demo:
See description at decaf.de/entries-on-page-x/

Installation:
Plugin needs <?php if (function_exists('archive_page_link')) { archive_page_link(); } ?> in your templates. See installation details.

Multi-language:
Plugin works in several languages right now, see notes.

Localization (L10n)

Available languages at this time:

  • English
  • German/Deutsch
  • Turkish/Türkçe (by courtesy of DJ N-Gin)
  • Polski (by courtesy of Jeena Paradies)
  • Swedish/Svenska (by courtesy of Jeena Paradies)
  • Bulgarian/Български (by courtesy of Bellerophon)
  • Chinese/ 中文 (by courtesy of Johanna and 孔晶 Kong Jing)
  • French/Français (by courtesy of Patrick Andrieu)
  • Spanish/Español (by courtesy of Stonie)
  • Russian/Русский (by courtesy of dedlfix)
  • Italian/Italiano (by courtesy of at)
  • Belarusian/Беларуская (by courtesy of FatCow)
  • Ukrainian/Українська (by courtesy of ghost)

If you localize the plugin, we would be glad to know — Thanks a lot!

Code

Structure of the HTML code is like that:

<span class="entriesonpagex"><a href=".."><strong>Entries on page <span class="page">3</span></strong></a> of category »<strong>Foobar</strong>«</span>

Make use of these CSS classes if you want to set up individual styles:

.entriesonpagex { }
.entriesonpagex strong { }
.entriesonpagex a { }
.entriesonpagex a strong { }
.entriesonpagex a strong .page { }

HTML of your article template should contain the post ID if you like ‘Entries on page x’ to refer not only to a page with posts but to the post itself:

<div id="post-<?php the_ID(); ?>" class="post"><h1>Post title..<h3>Cookies</h3>

The plugin makes use of cookies in order to save the refering page that leads to a single entry. If cookies aren’t accepted, the plugin generates default archive links apart from category, tag, author and date.


FAQ
ChangeLog