When it comes to publishing posts or pages in WordPress, there are visibility options presented to you to restrict what the public can or cannot see.
We will be going over the three default types of visibility options: Public, Password protected, and Private.
Within any post-type, whether it be pages, blog posts, properties, etc., a Publish box should be seen immediately as the first box within the upper right-hand corner of the page. Typically, it’s followed by a Categories box, a Tags box, or even a Featured Image box depending on the post-type. The point is the box is “front and center” and ready for user interaction.
To see the visibility options offered by WordPress, click on the blue Edit link next to Visibility.
The visibility option is set to Public by default. That means that as soon as the page is published, anyone with the direct URL can access and see the contents of said page.
Password protected behaves as a public page, but with a catch. The page is public and the URL is accessible to anyone who has it, however, the catch is the reader has to input the correct password to view the contents of the page.
That password is set by clicking on the Password protected radio button, followed by inputting a chosen password and clicking on the blue OK to set the password in place. The password is not set in stone and can be updated with a different one.
The reader will be greeted with an input field to type in the correct password in order to access the information on the page.
This option would work well if you wanted someone to review the page or article without necessarily providing any WordPress credentials. They could access the URL, input the password, and provide any constructive feedback.
As the name suggests, Private is the complete opposite of Public. When the visibility option is set to private, the page becomes unavailable to the reader regardless if they have the direct URL.
Once the reader goes to the direct URL, they are greeted with some form of a Page not found message depending on the WordPress theme the site is using. It is sort of like a false/positive. The user believes that they made an error or believes that page truly does not exist, when in fact the page is accessible through the WordPress backend.
The only way to see a private page is to first be logged in to the WordPress backend and then access the page from there.
This option would work well if nobody was within the general vicinity to walk over and read the article on your screen. They could log in to the WordPress backend and read the article on their own device. Very helpful if you have employees working remotely instead of in office.
Congratulations! You have successfully learned about the various ways you can manipulate the visibility of posts, pages, etc. Play around with the options some more to get familiar with the structure at hand.
Did you enjoy the read? Is there a topic that you have been dying to learn more about and would like us to cover? Send us an email at email@example.com and let’s see how we can make that dream a reality.