Better Adjacent Post Links

Adds two enhanced commands to replace wordpress ‘previous post’ and ‘next post’ functions. Works with WordPress 2.8+.

Author:unalignedcoder (profile at wordpress.org)
WordPress version required:2.0.2
WordPress version tested:2.8.4
Plugin version:1.1
Added to WordPress repository:19-09-2007
Last updated:09-09-2009
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://unalignedcode.wordpress.com/better-nea...
Total downloads:8 108
Active installs:100+
plugin download
Click to start download

If you are used to link the ‘previous’ and ‘next’ posts on a wordpress blog using their own title, you have probably noticed how more often than not too long titles can cause broken lines, hence unpredictable results in terms of page layout.

The only workaround in wordpress so far was to replace the title of the posts with generic phrases like ‘next post’, ‘previous post’ and so on. With this plugin you can use the title of the post itself, and trim it as needed.

Features:

  • limits the length of the previous and next post titles to the number of characters you want
  • where necessary, truncates the title to the last space, adding three dots
  • shows the entire title of the post in the tooltip (mysteriously wordpress never considers the tooltips of the links)
  • sets the string that conditionally will appear before the link title, only if the link title itself is present (previously in wordpress you either had to add a string outside of the ‘next/previous post’ tag, thus causing it to appear in the page even if the link was not present, or you had to add the string inside the link generated by wordpress, with ugly results: for example if the string was just a simple dividing character like ‘|’)

ChangeLog