Title: Restrict menu open
Last modified: August 22, 2016

---

# Restrict menu open

 *  Resolved [Balou](https://wordpress.org/support/users/harryluiten/)
 * (@harryluiten)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/restrict-menu-open/)
 * jQuery(‘#wb_tree ul li’).has(‘.sub-menu’).prepend(‘<span>+</span>’);
    jQuery(‘#
   wb_tree ul ul’).hide();
 * If you choose hide in the .js file it shows only the main levels, if you say 
   show it shows everything, offcourse.
 * Is it possible to choose show but restrict it till a certain kind of dept in 
   the children?
 * For example
    >a >>b >>>c >>>>d >>>>>e
 * Open a,b and c in show status but hide d and e?
 * Kind regards
 * Harry
 * [https://wordpress.org/plugins/wp-parsi-navigation-trees/](https://wordpress.org/plugins/wp-parsi-navigation-trees/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Balou](https://wordpress.org/support/users/harryluiten/)
 * (@harryluiten)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/restrict-menu-open/#post-5712205)
 * Great plug-in by the way.
 * If you download and install the [amr shortcode any widget](https://wordpress.org/plugins/amr-shortcode-any-widget/)
   plug-in you can also use it on pages! See for example: [http://historischekringbilthoven.nl/vereniging/kennisbank/](http://historischekringbilthoven.nl/vereniging/kennisbank/)

Viewing 1 replies (of 1 total)

The topic ‘Restrict menu open’ is closed to new replies.

 * ![](https://ps.w.org/wp-parsi-navigation-trees/assets/icon.svg?rev=2048011)
 * [WP-Parsi navigation trees](https://wordpress.org/plugins/wp-parsi-navigation-trees/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-parsi-navigation-trees/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-parsi-navigation-trees/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-parsi-navigation-trees/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-parsi-navigation-trees/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Balou](https://wordpress.org/support/users/harryluiten/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/restrict-menu-open/#post-5712205)
 * Status: resolved