Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

share|improve this question
    
I think you are looking for this: wordpress.stackexchange.com/a/100014/21376 –  s_ha_dum Jun 8 '13 at 13:17

1 Answer 1

up vote 0 down vote accepted

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.

share|improve this answer
    
Thanks, It works very well! –  Milad Sobhkhiz Jun 8 '13 at 16:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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