如何在WordPress仪表板中显示页面模板

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

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/

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值