[wp-hackers] Display page only to admin..

mrmist listswphackers at mist.org.uk
Sun May 17 07:50:56 GMT 2009


In message 
<505c639e0905162306h42ed916cs6b02f2cc211bd5ff at mail.gmail.com>, Daniel 
Cameron <dan at sproutventure.com> writes
>>
>> Is there anyway i could show a specific page only if the visitor is an
>> admin ?
>
>
>Would a "private" page work?
>

Should do.  Otherwise you are looking at templating the page and 
checking for admin capabilities in the template (though that would only 
stop people seeing the actual page, not anything that relates to the 
page such as recent comments, etc.)
-- 
mrmist


More information about the wp-hackers mailing list