Thursday 4 January 2018

How to Create a Private Post in WordPress

Do you want to create a private post in WordPress? Unlike regular WordPress posts, a private post is not visible to your website visitors. Only logged in users with specific permissions can see them. In this article, we will show you how to easily create a private post in WordPress.

Creating private post in WordPress

What is a Private Post in WordPress? How Does it Work?

A private post in WordPress is not visible to the public. Only logged in users with right permissions can see it among your blog posts.

WordPress comes with a built-in user role system that assigns permissions and capabilities to different user roles. Each WordPress user has a role assigned to them which gives them permissions to do specific tasks on a website.

Any user who has the permission to publish a post can write a private post and publish it. The post will be visible to the user and following user roles.

  • Administrator – Can create, edit, and delete any private post created by any user on a WordPress site.
  • Editor – Can create, edit, and delete any private posts created by any user.
  • Author – Can create, publish, edit, view and delete their own private posts. They cannot see private posts created by other users.

That being said, let’s take a look at how to create a private post in WordPress.

Creating a Private Post or Private Page in WordPress

First you need to create a new post or page. You can also edit an existing post that you want to make private.

On the post edit screen, you need to click on the ‘Edit’ link next to the ‘Visibility’ option in ‘Publish’ meta box.

Edit visibility options of a blog post or page in WordPress

You will now see options to make a post sticky, password protected, or private. Go ahead and select private and then click the OK button to continue.

Private post option in WordPress post edit screen

You can now continue editing the post or you can save/publish it.

If you visit your website, then you will see your Private blog post marked like this:

Private post preview in WordPress

Users who don’t have permission to see private posts will not see it.

Note: Images you add to a private post are not private and can be viewed in media library by other authors. Images can also be viewed by anyone who has the image URL.

We hope this article helped you learn how to create a private post in WordPress. If you are looking to create a full-feature membership website with private content and courses, then you may want to check out our ultimate guide on how to create a membership site in WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Create a Private Post in WordPress appeared first on WPBeginner.



source http://www.wpbeginner.com/beginners-guide/how-to-create-a-private-post-in-wordpress/

No comments:

Post a Comment