which template file

Mô tả

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/)

Ảnh màn hình

  • The template used owns to your theme
  • The template used owns to the parent theme
  • The template used owns to a plugin

Cài đặt

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. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Smile 😉

Hỏi đáp

Why would I need this plugin ?

Just usefull if you are a WordPress theme developer.

Đánh giá

12 Tháng Sáu, 2020
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.
Đọc tất cả 3 đánh giá

Người đóng góp & Lập trình viên

“which template file” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi


  • Compatibility with WP 4.8.2


  • Compatibility with PHP < 5.3


  • Correction of an error in updating the plugin on v 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.


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


  • Notice fix


  • 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)


  • Compatibility with wp 4.1
  • Bug fix for child themes


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


  • Fixing a bug for non admin


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


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


  • The first version