[wp-hackers] wp list pages and password protected pages

JAYMIN PATEL jayminkapish at inbox.com
Thu May 8 21:04:01 GMT 2008


<?php wp_list_pages('exclude=1,2'); ?>

where 1 & 2 are page_ids of password protected pages.

- JK

> -----Original Message-----
> From: joost at joostdevalk.nl
> Sent: Thu, 8 May 2008 22:55:07 +0200
> To: wp-hackers at lists.automattic.com
> Subject: [wp-hackers] wp list pages and password protected pages
> 
> Hi,
> 
> Is there any way to make wp_list_pages exclude password protected
> pages? If not, how would I do that most efficiently?
> 
> Cheers,
> Joost
> --
> Joost de Valk
> http://www.joostdevalk.nl/
> 
> P.S. Join my WordPress Plugin & SEO mailing list, and I'll teach you
> all I know! Just go to:
> 
> http://www.joostdevalk.nl/mailing-list/
> ...to get weekly WordPress Plugin news, SEO tips for your blog and more!
> 
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth


More information about the wp-hackers mailing list