[wp-hackers] wp list pages and password protected pages
Joost de Valk
joost at joostdevalk.nl
Thu May 8 21:05:50 GMT 2008
On May 8, 2008, at 11:04 PM, JAYMIN PATEL wrote:
>
>> -----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
>>
> <?php wp_list_pages('exclude=1,2'); ?>
>
> where 1 & 2 are page_ids of password protected pages.
>
> - JK
That's not what I'm looking for, I need a more generic solution :)
>> _______________________________________________
>> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list