Entries on page x

0

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): Entries on page 12 Entri

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

Description

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.