Title: [Plugin: Smarter Navigation] Define default category
Last modified: August 20, 2016

---

# [Plugin: Smarter Navigation] Define default category

 *  [ppj81](https://wordpress.org/support/users/ppj81/)
 * (@ppj81)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-smarter-navigation-define-default-category/)
 * With this plugin <?php referrer_link(); ?> is set when you enter a single post
   from a category, tag, author or archive page. But when the user came from home()
   of singular() nothing is set.
 * So when a user comes directly at a post or comes from “home” to the post the 
   next and previous links does not get a proper category id.
 * Is there any solution to set a default category in the template? So when a user
   come at post page directly or from home() the default category is set. And previous
   and next links wil use the default category to navigate?
 * [http://wordpress.org/extend/plugins/smarter-navigation/](http://wordpress.org/extend/plugins/smarter-navigation/)

The topic ‘[Plugin: Smarter Navigation] Define default category’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/smarter-navigation.svg)
 * [Smarter Navigation](https://wordpress.org/plugins/smarter-navigation/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smarter-navigation/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smarter-navigation/)
 * [Active Topics](https://wordpress.org/support/plugin/smarter-navigation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smarter-navigation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smarter-navigation/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ppj81](https://wordpress.org/support/users/ppj81/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-smarter-navigation-define-default-category/)
 * Status: not resolved