Ready to get started?Download WordPress


List_pages link hack (1 post)

  1. mvanboordt
    Posted 2 years ago #


    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() ) {
    } else {
        echo '';
    } ?>

    Thnx in advance!


Topic Closed

This topic has been closed to new replies.

About this Topic