{"id":245458,"date":"2025-08-11T15:36:58","date_gmt":"2025-08-11T15:36:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/current-template-insights\/"},"modified":"2025-12-17T16:14:22","modified_gmt":"2025-12-17T16:14:22","slug":"current-template-insights","status":"publish","type":"plugin","link":"https:\/\/kea.wordpress.org\/plugins\/current-template-insights\/","author":18655193,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.3","stable_tag":"1.0.3","tested":"6.9.4","requires":"5.5","requires_php":"7.4","requires_plugins":null,"header_name":"Current Template Insights","header_author":"Mark Colling","header_description":"Displays the current template file and key page info in the front end admin bar. No configuration required.","assets_banners_color":"61aecb","last_updated":"2025-12-17 16:14:22","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/paypal.me\/wpmacurious","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/current-template-insights\/","header_author_uri":"https:\/\/mark-colling.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":380,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"macurious","date":"2025-08-12 02:36:47"},"1.0.1":{"tag":"1.0.1","author":"macurious","date":"2025-08-21 20:27:05"},"1.0.2":{"tag":"1.0.2","author":"macurious","date":"2025-08-22 00:02:12"},"1.0.3":{"tag":"1.0.3","author":"macurious","date":"2025-12-17 16:14:22"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3343169,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3343169,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3343163,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3343163,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3343163,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3343163,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Admin bar showing current template and dropdown with details","2":"More complex example showing the single post template of a CPT"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1339,94,734,975,1141],"plugin_category":[43,59],"plugin_contributors":[246196],"plugin_business_model":[],"class_list":["post-245458","plugin","type-plugin","status-publish","hentry","plugin_tags-admin-bar","plugin_tags-debug","plugin_tags-development","plugin_tags-template","plugin_tags-theme","plugin_category-customization","plugin_category-utilities-and-tools","plugin_contributors-macurious","plugin_committers-macurious"],"banners":{"banner":"https:\/\/ps.w.org\/current-template-insights\/assets\/banner-772x250.png?rev=3343163","banner_2x":"https:\/\/ps.w.org\/current-template-insights\/assets\/banner-1544x500.png?rev=3343163","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/current-template-insights\/assets\/icon-128x128.png?rev=3343169","icon_2x":"https:\/\/ps.w.org\/current-template-insights\/assets\/icon-256x256.png?rev=3343169","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/current-template-insights\/assets\/screenshot-1.png?rev=3343163","caption":"Admin bar showing current template and dropdown with details"},{"src":"https:\/\/ps.w.org\/current-template-insights\/assets\/screenshot-2.png?rev=3343163","caption":"More complex example showing the single post template of a CPT"}],"raw_content":"<!--section=description-->\n<p><strong>Displays the current template file and key page details in the WordPress admin bar for logged-in administrators.<\/strong><br \/>\nNo setup required: just install, activate, and see the info bar on any front-end page.<\/p>\n\n<p><strong>Features:<\/strong>\n- Shows \u201c\ud83d\udcc4 Template: \u201d in the front-end admin bar\n- Details on hover\/click: full template path, post ID, post type, slug, theme name &amp; version, locale, body classes, query vars, conditionals, DB query count, memory usage, and more\n- No settings page, no configuration\n- Works with classic and block\/FSE themes (special info for block themes)\n- Developer-friendly, lightweight, no bloat<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>current-template-insights<\/code> folder to <code>\/wp-content\/plugins\/<\/code><\/li>\n<li>Activate the plugin via the Plugins menu<\/li>\n<li>Visit any front-end page as an admin to view the template info in the admin bar<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='is%20there%20a%20settings%20page%3F'><h3>Is there a settings page?<\/h3><\/dt>\n<dd><p>No settings page \u2014 just install and go. All information is displayed in the admin bar for logged-in admins.<\/p><\/dd>\n<dt id='why%20can%27t%20i%20see%20the%20template%20information%20on%20the%20front-end%3F'><h3>Why can't i see the template information on the front-end?<\/h3><\/dt>\n<dd><p>The plugin displays its information in the WordPress admin bar. If the admin bar is disabled in the front-end (via user settings, code or another plugin), then no output will be displayed.<\/p><\/dd>\n<dt id='can%20i%20extend%20or%20customize%20the%20details%20shown%3F'><h3>Can I extend or customize the details shown?<\/h3><\/dt>\n<dd><p>Yes. Developers can use the <code>currtempinsights_details<\/code> filter hook to add or modify the debug info. See the plugin's <a href=\"https:\/\/github.com\/macurious\/current-template-insights\">GitHub repository<\/a> for an example.<\/p><\/dd>\n<dt id='does%20this%20work%20with%20full%20site%20editing%20%28block%29%20themes%3F'><h3>Does this work with Full Site Editing (block) themes?<\/h3><\/dt>\n<dd><p>Yes. With block (Full Site Editing) themes, WordPress uses a core PHP file (<code>template-canvas.php<\/code>) as a wrapper for block templates. The plugin displays the actual PHP template in use. (Future versions may add a more descriptive message for block themes.)<\/p><\/dd>\n<dt id='can%20i%20change%20the%20background%20color%20of%20the%20admin%20bar%20node%3F'><h3>Can I change the background color of the admin bar node?<\/h3><\/dt>\n<dd><p>Yes. You can override it with custom CSS. See the plugin's <a href=\"https:\/\/github.com\/macurious\/current-template-insights\">GitHub repository<\/a> for an example.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Tested with WordPress 6.9<\/li>\n<li>Renamed internal filter hook to use the plugin prefix<\/li>\n<li>Minor documentation and code cleanups<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Improved translation handling in dashboard notice (HTML tag support with sprintf)<\/li>\n<li>Added missing translation for dashboard notice<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added admin notice when the front-end admin bar is disabled<\/li>\n<li>Updated FAQ with customization info<\/li>\n<li>Minor improvements to readme formatting<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First public release<\/li>\n<\/ul>","raw_excerpt":"Quickly view the active template file and important page information directly in your WordPress admin bar.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/245458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=245458"}],"author":[{"embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/macurious"}],"wp:attachment":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=245458"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=245458"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=245458"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=245458"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=245458"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=245458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}