[wp-hackers] Exclude page by name in wp_list_pages

Computer Guru computerguru at neosmart.net
Fri Jul 21 15:26:19 GMT 2006

> in the theme's functions.php, renaming them, and changing the line that
> handles excluding pages to sort by 'post_name' instead of 'ID'.
> 'post_name' , unlike 'post_title' is unique as far as I know.

But you never know: what if a plugin that use has come to the same conclusion, that it is unique for it too?

The best way to do it is stick it in a class or else pre-pend a random string before it.

Computer Guru
NeoSmart Technologies

More information about the wp-hackers mailing list