Site logo

Archived topic

Displaying only child menu items of parent menu items in sidebar

3 replies · Started by Mike on June 29, 2017

Viewing posts 1–4 of 4

This is a bit tricky. Has anybody experimented with or found an easy way to display only the child menu items of a given parent menu item in sidebars?

I have a preference on hard-coding than using a plugin to limit bloat. But if hard-coding is complicated then a plugin will have to do.

Here's a visual presentation of what I'm trying to achieve:

This is the normal navigation menu structure. We are focusing on the RENTING & BUYING > BUYING IN LONDON structure here:

Normal main menu structure

When you click on the Aquisitions Case Studies submenu item, this is what comes up on that page's sidebar:

Sidebar nested/tabbed menu showing child items

As you can see, it shows all the child menu items of RENTING & BUYING as tabs/nested menu within the sidebar.

Can this be achieved easily?

Awesome! Thanks for sharing :)

This archived topic is closed to new replies.