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


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.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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