このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

which template file

説明

Need to know which template is used by WordPress to display your pages in the front office ?
This plugin simply does this.Try it on your free dummy site : Click here => https://tastewp.com/new?pre-installed-plugin-slug=which-template-file&redirect=plugins.php&ni=true

Need to know which template is used by WordPress to display your pages in the front office ?
This plugin simply does this.

Efficient and very easy to install, it will show you in the admin bar the name of the php file currently used to display the current page.
The color of the text is different regarding the origin of the template(the theme, a parent theme, or a plugin)
(icon author :http://www.megaicons.net/iconspack-1096/45043/)

which template file

Contributors: gilles66
Tags: template, tpl, debug, adminbar, toolbar
Requires at least: 3.3.0
Tested up to: 5.8.2
Stable tag: 4.6.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Show the name of the php file of your theme used to display the current page.

スクリーンショット

  • The template used owns to your theme
  • The template used owns to the parent theme
  • The template used owns to a plugin1. The template used owns to your theme

インストール

Installation process is exactly the same than other WordPress plugins.
Check this link if you need help : https://www.google.fr/search?q=how+to+install+a+wordpress+plugin&oq=how+to+install+a+wordpress

  1. Upload the plugin folder ‘which-template-file’ to the ‘/wp-content/plugins/’ directory
  2. WordPress の「プラグイン」メニューからプラグインを有効化
  3. Smile ;-)Installation process is exactly the same than other WordPress plugins.
    Check this link if you need help : https://www.google.fr/search?q=how+to+install+a+wordpress+plugin&oq=how+to+install+a+wordpress

  4. Upload the plugin folder ‘which-template-file’ to the ‘/wp-content/plugins/’ directory

  5. WordPress の「プラグイン」メニューからプラグインを有効化
  6. Smile 😉

FAQ

Why would I need this plugin ?

Just usefull if you are a WordPress theme developer.= Why would I need this plugin ? =

Just usefull if you are a WordPress theme developer.

評価

2020年6月12日
This simple plugin save a bunch of time trying to reverse engineer which template a page is using. Quick download and install. Works as described.
3件のレビューをすべて表示

貢献者と開発者

which template file はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“which template file” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

4.6

  • Compatibility with WP 5.8

4.3.0

  • Compatibility with WP 4.8.2

4.2.2

  • Compatibility with PHP < 5.3

4.2.1

  • Correction of an error in updating the plugin on v 4.2.0

4.2.0

  • Adding an option to chose if every logged user can see the template file in the admin-bar, or just the admnistrators of the website.
    (with administrator role)
    By default, just the administrators can.

4.1.1

  • Admin fix (the template name was added in the admin bar in the back-office too. Sorry for this)

4.1

  • Notice fix

4.0

  • Compatibility with wp 4.4.2
  • Bug fix for multi-sites
  • Display the name of the template now for all users with admin bar (not just admninistrators)
  • Different colors for the text regarding the origin of the template(the theme, a parent theme, or a plugin)

3.1

  • Compatibility with wp 4.1
  • Bug fix for child themes

3.0

  • Add the “title” attribute to see the whole path to the template file

2.1

  • Fixing a bug for non admin

2.0

  • Now the template name is shown in the admin bar just for the admin

1.4

  • Small css change (adding !important to the color of the text)

1.0

  • The first version
    Efficient and very easy to install, it will show you in the admin bar the name of the php file currently used to display the current page.
    The color of the text is different regarding the origin of the template(the theme, a parent theme, or a plugin)
    (icon author :http://www.megaicons.net/iconspack-1096/45043/)= 4.6 =
  • Compatibility with WP 5.8

4.3.0

  • Compatibility with WP 4.8.2

4.2.2

  • Compatibility with PHP < 5.3

4.2.1

  • Correction of an error in updating the plugin on v 4.2.0

4.2.0

  • Adding an option to chose if every logged user can see the template file in the admin-bar, or just the admnistrators of the website.
    (with administrator role)
    By default, just the administrators can.

4.1.1

  • Admin fix (the template name was added in the admin bar in the back-office too. Sorry for this)

4.1

  • Notice fix

4.0

  • Compatibility with wp 4.4.2
  • Bug fix for multi-sites
  • Display the name of the template now for all users with admin bar (not just admninistrators)
  • Different colors for the text regarding the origin of the template(the theme, a parent theme, or a plugin)

3.1

  • Compatibility with wp 4.1
  • Bug fix for child themes

3.0

  • Add the “title” attribute to see the whole path to the template file

2.1

  • Fixing a bug for non admin

2.0

  • Now the template name is shown in the admin bar just for the admin

1.4

  • Small css change (adding !important to the color of the text)

1.0

  • The first version