Making parent and first child page the same (url and content)
-
Hello,
So I am working on a responsive site where the parent pages need to be the same as the first child page.
Sample:
About- Overview
- Careers
- Team
On small screens the navigation expands. To get to About/Overview, a click (touch) on About and then on Overview is required.
On larger, desktop size screens, the sub-navigation does not expand. To reach the same page, a single click on About is required.– Just FYI: The sub-navigation on desktop screens is displayed further below in the content.
Now my questions:
- How to manipulate the
wp_nav_menu()
to link ‘About’ to ‘Overview’?
Default is https://www.mypage.com/about and child page https://www.mypage.com/about/overview/, but both links should point to https://www.mypage.com/about/overview/. I don’t want to add custom links to the menu. - If above doesn’t work, how do I display, the contents of the first child page in the parent page?
I am using the roots starter theme in case that’s important.
Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Making parent and first child page the same (url and content)’ is closed to new replies.