Title: [Plugin: WP-dTree] Highlighting incorrect page
Last modified: August 19, 2016

---

# [Plugin: WP-dTree] Highlighting incorrect page

 *  [robjhyndman](https://wordpress.org/support/users/robjhyndman/)
 * (@robjhyndman)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-dtree-highlighting-incorrect-page/)
 * I have several child-pages with the same slug (but unique URLs because they are
   underneath parent pages). However, when I set WP-dTree to highlight the current
   page in the menu, it highlights the first page it finds with the same slug, not
   necessarily the current page.
 * [http://wordpress.org/extend/plugins/wp-dtree-30/](http://wordpress.org/extend/plugins/wp-dtree-30/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [robjhyndman](https://wordpress.org/support/users/robjhyndman/)
 * (@robjhyndman)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-dtree-highlighting-incorrect-page/#post-1364278)
 * See [http://robjhyndman.com/fpp/4/](http://robjhyndman.com/fpp/4/) for an example.
 *  [viadesk](https://wordpress.org/support/users/viadesk/)
 * (@viadesk)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-dtree-highlighting-incorrect-page/#post-1364286)
 * i have the same problem. my slugs are similar but different. for example: ‘dave’,
   and ‘daves page’. the tree menu appears to highlight the first text it finds 
   with the word ‘dave’. dtree settings are to list in menu order, all menus are
   ordered correctly, to ridiculous levels i might add.
 * why is dtree doing this????? it is WRONG.
 *  [ulfben](https://wordpress.org/support/users/ulfben/)
 * (@ulfben)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-dtree-highlighting-incorrect-page/#post-1364314)
 * Because it’s hugely complex to work backwards from a request-url to finding the
   correct node ID in an already printed javascript source.
 * Hopefully though, this is less of an issue with [WP-dTree 4.0](http://wordpress.org/extend/plugins/wp-dtree-30/).
   Still can’t handle paging though. :/

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: WP-dTree] Highlighting incorrect page’ is closed to new replies.

## Tags

 * [WP-dTree 3.0](https://wordpress.org/support/topic-tag/wp-dtree-3-0/)

 * 3 replies
 * 3 participants
 * Last reply from: [ulfben](https://wordpress.org/support/users/ulfben/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-dtree-highlighting-incorrect-page/#post-1364314)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
