My question is on a page or post, is there a way to tell if it is private or not? The reason being is that when you see a post that is private without being logged in, it is only a blank page. I would like to change this to where it displays an error of some sort.
So is there a way to find out if a post or page is private? If so how?