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.

Neighbor Post Preview

Description

Using the functions provided by this plugin, when you hover on the previous/next links in a single post page, you can see a preview of the post.

It shows an excerpt of the post. The excerpt is generated using the same mechanism as “the_excerpt” tag. If there is an explicit excerpt for the post, the explicit excerpt will be used. If the post doesn’t have one, an excerpt is faked by truncating the full content.

If a post is password-protected, no preview will generated for it.

Customization

Go to Neighbor Post Preview Options page in WordPress admin area (Options -> Neighbor Post Preview) and you’ll see 3 options to customize:

  • Excerpt length. How many words do you want to display when there is not an explicit excerpt?
  • Delay before hide. How long will the preview stay after your mouse leaves the link?
  • CSS class name of preview window. You can customize the look of the preview window.
  • Show post title in preview window. Many users just use “previous post/next post” as navigation link text, and this option will be very useful for them.

Installation

  1. Download the plugin and extract it
  2. Put the plugin folder (neighbor-post-preview) into your WordPress plugin directory
  3. Activate the plugin through the “Plugins” menu in WordPress admin area
  4. Modify single.php file of your current theme. Find previous_post_link(…) and replace the function name by tlnpp_previous_post_link. Also replace function next_post_link by tlnpp_next_post_link

Contributors & Developers

“Neighbor Post Preview” is open source software. The following people have contributed to this plugin.

Contributors