Show Current Template

Descripción

Un plugin para WordPress que muestra en la barra de herramientas el nombre del archivo de plantilla actual, el nombre del tema actual y el nombre de los archivos de plantilla incluidos. Si te gusta este plugin, ¡puedes invitarme a un café! 😉

Inspirado por (y muchas gracias a):

  • https://gist.github.com/gatespace/4482529
  • https://es.wordpress.org/plugins/reveal-template/

Capturas

  • Muestra el archivo de la plantilla actual.

Instalación

La mejor manera

  1. En tu administrador de WordPress, vete a la página agregar nuevos plugins
  2. Buscar: Show Current Template
  3. Show Current Template debería ser el primer resultado. Hacer clic en el enlace instalar.

La manera antigua

  1. Subir el plugin al directorio /wp-content/plugins/
  2. Activa el plugin a través del menú «Plugins» en WordPress

FAQ

Does this plugin work with block themes?

No. This plugin is useless when using block themes, and it shows a message that this plugin is useless when using block themes.

I don’t see the toolbar.

Is the Toolbar (Show Toolbar when viewing site) option in your profile page is checked?
You can find your profile page is in your WordPress admin -> Users -> Profile.

I don’t see the current template file name in the toolbar.

Do you logged in as «Administrator»? Other role users like «Editor» can’t see the file name. If your WordPress is multisite, only super admin can see the file name.

I’dont think this plugin is working properly.

Please try below:

  • Activate one of the default themes.

Now the plugin work properly? Then it means there may be a compatibility issue between your theme and this plugin, so let me know your theme’s name and where I can get it.

  • Try to stop all plugins other than this plugin.

Now the plugin work properly? Then it means there may be a compatibility issue between one of those other plugins and this plugin, so let me know those plugins names and where I can get them.

Reseñas

15 de agosto de 2021
Amazing plugin! Does exactly what it says, which is so useful for trying to work out which php file needs to be tweaked.
26 de junio de 2021 1 respuesta
Does what it says on the box. Works with no glitches. thanks.
Leer todas las 68 reseñas

Colaboradores y desarrolladores

«Show Current Template» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Show Current Template» está traducido en 16 idiomas. Gracias a los traductores por sus contribuciones.

Traduce «Show Current Template» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

0.5.2

  • Update required WordPress version to 5.9. Special thanks to @dmchale for reporting the issue!

0.5.1

  • Delete unnecessary files.

0.5.0

  • Display a message that this plugin is useless when using block themes.
  • Remove stray language file. Special thanks to @szepeviktor for reporting the issue!

0.4.6

  • Fix JS Error when No Admin Bar. Special thanks to @taupecat for reporting the issue!

0.4.5

  • Fix showing included files at bottom when your WordPress site is multisite and you are a normal admin (not super admin). Special thanks to @dmchale for reporting the issue!

0.4.4

  • Fix not showing included files on Windows local. Special thanks to @lindt01 for helping me identify the cause!

0.4.3

  • Fix the JavaScript error reported by @flexer. Special thanks to @dmchale for the fix!

0.4.2

  • Fix showing included files at bottom when the logged in user’s roles other than admin.

0.4.1

  • Fix showing included files at bottom when visitor visits the site. This issue was reported by @tsato. Thank you very much!

0.4.0

  • Fix not showing all included files with WordPress version 5.4 or greater.
  • Clean up some code.

0.3.4

  • Ningún cambio funcional excepto el número de versión en el archivo PHP del plugin y la URL de donación.

0.3.3

  • Ningún cambio funcional excepto el número de versión en el archivo PHP del plugin y la URL de donación.

0.3.2

  • No hay ningún cambio, excepto el número de versión en el archivo PHP del plugin.

0.3.1

  • Solo añadir un enlace de donación.

0.3.0

  • ACTUALIZADO: Hacer la lista de archivos desplazable.
  • ACTUALIZADO: Cambiar de css a sass.

0.2.2

  • Vaya, demasiado corto.

0.2.1

  • ACTUALIZADO: Hacer la altura de los nombres de los archivos incluidos más cortos

0.1.8

  • ACTUALIZADO: actualización para 3.8.

0.1.6

  • CORREGIDO: actualización para 3.8.

0.1.5

  • CORREGIDO: se solucionó el problema de no mostrar el nombre del tema padre cuando se usaba un tema hijo.

0.1.4

  • ACTUALIZADO: Hacer que el archivo actual no se muestre en la lista de archivos incluidos.

0.1.3

  • CORREGIDO: corregidos algunos avisos.

0.1.2

  • CORREGIDO: corregido un posible conflicto con el dominio de texto (https://github.com/tekapo/show-current-template/pull/1).
    Gracias a @wokamoto san.

0.1.1

  • ACTUALIZADO: readme.txt

0.1.0

  • Version inicial