wordpress创建_如何在WordPress中创建私人帖子

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.

您要在WordPress中创建私人帖子吗? 与常规WordPress帖子不同,您的网站访问者看不到私人帖子。 只有具有特定权限的登录用户才能看到他们。 在本文中,我们将向您展示如何轻松地在WordPress中创建私人帖子。

Creating private post in WordPress
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中的私人帖子对公众不可见。 只有具有正确权限的登录用户才能在您的博客文章中看到它。

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.

WordPress带有内置的用户角色系统 ,该系统将权限和功能分配给不同的用户角色。 每个WordPress用户都有一个分配给他们的角色,该角色使他们有权在网站上执行特定任务。

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.管理员 –可以创建,编辑和删除WordPress网站上任何用户创建的私人帖子。
  • 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.

话虽如此,让我们看一下如何在WordPress中创建私人帖子。

在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.

注意:您添加到私人帖子中的图像不是私人的,其他作者可以在媒体库中查看。 具有图像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.

我们希望本文能帮助您学习如何在WordPress中创建私人帖子。 如果您想创建一个包含私人内容和课程的全功能会员网站,那么您可能需要查看有关如何在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.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/beginners-guide/how-to-create-a-private-post-in-wordpress/

wordpress创建

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值