Have you seen popular websites featuring specific pages in their sidebars? These static pages are used to display information like an about page, getting started page new readers, an 档案页, etc. Recently one of our users asked us if there was a way to feature pages in WordPress. In this article, we will show you how to feature a page in WordPress.
您是否看到过在侧边栏中显示特定页面的热门网站? 这些静态页面用于显示诸如“关于”页面,入门页面,新读者, 存档页面等信息。最近,我们的一位用户问我们是否可以在WordPress中显示页面。 在本文中,我们将向您展示如何在WordPress中显示页面。

First thing you need to do is install and activate the 功能页面小部件 plugin. Upon activation simply go to 外观 » 小部件 where you will notice a new 小部件 called ‘Feature a Page Widget’. Next, drag and drop the widget to a sidebar.
您需要做的第一件事是安装并激活功能页面小部件插件。 激活后,只需转到外观 » 小部件 ,您将在其中注意到一个名为“功能页面小部件”的新小的部件。 接下来,将小部件拖放到侧边栏。

小部件设置中的第一个选项是选择小部件标题。如果您愿意,可以将其留空。其次,您需要从下拉菜单中选择要展示的页面。
小部件设置中的第一个选项是选择小部件标题。如果需要,您可以将其留空。其次,您需要从下拉菜单中选择要显示的页面。
As soon as you select a page, the widget will show you the page status. It will check for a page thumbnail (特色图片) and 摘抄.
选择页面后,小部件将立即显示页面状态。 它将检查页面缩略图( 特色图片 )和提炼 。
如果您的页面没有它们,那么小部件将以红色突出显示它们。您可以单击铅笔图标,这将在帖子编辑器中打开页面,您可以在其中设置缩略图和摘录。
如果您的页面没有它们,小部件将以红色突出显示它们。您可以单击铅笔图标,这将在帖子编辑器中打开页面,您可以在其中设置缩略图和摘录。
If you don’t see the Excerpt meta box when editing the page, then you need to enable it. Click on the 屏幕选项 button on the top right corner of the screen. A fly down menu will appear, and you need to simply check the box next to Excerpt.
如果在编辑页面时没有看到“摘录”元框,则需要启用它。 单击屏幕右上角的“屏幕选项”按钮。 将会出现一个下拉菜单,您只需选中节选旁边的复选框即可。

现在向下滚动到帖子编辑器下方的摘录元框。
现在向下滚动到帖子编辑器下方的摘录元框。
一旦您的页面同时包含摘录和缩略图,您就可以为小部件选择布局。目前,它提供三种布局选择。换行图像布局将显示用摘录换行的页面缩略图。横幅图像布局选项将在摘录顶部显示缩略图。最后,大图像布局选项将在页面摘录顶部显示较大版本的图像。
一旦页面上有了摘录和缩略图,就可以为小部件选择布局了。目前,它提供三种布局选项。包装的图像布局将显示包含摘要的页面的缩略图。横幅图像布局选项将在摘录顶部显示您的缩略图。最后,大图像布局选项将在页面摘录的顶部显示较大版本的图像。
After choosing a layout option, you can click on the 节省 button to store your widget settings.
选择布局选项后,可以单击“ 节省”按钮来存储小部件设置。
That’s all, you can now preview your website to see your featured page in WordPress. Remember you can add multiple featured page widgets in your sidebars. You can also 显示或隐藏小部件 on specific WordPress pages.
就是这样,您现在可以预览您的网站以查看WordPress中的特色页面。 请记住,您可以在边栏中添加多个特色页面小部件。 您还可以在特定的WordPress页面上显示或隐藏小部件 。
我们希望这篇文章能帮助您在 WordPress 中展示页面。
我们希望这篇文章能帮助您在 WordPress 中展示页面。
If you liked this article, then please subscribe to our YouTube 频道 for WordPress video tutorials. You can also find us on 推特 and 谷歌+.
如果您喜欢这篇文章,请订阅我们的YouTube 频道 WordPress视频教程。 您也可以在推特和谷歌+上找到我们。
翻译自: https://www.wpbeginner.com/plugins/how-to-feature-a-page-in-wordpress/