Developing my own theme and I don't understand why my primary menu is listing all of my pages on a parent level, when I want only 5 parent pages as my menu with each having child pages in sub-nav that appears on hover or click.
My page structure looks something like:
- Home (parent)
- Services (parent)
- service#1 (child)
- service#2 (child)
- service#2 (child) - Company (parent)
- company#1 (child)
- company#2 (child)
- company#3 (child)
Those child pages should not be shown in the menu until its parent page is hovered or clicked on. Yet, this seems to be the default position in wordpress (parent and child showing at same level in menu)?
Any help? Thanks.