WordPress allows you to customize the look of each page by using the page template functionality. You can create a custom page in WordPress using a custom template. When working with large custom sites, a problem arises when you have a large number of pages using different templates. The only way to find out which template a page is using is by editing the page manually. In this article we will show you how to show page templates in WordPress Dashboard, so you can easily see which template each page is using without having to load the page editor for each individual page.
WordPress允许您使用页面模板功能来自定义每个页面的外观。 您可以使用自定义模板在WordPress中创建自定义页面 。 当使用大型自定义网站时,当您使用不同的模板使用大量页面时会出现问题。 找出页面使用哪个模板的唯一方法是手动编辑页面。 在本文中,我们将向您展示如何在WordPress仪表板中显示页面模板,因此您可以轻松查看每个页面使用的模板,而不必为每个页面加载页面编辑器。
影片教学 (Video Tutorial)
If you don’t like the video or need more instructions, then continue reading.
如果您不喜欢该视频或需要更多说明,请继续阅读。
First thing you need to do is install and activate the Page Template Dashboard plugin. Once activated you are done. Now if you go to the Pages section in your dashboard, you you will see a new column “Page Template” added to the list of pages.
您需要做的第一件事是安装并激活页面模板仪表板插件。 一旦激活,就完成了。 现在,如果转到仪表板的“ 页面”部分,您将看到一个新列“页面模板”添加到页面列表中。
![Showing page template names in WordPress Dashboard Showing page template names in WordPress Dashboard](https://i-blog.csdnimg.cn/blog_migrate/7e8d58e23db4a8f7434a531e8156a7bf.png)
By using this plugin you can see which template each of your pages are using. It will show Default for pages that are not using any custom template. This plugin is particularly useful in theme development environment, or when you are switching between two themes. It can help you identify which pages depend on a custom template, so you can account for it when switching themes.
通过使用此插件,您可以查看每个页面使用的模板。 对于未使用任何自定义模板的页面,它将显示默认值。 该插件在主题开发环境中或在两个主题之间切换时特别有用。 它可以帮助您确定哪些页面取决于自定义模板,因此可以在切换主题时进行说明 。
We hope that this will help a good number of you guys who design/develop sites for a living. If you have any questions or feedback, then feel free to leave a comment below.
我们希望这对设计/开发生活场所的许多人有所帮助。 如果您有任何疑问或反馈,请随时在下面发表评论。
翻译自: https://www.wpbeginner.com/plugins/how-to-show-page-templates-in-wordpress-dashboard/