WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Smarter Navigation

Generates more specific previous / next post links based on referrer.

When displaying a single post, you might want to show links to the previous and next posts in the same category.

That's fine; WordPress let's you do this with previous_post_link() and next_post_link().

But what if that post is in multiple categories?

What if the user came to that post from a tag page or from an author page? Wouldn't it make more sense to display previous / next posts from that particular set?

Well, you can do this with a similar pair of functions, provided by this plugin: previous_post_smart() and next_post_smart().

Here's how it works:

Whenever a visitor goes to an archive page (category, tag, date, author, search etc.), the plugin notes which archive it is in a browser cookie.

Then, if the visitor goes to a single post from that archive page, the plugin generates the prev / next links based on the information in the cookie.

Links: Plugin News | Author's Site

Requires: 3.2 or higher
Compatible up to: 3.5.2
Last Updated: 2013-4-6
Downloads: 11,502

Ratings

4 stars
4.7 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

100,1,1
100,1,1
100,4,4
100,1,1 100,3,3
100,1,1
100,1,1 100,2,2
100,1,1
100,1,1
100,1,1 100,2,2 100,1,1
100,3,3 100,1,1
100,1,1