AHA7
Feb 12th 2007, 3:40 am
Hello,
My WP 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?
My WP 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?