So I’ve seen this asked a bunch here and there, this ones seems to be the exact problem I’m having:
But like every other response I’ve seen, the solution doesn’t work.
But basically, this is what I want to do:
Let’s assume the menu structure looks like that:
I want that if someone clicks on Entry1 (and makes it the parent) the Theme just shows the submenu of this entry. In the case of Entry1 it’s:
But this isn’t selecting the child pages, this all needs to come from the menu builder, so it’s selecting the child menu items.
I’d think there was an easy way to do this, but Google is hinting that perhaps it’s not that easy…. Anyone have any ideas?
Yeah, I’ve got all that working. What I can’ figure out how to do in my theme is to pull out the submenu items when on the appropriate page. Something like this:
No, it’s just displaying as an unordered list a few divs away from the top main menu. (assuming that you’re on the parent menu item, or one of the children menu items)
No – are you trying to achieve a dropdown menu or something else entirely?
I’m trying to achieve this:
So a separate sub-menu, yes? That’s the kind of detail we really need. Are these static Pages or Categories?
Oh yes, sorry. Yes, it’s a separate sub-menu. They are a mix of static pages, and custom menu items. The Custom ones are links to things that are not within wordpress…but I could convert those to pages as well if it makes generating the menu easier.
- The topic ‘How to pull out the sub menu items and use in theme.’ is closed to new replies.