Today I want to tell you about a really cool but often overlooked feature of WordPress: private and password protected pages and posts. They’re a great way to easily add secret or exclusive content to your website.
By default WordPress pages and posts are fully visible to everyone. But set the visibility to private and it’s completely hidden; only logged in administrators and editors can see the pages or posts. Or set it to password protected and anyone you share the password with can access them.
So what can you use this for?
- A ‘playground’ page where you can test out new layouts, theme features or shortcodes, or just generally practice using the WordPress content editor in private.
- A branding or website style guide: a page showing examples styles and best practices for working with your brand and site. This could include various things including font styles, image/photography styles (like what kind/s of images to use), and copywriting guidance (eg tone of voice, words to avoid etc).
- A resource library for your email subscribers. Give them the password so they can access exclusive freebies.
- A client resources page. Build a ‘welcome pack’ to help with client onboarding, including things like FAQs, training in your project management software etc.
- A client handover page. Once a project is complete this could be used to deliver things like the final logo files, website training videos or guides etc.
- Subcontractor or VA training. If you’re working with others and they need access to resources like document templates or training to explain your business’ processes, you could create a page for that too.
And that’s just a few suggestions – what will you create?
You might also like: How to schedule posts in WordPress
How to create private pages and posts in WordPress
Now that you have a plan for your secret page or post, this is how you create it:
Firstly, create your page or post as normal. For pages this is Pages > Add New, and for posts it’s Posts > Add New. Add your content.
Now, on the Publish panel click on the Edit link next to ‘Visibility’. To create a private page, select Private, then OK.
Or choose Password protected, enter a password for the page/post, then click OK.
And that’s it. If you chose password protected, when someone tries to view the page or post they’ll be asked to enter the password.
For more WordPress tips and tutorials to make the most of your site, be sure to sign up for my newsletter and you’ll get weekly tips and advice straight into your inbox.
Never miss a post
Sign up for actionable WordPress tips and advice, plus exclusive tips and offers, just for subscribers.