I am utilizing a Wordpress menu to act as the primary navigation for my website. Each main item in this menu is a Page Type that redirects to other existing pages, with one of them containing submenus made up of custom links.
These custom links' URLs are div IDs from their parent page, creating a structured hierarchy within the menu.
For example:
- About Us
- Who we are
- What we do
- How we do
The issue I am facing is that when I am on the About Us page, these submenu links function correctly by scrolling to the designated sections. However, if I am on another page (such as the Homepage), the links do not redirect properly because there are no corresponding div sections on that page.
Any suggestions for how I can modify these URLs to address this problem? Your help is greatly appreciated.