View Full Version : wordpress php exclude page issue

04-02-2010, 04:10 PM
how come i have "exclude=171" in my list pages code below, but its not excluding page 171 from my page list in the leftside navigation on the website http://poolplayersforhire.com/

<div id="leftside">
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Main Sidebar') ) : else : ?>

<ul class="page">
<?php if (is_page()) { $highlight = "page_item"; } else {$highlight = "page_item current_page_item"; } ?>

<?php wp_list_pages('sort_column=menu_order&depth=1&title_li=&exclude=171'); ?>

<?php endif; ?>


please advise. thanks.

04-02-2010, 05:41 PM
Just tried your code myself and it appears to work fine for me:(

04-02-2010, 06:24 PM
thanks for trying.

anyone else know what's going on here?????????

04-05-2010, 09:25 PM
anyone? i'm at a total loss here. please please help. :(