WordPress.org

Ready to get started?Download WordPress

Forums

WP-dTree
[resolved] Showselection listening for current page id? (2 posts)

  1. hafman
    Member
    Posted 3 years ago #

    Hi,
    I'm having trouble getting the tree to notice which page it's on. If i click a link elsewhere on the page the relevant link isn't highlighted and what's more, the previously visited page is highlighted instead. How can i get wp-dtree to listen for the page id? I tried 'showselection' => $post->ID but will this take a variable of this sort?

    Hoping it's an easy one!

    - Nick

  2. hafman
    Member
    Posted 3 years ago #

    Actually just sorted it with 'opento' => $post->ID (tree is hard coded in the template)

    I think i need to spend a bit longer getting used to this plugin!

    Thanks and will buy a book soon

    - Nick

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic