Generates more specific previous / next post links based on referrer.
Go to your theme directory 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.2 or higher
Compatible up to: 3.5.1
Last Updated: 2013-4-6
Downloads: 9,074
0 of 3 support threads in the last two months have been resolved.
Got something to say? Need help?