{"id":30435,"date":"2014-07-09T07:56:38","date_gmt":"2014-07-09T07:56:38","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-template-viewer\/"},"modified":"2020-04-07T14:52:43","modified_gmt":"2020-04-07T14:52:43","slug":"wp-template-viewer","status":"publish","type":"plugin","link":"https:\/\/th.wordpress.org\/plugins\/wp-template-viewer\/","author":123474,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"5.4.19","requires":"3.9","requires_php":"","requires_plugins":"","header_name":"WP Template Viewer","header_author":"keesiemijer","header_description":"","assets_banners_color":"acacad","last_updated":"2020-04-07 14:52:43","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/keesiemeijer.wordpress.com\/wp-template-viewer","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":100,"downloads":5923,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":{"1.0.0":"<p>This update will add new styles to have the viewer display on top of the theme.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"3"},"assets_icons":[],"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":"945428","resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"948970","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.1","0.1.2","1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"949020","resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"949020","resolution":"2","location":"assets","locale":""},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"949020","resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"The WP Template Viewer toolbar menu.","2":"File menu in the footer with part of the content of single.php.","3":"Content of index.php."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[71249,14285,975,56545,2851],"plugin_category":[43],"plugin_contributors":[79806],"plugin_business_model":[],"class_list":["post-30435","plugin","type-plugin","status-publish","hentry","plugin_tags-included-files","plugin_tags-plugin-template","plugin_tags-template","plugin_tags-template-files","plugin_tags-theme-template","plugin_category-customization","plugin_contributors-keesiemeijer","plugin_committers-keesiemeijer"],"banners":{"banner":"https:\/\/ps.w.org\/wp-template-viewer\/assets\/banner-772x250.jpg?rev=948970","banner_2x":"https:\/\/ps.w.org\/wp-template-viewer\/assets\/banner-1544x500.jpg?rev=945428","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-template-viewer_acacad.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-template-viewer\/assets\/screenshot-1.jpg?rev=949020","caption":"The WP Template Viewer toolbar menu."},{"src":"https:\/\/ps.w.org\/wp-template-viewer\/assets\/screenshot-2.jpg?rev=949020","caption":"File menu in the footer with part of the content of single.php."},{"src":"https:\/\/ps.w.org\/wp-template-viewer\/assets\/screenshot-3.jpg?rev=949020","caption":"Content of index.php."}],"raw_content":"<!--section=description-->\n<p>Ever wanted to take a quick look at a theme template file without opening an editor? Or wondered what template files were used to display the current page?<\/p>\n\n<p>This plugin displays all theme template file names in use for the current page in a <a href=\"http:\/\/codex.wordpress.org\/Toolbar\">toolbar menu<\/a>. File names are shown in the order they were included. File content is displayed in the footer of your site by clicking a file name.<\/p>\n\n<p>Only <strong>admins<\/strong> and <strong>super admins<\/strong> have access to the toolbar menu and file content.<\/p>\n\n<p>For more information see the <a href=\"https:\/\/keesiemeijer.wordpress.com\/wp-template-viewer\">plugin documentation<\/a><\/p>\n\n<p>Note: Display of file content only works if the current theme follows the recommended practice of calling the <a href=\"http:\/\/codex.wordpress.org\/Function_Reference\/wp_footer\">wp_footer()<\/a> template tag (most theme's do).<\/p>\n\n<p>Filters can be used to change (override) the default settings or behavior of the plugin.<\/p>\n\n<p>For example,<\/p>\n\n<ul>\n<li>Allow specific users access to the menu and content. (convenient for troubleshooting with others)<\/li>\n<li>Also include plugin files.<\/li>\n<li>Show the menu in the footer instead of the toolbar.<\/li>\n<\/ul>\n\n<p>For more information see the <a href=\"https:\/\/keesiemeijer.wordpress.com\/wp-template-viewer\/filters\">filter documentation<\/a>.<\/p>\n\n<p><strong>Roadmap<\/strong><\/p>\n\n<ul>\n<li>Show content with popular syntax highlighter plugins.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ul>\n<li>Unzip the <code>wp-template-viewer.zip<\/code> folder.<\/li>\n<li>Upload the <code>wp-template-viewer<\/code> folder to your <code>\/wp-content\/plugins<\/code> directory.<\/li>\n<li>Activate <em>wp-template-viewer<\/em>.<\/li>\n<li>That's it, now you are ready to use the plugin.<\/li>\n<\/ul>\n\n<p>Note: There's no settings page for this plugin.<\/p>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Add more specific css to display viewer on top.<\/li>\n<li>Add the current template to the toolbar<\/li>\n<\/ul>\n\n<h4>0.1.2<\/h4>\n\n<ul>\n<li>Added links to select text an hide or show files in the footer.<\/li>\n<li>Added custom capability 'view_wp_template_viewer' for users.<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Added a menu item to see the menu in the footer.<\/li>\n<li>Better color coding for menu items<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial commit.<\/li>\n<\/ul>","raw_excerpt":"This plugin allows you to see the content of all theme templates files that were used to display the current page.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/30435","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=30435"}],"author":[{"embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/keesiemeijer"}],"wp:attachment":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=30435"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=30435"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=30435"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=30435"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=30435"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=30435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}