Title: Display current sub-menu plus current parent
Last modified: November 27, 2018

---

# Display current sub-menu plus current parent

 *  Resolved [rudegoose](https://wordpress.org/support/users/rudegoose/)
 * (@rudegoose)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/display-current-sub-menu-plus-current-parent/)
 * Hello, is it possible with this plug-in to display the current parent menu item,
   followed by all of its children? I can get the current submenu to display but
   can’t figure out how to get the parent too. Thank you.

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

 *  Plugin Author [Matt Keys](https://wordpress.org/support/users/mattkeys/)
 * (@mattkeys)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/display-current-sub-menu-plus-current-parent/#post-10922913)
 * Hey [@rudegoose](https://wordpress.org/support/users/rudegoose/),
 * Unfortunately that is not an option in this plugin. It is something I’ve been
   meaning to incorporate as it has been requested a number of times in the past,
   but I haven’t yet done so.
 * Maybe/Hopefully in Q1 next year!
 * In the meantime, you might be able to accomplish your task using [Get Post Ancestors](https://codex.wordpress.org/Function_Reference/get_post_ancestors).
   The major caveat here is that this function doesn’t look at the menu structure,
   it looks at the page hierarchy, so it will only help you if your page structure
   and menu structure ‘match’.
 *  Thread Starter [rudegoose](https://wordpress.org/support/users/rudegoose/)
 * (@rudegoose)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/display-current-sub-menu-plus-current-parent/#post-10922927)
 * Thanks so much Matt for the response. I am getting the right effect already using
   BE Subpages Widget, but was hoping to get away from exactly what you mention –
   the requirement to have the page hierarchy echo the navigation structure. Thanks
   anyway for a great plug-in. Maybe I’ll be able to swap next year and make life
   a bit easier for the admins!

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

The topic ‘Display current sub-menu plus current parent’ is closed to new replies.

 * ![](https://ps.w.org/wp-nav-plus/assets/icon-256x256.jpg?rev=1724550)
 * [WP Nav Plus](https://wordpress.org/plugins/wp-nav-plus/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-nav-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-nav-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-nav-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-nav-plus/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [rudegoose](https://wordpress.org/support/users/rudegoose/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/display-current-sub-menu-plus-current-parent/#post-10922927)
 * Status: resolved