Is there any way to show private pages at the public website section when you logged in as admin? Today, they only shows in admin.
1 Answer
There's a query_posts
parameter where you normally use published
, but can use private
too.
-
-
You could wrap it with a
if ( current_user_can( '*some capability*' ) ) : /* do stuff */ endif;
– kaiserApr 2, 2011 at 12:04