Quote:
Originally Posted by ryanhellyer
<ul>
<?php
wp_list_pages('exclude=$whatever' ); ?>
</ul>
|
Ah, well that would be a variable not a string

I think the problem is that you're using single quotes instead of double quotes - with singles, variables inside are not replaced with their value. You can either change to double quotes, or if this isn't convenient in the cotext of the surrounding code, just use concatenation like below:
wp_list_pages('exclude=' . $whatever);