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 1


There's a query_posts parameter where you normally use published, but can use private too.

  • Discovered a problem. It's visible even when i'm offline. Apr 2, 2011 at 9:09
  • You could wrap it with a if ( current_user_can( '*some capability*' ) ) : /* do stuff */ endif;
    – kaiser
    Apr 2, 2011 at 12:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.