• Hello,

    My theme uses the following code to display the top nav links: <?php wp_list_pages(‘title_li=&depth=1&’.$page_sort.’&’.$pages_to_exclude)?>

    How can I exclude a page using this function?
    Do I just add ID of the page I want to exclude after the $pages_to_exclude, example: $pages_to_exclude=’7′ or what?

The topic ‘Excluding a page’ is closed to new replies.