• 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: https://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!

    https://www.ads-software.com/plugins/wp-dtree-30/

Viewing 1 replies (of 1 total)
  • 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, I replaced the string “useCookies:true” by “useCookies:false”.
    – I did the same in file 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.