I have a wordpress site and there is a navigation bar with menu and submenu.
I want to remove link attribute from menu items that have sub menu.
Is it possible? because i couldn't achieve to this by this function : wp_list_page()
.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI have a wordpress site and there is a navigation bar with menu and submenu.
I want to remove link attribute from menu items that have sub menu.
Is it possible? because i couldn't achieve to this by this function : wp_list_page()
.
Use Page Links To plugin by Mark Jaquith. Edit top level page and in section Page Links To select An alternate URL and enter # as an URL.