{"id":23511,"date":"2013-05-23T12:31:05","date_gmt":"2013-05-23T12:31:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/show-current-template\/"},"modified":"2026-01-17T04:18:42","modified_gmt":"2026-01-17T04:18:42","slug":"show-current-template","status":"publish","type":"plugin","link":"https:\/\/km.wordpress.org\/plugins\/show-current-template\/","author":728,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.5.4","stable_tag":"0.5.4","tested":"6.9.4","requires":"5.9","requires_php":"7.4","requires_plugins":null,"header_name":"Show Current Template","header_author":"JOTAKI Taisuke","header_description":"","assets_banners_color":"","last_updated":"2026-01-17 04:18:42","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/wp.tekapo.com\/is-my-plugin-useful\/","header_plugin_uri":"https:\/\/wp.tekapo.com\/","header_author_uri":"https:\/\/tekapo.com\/","rating":5,"author_block_rating":0,"active_installs":100000,"downloads":1259151,"num_ratings":71,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.2.0":{"tag":"0.2.0","author":"tai","date":"2015-11-28 04:18:15"},"0.2.1":{"tag":"0.2.1","author":"tai","date":"2015-11-29 00:39:07"},"0.2.2":{"tag":"0.2.2","author":"tai","date":"2016-04-01 20:30:01"},"0.3.0":{"tag":"0.3.0","author":"tai","date":"2019-11-25 05:32:32"},"0.3.1":{"tag":"0.3.1","author":"tai","date":"2019-11-25 09:05:54"},"0.3.2":{"tag":"0.3.2","author":"tai","date":"2019-12-24 05:21:59"},"0.3.3":{"tag":"0.3.3","author":"tai","date":"2019-12-24 06:20:27"},"0.3.4":{"tag":"0.3.4","author":"tai","date":"2020-06-22 06:06:07"},"0.4.0":{"tag":"0.4.0","author":"tai","date":"2021-01-16 06:32:27"},"0.4.1":{"tag":"0.4.1","author":"tai","date":"2021-01-16 14:47:40"},"0.4.2":{"tag":"0.4.2","author":"tai","date":"2021-01-17 05:28:42"},"0.4.3":{"tag":"0.4.3","author":"tai","date":"2021-02-06 11:51:46"},"0.4.4":{"tag":"0.4.4","author":"tai","date":"2021-03-14 11:21:00"},"0.4.4-alpha":{"tag":"0.4.4-alpha","author":"tai","date":"2021-03-13 12:54:11"},"0.4.4-beta":{"tag":"0.4.4-beta","author":"tai","date":"2021-03-14 06:07:22"},"0.4.5":{"tag":"0.4.5","author":"tai","date":"2021-03-19 13:20:22"},"0.4.6":{"tag":"0.4.6","author":"tai","date":"2021-07-01 01:24:59"},"0.5.0":{"tag":"0.5.0","author":"tai","date":"2023-08-19 06:29:16"},"0.5.1":{"tag":"0.5.1","author":"tai","date":"2023-08-19 08:46:05"},"0.5.2":{"tag":"0.5.2","author":"tai","date":"2024-03-20 00:25:02"},"0.5.3":{"tag":"0.5.3","author":"tai","date":"2025-08-09 08:59:51"},"0.5.4":{"tag":"0.5.4","author":"tai","date":"2026-01-17 04:18:42"}},"upgrade_notice":{"":"<p>None so far.<\/p>"},"ratings":{"1":0,"2":0,"3":1,"4":1,"5":69},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2955632,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2955632,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2.0","0.2.1","0.2.2","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.4-alpha","0.4.4-beta","0.4.5","0.4.6","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2955632,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Shows the current template file."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[975,1541],"plugin_category":[43],"plugin_contributors":[78276],"plugin_business_model":[],"class_list":["post-23511","plugin","type-plugin","status-publish","hentry","plugin_tags-template","plugin_tags-toolbar","plugin_category-customization","plugin_contributors-tai","plugin_committers-tai"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/show-current-template\/assets\/icon.svg?rev=2955632","icon":"https:\/\/ps.w.org\/show-current-template\/assets\/icon.svg?rev=2955632","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/show-current-template\/assets\/screenshot-1.png?rev=2955632","caption":"Shows the current template file."}],"raw_content":"<!--section=description-->\n<p>A WordPress plugin which shows the current template file name, the current theme name and included template files' name in the tool bar. If you like this plugin, <a href=\"https:\/\/wp.tekapo.com\/is-my-plugin-useful\/\">you can buy me a coffee! ;-)<\/a><\/p>\n\n<p>Inspired by (and big thanks to):<\/p>\n\n<ul>\n<li>https:\/\/gist.github.com\/gatespace\/4482529<\/li>\n<li>https:\/\/wordpress.org\/plugins\/reveal-template\/<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>The Good Way<\/h4>\n\n<ol>\n<li>In your WordPress Admin, go to the Add New Plugins page<\/li>\n<li>Search for: Show Current Template<\/li>\n<li>Show Current Template should be the first result. Click the Install link.<\/li>\n<\/ol>\n\n<h4>The Old Way<\/h4>\n\n<ol>\n<li>Upload the plugin to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20work%20with%20block%20themes%3F\"><h3>Does this plugin work with block themes?<\/h3><\/dt>\n<dd><p>No. This plugin is useless when using block themes, and it shows a message that this plugin is useless when using block themes.<\/p><\/dd>\n<dt id=\"i%20don%27t%20see%20the%20toolbar.\"><h3>I don't see the toolbar.<\/h3><\/dt>\n<dd><p>Is the Toolbar (Show Toolbar when viewing site) option in your profile page is checked?\nYou can find your profile page is in your WordPress admin -&gt; Users -&gt; Profile.<\/p><\/dd>\n<dt id=\"i%20don%27t%20see%20the%20current%20template%20file%20name%20in%20the%20toolbar.\"><h3>I don't see the current template file name in the toolbar.<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"i%20don%27t%20think%20this%20plugin%20is%20working%20properly.\"><h3>I don't think this plugin is working properly.<\/h3><\/dt>\n<dd><p>Please try below:<\/p>\n\n<ul>\n<li>Activate one of the default themes.<\/li>\n<\/ul>\n\n<p>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\u2019s name and where I can get it.<\/p>\n\n<ul>\n<li>Try to stop all plugins other than this plugin.<\/li>\n<\/ul>\n\n<p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.5.4<\/h4>\n\n<ul>\n<li>Fix: Fix PHP Warning. Special thanks to @dieppon for reporting the issue!<\/li>\n<\/ul>\n\n<h4>0.5.3<\/h4>\n\n<ul>\n<li>Fix: Addressed PHP 8.x deprecation warning for passing null to parameter #3 ($subject) of str_replace(). Special thanks to @rembem for reporting the issue!<\/li>\n<\/ul>\n\n<h4>0.5.2<\/h4>\n\n<ul>\n<li>Update required WordPress version to 5.9. Special thanks to @dmchale for reporting the issue!<\/li>\n<\/ul>\n\n<h4>0.5.1<\/h4>\n\n<ul>\n<li>Delete unnecessary files.<\/li>\n<\/ul>\n\n<h4>0.5.0<\/h4>\n\n<ul>\n<li>Display a message that this plugin is useless when using block themes.<\/li>\n<li>Remove stray language file. Special thanks to @szepeviktor for reporting the issue!<\/li>\n<\/ul>\n\n<h4>0.4.6<\/h4>\n\n<ul>\n<li>Fix JS Error when No Admin Bar. Special thanks to @taupecat for reporting the issue!<\/li>\n<\/ul>\n\n<h4>0.4.5<\/h4>\n\n<ul>\n<li>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!<\/li>\n<\/ul>\n\n<h4>0.4.4<\/h4>\n\n<ul>\n<li>Fix not showing included files on Windows local. Special thanks to @lindt01 for helping me identify the cause!<\/li>\n<\/ul>\n\n<h4>0.4.3<\/h4>\n\n<ul>\n<li>Fix the JavaScript error reported by @flexer. Special thanks to @dmchale for the fix!<\/li>\n<\/ul>\n\n<h4>0.4.2<\/h4>\n\n<ul>\n<li>Fix showing included files at bottom when the logged in user's roles other than admin.<\/li>\n<\/ul>\n\n<h4>0.4.1<\/h4>\n\n<ul>\n<li>Fix showing included files at bottom when visitor visits the site. This issue was reported by @tsato. Thank you very much!<\/li>\n<\/ul>\n\n<h4>0.4.0<\/h4>\n\n<ul>\n<li>Fix not showing all included files with WordPress version 5.4 or greater.<\/li>\n<li>Clean up some code.<\/li>\n<\/ul>\n\n<h4>0.3.4<\/h4>\n\n<ul>\n<li>No functional change at all except the version number in the plugin php file and donation url.<\/li>\n<\/ul>\n\n<h4>0.3.3<\/h4>\n\n<ul>\n<li>No functional change at all except the version number in the plugin php file and donation url.<\/li>\n<\/ul>\n\n<h4>0.3.2<\/h4>\n\n<ul>\n<li>No change at all except the version number in the plugin php file.<\/li>\n<\/ul>\n\n<h4>0.3.1<\/h4>\n\n<ul>\n<li>Just add a donate link.<\/li>\n<\/ul>\n\n<h4>0.3.0<\/h4>\n\n<ul>\n<li>UPDATED: Make the file list scrollable.<\/li>\n<li>UPDATED: Change css to sass.<\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>Oops, too short.<\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>UPDATED: Make the height of included files names shorter<\/li>\n<\/ul>\n\n<h4>0.1.8<\/h4>\n\n<ul>\n<li>UPDATED: update for 3.8.<\/li>\n<\/ul>\n\n<h4>0.1.6<\/h4>\n\n<ul>\n<li>FIXED: update for 3.8.<\/li>\n<\/ul>\n\n<h4>0.1.5<\/h4>\n\n<ul>\n<li>FIXED: Fixed the issue of not displaying the parent theme name when using a child theme.<\/li>\n<\/ul>\n\n<h4>0.1.4<\/h4>\n\n<ul>\n<li>UPDATED: Make not to show the current file in the included files list.<\/li>\n<\/ul>\n\n<h4>0.1.3<\/h4>\n\n<ul>\n<li>FIXED: Fixed some notices.<\/li>\n<\/ul>\n\n<h4>0.1.2<\/h4>\n\n<ul>\n<li>FIXED: Fixed potential conflict text domain (https:\/\/github.com\/tekapo\/show-current-template\/pull\/1).\nThanks to @wokamoto san.<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>UPDATED: readme.txt<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"A WordPress plugin which shows the current template file name, the current theme name and included template files&#039; name in the tool bar.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/23511","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=23511"}],"author":[{"embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tai"}],"wp:attachment":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=23511"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=23511"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=23511"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=23511"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=23511"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=23511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}