Test for Password Protected Post/Page

if (is_singular() && post_password_required($post))

Comments on this entry are closed.