WordPress.org

Ready to get started?Download WordPress

Forums

List_pages link hack (1 post)

  1. mvanboordt
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic