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().


1 Answer 1


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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.