List_pages link hack
-
Hey,
I need a hack for the wp_list_pages.
I have a drop-down menu created with wp_list_pages
There is one page where the users can login. At that page is the menu but don’t want the users to click on the links.
Is there a way wo remove the link in that specific wp_list_pages?The login page has it’s own template, so I can remove the whole menu but that is just nog what I want!
This is what I have right now:
<?php if ( is_user_logged_in() ) { wp_list_pages('title_li=&sort_column=menu_order); } else { echo ''; } ?>
Thnx in advance!
M.
- The topic ‘List_pages link hack’ is closed to new replies.