Smarter Navigation
When displaying a single post, you might want to show links to the previous and next posts in the same category.
Consider an alternative
Smarter Navigation shows warning signs in 2026 — compare the alternatives below before installing. It runs on 300+ sites, is rated 4.7/5 and was last updated 11 years ago, and scores 37/100 on our health check.
- Small user base (300+ active installs)
- No update in 11 years
- Only tested up to WordPress 3.5 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Smarter Navigation stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| navigation | >100 |
| next | >100 |
| previous | >100 |
| referrer | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4.7 from 10 reviews
About Smarter Navigation
From the official readme · v1.4Description
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
Installation
- Unzip the archive and put the folder into your plugins folder (/wp-content/plugins/).
- Activate the plugin from the Plugins admin menu.
Basic usage
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(`
Referrer link
If you also want to display a link back to the list of posts, add this line (also in single.php):
<?php referrer_link(); ?>
Posts with multiple categories
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.
Changelog
1.4
- added support for custom taxonomies. props badfeather
- fixed strict standards errors. props badfeather
1.3.2
- fix case when plugin worked incorrect with pagination
1.3.1
- fix case when multiple browser tabs are involved
- fix case when multiple posts have the exact same date
1.3
- store query vars in cookie instead of individual post ids
- fix referer link
- more info
1.2.1
- enable $in_same_cat by default
1.2
- moved to PHP5 syntax
- added get_referrer_category() and get_referrer_url() template tags
- added $in_same_cat and $excluded_categories arguments to previous_post_smart() & next_post_smart()
- more info
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Smarter Navigation alternatives
All navigation plugins →FAQ
Smarter Navigation: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Smarter Navigation free?
Yes. Smarter Navigation is free to download and use from the official WordPress.org plugin directory.
Is Smarter Navigation safe to use in 2026?
Smarter Navigation shows warning signs in 2026 — compare the alternatives below before installing. It runs on 300+ sites, is rated 4.7/5 and was last updated 11 years ago, and scores 37/100 on our health check.
How many websites use Smarter Navigation?
Smarter Navigation is active on 300+ WordPress websites and has been downloaded 20,099 times since it launched in February 2009. It was downloaded 171 times in the last 30 days.
Does Smarter Navigation work with WordPress 7.1?
Smarter Navigation is officially tested up to WordPress 3.5.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Smarter Navigation last updated?
The latest version, 1.4, was released on September 18, 2015 (11 years ago).
Who makes Smarter Navigation?
Smarter Navigation is developed and maintained by scribu.
What are the best alternatives to Smarter Navigation?
The most popular alternatives to Smarter Navigation are Breadcrumb NavXT (700K+ installs), WP-PageNavi (400K+ installs) and Max Mega Menu (300K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
