Title: which template file
Author: gilles66
Published: <strong>21 de Outubro, 2013</strong>
Last modified: 2 de Febreiro, 2025

---

Buscar plugins

![](https://ps.w.org/which-template-file/assets/banner-772x250.jpg?rev=1360735)

Este plugin **non se actualizou en máis de 2 anos**. É posible que xa non sexa compatible
ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con
novas versións de WordPress.

![](https://ps.w.org/which-template-file/assets/icon-256x256.png?rev=1360728)

# which template file

 Por [gilles66](https://profiles.wordpress.org/gilles66/)

[Descargar](https://downloads.wordpress.org/plugin/which-template-file.5.2.0.zip)

 * [Detalles](https://gl.wordpress.org/plugins/which-template-file/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/which-template-file/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/which-template-file/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/which-template-file/#developers)

 [Soporte](https://wordpress.org/support/plugin/which-template-file/)

## Descrición

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

Show the name of the php file of your theme used to display the current page.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/)

## Capturas

 * [[
 * The template used owns to your theme
 * [[
 * The template used owns to the parent theme
 * [[
 * The template used owns to a plugin

## Instalación

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 😉

## Preguntas frecuentes

### Why would I need this plugin ?

Just usefull if you are a WordPress theme developer.

## Comentarios

![](https://secure.gravatar.com/avatar/6955650dfc2336dd1f5601c9089ff5bc39b5d5c20f848724cce25ffdf64aee8b?
s=60&d=retro&r=g)

### 󠀁[Great for theme developers](https://wordpress.org/support/topic/great-for-theme-developers-2/)󠁿

 [raygulick](https://profiles.wordpress.org/raygulick/) 13 de Marzo, 2024

Makes theme and site development and modifications so much easier and faster. I’ve
been using this plugin for years; just noticed I’ve never reviewed it here, and 
decided to correct that oversight.

![](https://secure.gravatar.com/avatar/739e420173d237dfba6c4f27eb54739f8295d1f72e53d6b7ae70352c29dd5d17?
s=60&d=retro&r=g)

### 󠀁[Save a bunch of time](https://wordpress.org/support/topic/save-a-bunch-of-time/)󠁿

 [phwayne](https://profiles.wordpress.org/phwayne/) 12 de Xuño, 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.

 [ Ler todas as 4 opinións ](https://wordpress.org/support/plugin/which-template-file/reviews/)

## Colaboradores e desenvolvedores

“which template file” é un software de código aberto. As seguintes persoas colaboraron
con este plugin.

Colaboradores

 *   [ gilles66 ](https://profiles.wordpress.org/gilles66/)

[Traduce “which template file” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/which-template-file)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/which-template-file/),
bota unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/which-template-file/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/which-template-file/)
por [RSS](https://plugins.trac.wordpress.org/log/which-template-file/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 5.2.0

 * Compatibility with WP 6.7.1

#### 5.0.0

 * Fix CSRF issue

#### 4.9

 * Fix CSRF issue

#### 4.8

 * Compatibility with WP 6.3.2

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

## Meta

 *  Versión **5.2.0**
 *  Última actualización **Fai 1 ano**
 *  Instalacións activas **4.000+**
 *  Versión de WordPress ** 3.3.0 ou superior **
 *  Probado ata **6.7.5**
 *  Versión de PHP ** 5.6 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/which-template-file/)
 * Etiquetas
 * [adminbar](https://gl.wordpress.org/plugins/tags/adminbar/)[debug](https://gl.wordpress.org/plugins/tags/debug/)
   [template](https://gl.wordpress.org/plugins/tags/template/)[toolbar](https://gl.wordpress.org/plugins/tags/toolbar/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/which-template-file/advanced/)

## Valoracións

 5 de 5 estrelas

 *  [  4 valoracións de 5 estrelas     ](https://wordpress.org/support/plugin/which-template-file/reviews/?filter=5)
 *  [  0 valoracións de 4 estrelas     ](https://wordpress.org/support/plugin/which-template-file/reviews/?filter=4)
 *  [  0 valoracións de 3 estrelas     ](https://wordpress.org/support/plugin/which-template-file/reviews/?filter=3)
 *  [  0 valoracións de 2 estrelas     ](https://wordpress.org/support/plugin/which-template-file/reviews/?filter=2)
 *  [  0 valoracións de 1 estrelas     ](https://wordpress.org/support/plugin/which-template-file/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/which-template-file/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/which-template-file/reviews/)

## Colaboradores

 *   [ gilles66 ](https://profiles.wordpress.org/gilles66/)

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/which-template-file/)