Title: Previous node staying selected
Last modified: August 21, 2016

---

# Previous node staying selected

 *  [Rachel](https://wordpress.org/support/users/rleggett/)
 * (@rleggett)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/previous-node-staying-selected/)
 * Hi,
 * Thank you for a very useful plugin! I have run into a problem and I was hoping
   you would have a suggestion for how to fix it. I am using another plugin called“
   Exclude Pages from Navigation” to choose which pages are included in the menu
   generated by WP-dtree. When a page is not include in the navigation, if I navigate
   to it through other means, the previously-selected node remains selected.
 * An example is here: [http://cedo.engin.umich.edu/](http://cedo.engin.umich.edu/)
   
   We are using WP-dtree to generate the blue menu in the left-hand column. If I
   click one of the two links in that menu, they highlight as expected, but then
   if I go to the homepage (via the “Center for Engineering Diversity and Outreach”
   image link at the top left of the header), the page I clicked before remains 
   highlighted. (With this example the problem is easier to see by clicking “CEDO
   Brochure” rather than the other link because this has no children.)
 * Thank you in advance for your help!
 * [http://wordpress.org/plugins/wp-dtree-30/](http://wordpress.org/plugins/wp-dtree-30/)

Viewing 1 replies (of 1 total)

 *  [pedro666](https://wordpress.org/support/users/pedro666/)
 * (@pedro666)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/previous-node-staying-selected/#post-4234831)
 * I had the same problem : when navigating away from a page to go to a post (by
   clicking in another widget), the page remains selected in the wp-dtree widget.
 * **Here is my dirty fix :**
    – In file [wp-dtree.min.js](http://chairstuff.com/wp-content/plugins/wp-dtree-30/wp-dtree.min.js),
   I replaced the string “useCookies:true” by “useCookies:false”. – I did the same
   in file [wp-dtree.js](http://chairstuff.com/wp-content/plugins/wp-dtree-30/wp-dtree.js)
   line 86, although it has probably no effect.
 * Keep up the good work !

Viewing 1 replies (of 1 total)

The topic ‘Previous node staying selected’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-dtree-30_fcfcf8.svg)
 * [WP-dTree](https://wordpress.org/plugins/wp-dtree-30/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-dtree-30/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-dtree-30/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-dtree-30/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-dtree-30/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-dtree-30/reviews/)

## Tags

 * [exclude pages from navigation](https://wordpress.org/support/topic-tag/exclude-pages-from-navigation/)
 * [wp-dtree](https://wordpress.org/support/topic-tag/wp-dtree/)

 * 1 reply
 * 2 participants
 * Last reply from: [pedro666](https://wordpress.org/support/users/pedro666/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/previous-node-staying-selected/#post-4234831)
 * Status: not resolved