WordPressでは、ページテンプレート機能を使って各ページの見た目をカスタマイズすることができます。WordPressではカスタムテンプレートを使ってカスタムページを作成することができます。大規模なカスタマイザーサイトで作業する場合、異なるテンプレートを使用しているページが大量にあると問題が発生します。ページがどのテンプレートを使っているかを知る唯一の方法は、手動でページを編集することです。この投稿では、WordPressダッシュボードにページテンプレートを表示する方法を紹介します。これにより、各ページのエディターを読み込むことなく、各ページがどのテンプレートを使用しているかを簡単に確認することができます。
動画チュートリアル
動画が気に入らなかったり、もっと説明が必要な場合は、このまま読み進めてください。
まず最初にページテンプレートダッシュボードプラグインをインストールし、有効化します。有効化したら完了です。ダッシュボードのページセクションに移動すると、ページのリストに「Page Template」という新しいカラムが追加されています。
このプラグインを使用することで、各ページがどのテンプレートを使用しているかを確認することができます。カスタムテンプレートを使用していないページには初期設定が表示されます。このプラグインはテーマ開発者や2つのテーマを切り替えているときに特に便利です。どのページがカスタマイザーに依存しているかを特定するのに役立つので、テーマを切り替えるときにそれを考慮することができます。
サイトのデザイン/開発を生業としている多くの皆さんのお役に立てれば幸いです。ご質問やご意見がありましたら、以下にコメントをしてください。
Syed Balkhi
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Nathan
This plugin was deleted and is unable to be downloaded from WP since 12/2018, FYI.
WPBeginner Support
Thank you for letting us know, we will look into updating this article when we are able
管理者
mikita shah
if I create a page for new template..after making page template how can I see it in dashboard template option??
thethaiguy
Something I haven’t thought of! Well done and thanks for another great info again.