Generates more specific previous / next post links based on referrer.
Go to your theme directoy and open single.php.
Replace
previous_post_link(
with previous_post_smart(
and
next_post_link(
with next_post_smart(
If you also want to display a link back to the list of posts, add this line (also in single.php):
<?php referrer_link(); ?>
If you want for example to higlight the category that the user came from, you can use get_referrer_category() to retrieve the category object.
For further reference, all the template tags are located in smarter-navigation/template-tags.php.
Requires: 3.1 or higher
Compatible up to: 3.3.2
Last Updated: 2011-9-8
Downloads: 5,945
Got something to say? Need help?