WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't 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.

Better Adjacent Post Links

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

Extract, upload to the plugins folder of your wordpress install, activate.

How to use:

This plugin adds two specific functions to your wordpress install: my_prev_post_link and my_next_post_link. These two functions are very similar to, and support the same variables of the original wordpress tags they are meant to replace (please refer to the relative wordpress codex pages for their use), previous_post_link and next_post_link. My replacement functions anyway come with two additional variables: $string_lenght and $pre_link. Not that you really needed to know how they were called.

The first variable indicates the maximum length for the title (default is 22 characters). The second the string to be displayed before the link (only if the link itself is present).

So, you'll just have to replace <?php next_post_link(); ?> in your template with <?php my_next_post_link() ?>, obviously indicating between the brackets the variables you want to specify. Again, refer to the wordpress codex for usage of variables: only keep in mind that my two additional variables, $string_lenght and $pre_link, are the second last and last variable of the function.

Requires: 2.0.2 or higher
Compatible up to: 2.8.4
Last Updated: 2009-9-9
Downloads: 6,111

Ratings

4 stars
4.9 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2
100,2,2
100,1,1
0,1,0
100,1,1
0,1,0
100,1,1
100,1,1