內容簡介
在每個頁面的 footer 中印出 HTML 註釋,告訴您所使用的主題模板檔案。
此外掛專為主題開發人員和主題支援而設計。強烈建議只在開發期間或支援期間啟用此外掛,因為它將揭示您的檔案系統路徑結構。
感謝Joel Fisher提出此外掛的想法。
升級
使用 WordPress 的外掛程式更新程式,或...
從/wp-content/plugins/目錄中刪除以前的show-template資料夾
將新的show-template資料夾上傳到/wp-content/plugins/目錄中
使用方法
安裝並啟用。
透過您的網頁瀏覽器檢視您的部落格網頁原始碼,您將看到一個 HTML 註釋,形式為<!-- Active Template: /home/username/public_html/wordpress/wp-content/themes/default/index.php -->
外掛標籤
開發者團隊
原文外掛簡介
Prints an html comment in the footer of every page letting you know which template file of your theme was used for the display.
This plugin is aimed towards theme developers and for theme support. It is recommended to only have this plugin activated during development or support as it will expose your file system path structure.
Props to Joel Fisher for the idea behind this plugin.
Upgrade
Use the plugin updater in WordPress or…
Delete the previous show-template folder from the /wp-content/plugins/ directory
Upload the new show-template folder to the /wp-content/plugins/ directory
Usage
Install and activate.
View source of your blog through your web browser. You will see a html comment in the form of
