Within my dropdown menu setup, I am aiming to achieve a specific functionality. When the user clicks on sub menu
, I want the title of sub menu
to display in the Menu
space as illustrated below.
What steps can be taken to accomplish this?
UPDATE: After further consideration, it seems that my initial explanation was not clear enough.
Let's say, for instance, a user selects the Sub Menu 2
option, they will then be directed to a corresponding page.
This particular Sub Menu 2
page will have a designated url
of sub_menu_2
.
For example, the URL of the page may be something like .com/sub_menu_2
When users navigate to the sub menu 2
page, I would like the menu
title to reflect 'sub menu 2' accordingly.
I apologize for any confusion caused earlier.