![](https://i-blog.csdnimg.cn/blog_migrate/7f18726a5c42a53735f950988f40edb5.png)
隐藏wordpress后台
Have you ever wanted to hide a blog post from your WordPress homepage or blog archive page?
您是否曾经想从WordPress主页或博客存档页面隐藏博客文章?
While you can make WordPress posts password protected or private, in some cases you may simply want to hide the post from your homepage while still allowing others to view it if they have the direct link.
虽然您可以将WordPress帖子设置为受密码保护或不公开,但在某些情况下,您可能只想隐藏主页中的帖子,同时如果其他人具有直接链接,则仍然允许他们查看它。
In this article, we will show you how to hide posts from selected pages in WordPress such as homepage, category archives, search results, and more.
在本文中,我们将向您展示如何隐藏WordPress中选定页面的帖子,例如首页,类别档案,搜索结果等。
![Hide Posts from Home Page in WordPress Hide Posts from Home Page in WordPress](https://i-blog.csdnimg.cn/blog_migrate/083b147af4da8b9f6d919c52c9ef6a47.png)
方法1.使用插件从主页隐藏WordPress帖子 (Method 1. Hide a WordPress Post from Homepage Using a Plugin)
This method is easier, and it is recommended for beginners.
此方法比较简单,建议初学者使用。
First thing you need to do is install and activate the WordPress Hide Posts plugin. For more details, see our step by step guide on how to install a WordPress plugin.
您需要做的第一件事是安装并激活WordPress隐藏帖子插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。
Once the plugin is activated, go ahead and edit the post you want to hide. You will notice a new ‘Hide Posts’ section in the right column of the editor.
激活插件后,继续编辑您要隐藏的帖子。 您会在编辑器的右列中看到一个新的“隐藏帖子”部分。
![Hide posts settings Hide posts settings](https://i-blog.csdnimg.cn/blog_migrate/23bb2959bf610bb1198922aa81848341.png)
Clicking on it will reveal plugin options. You can hide the post on the front page and blog page, category or tag pages, authors page, and site search results.
单击它会显示插件选项。 您可以在首页和博客页面,类别或标签页面,作者页面以及站点搜索结果中隐藏帖子。
Simply select the options you like and then save your post.
只需选择您喜欢的选项,然后保存您的帖子。
Depending on the options you selected, you can now visit those pages and that particular post will not be listed.
现在,根据您选择的选项,您可以访问这些页面,并且该特定帖子不会列出。
All users who have the direct post URL (permalink) can still see it by entering the URL.
具有直接发布URL( permalink )的所有用户仍然可以通过输入URL来查看它。
While this method is the easiest, it lacks several powerful options.