...

View Full Version : wordpress php exclude page issue



sixrfan
04-02-2010, 03: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'); ?>
</ul>

<?php endif; ?>

</div>


please advise. thanks.

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

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

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

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum