這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WooCommerce Template Hints

外掛說明

WooCommerce Template Hints adds a visual border around parts of all WooCommerce pages showing details about the template used.

If the plugin is active then a frame will be inserted around each template that is used by WooCommerce showing the
file name. Default WooCommerce templates are red and overridden templates are blue.

Hovering over the template name gives the full path of the template being used.

The frames will only be visible to users with ‘edit_posts’ access.

This is very helpful when developing a new theme for WooCommerce, or troubleshooting an existing theme!

The code is maintained on Github

Translations, feature requests, and ratings are welcome and appreciated!

螢幕擷圖

  • Product page with template hints on
  • Category page with template hints on
  • Cart page with template hints on

安裝方式

  1. Upload the folder woocommerce-template-hints to the /wp-content/plugins/ directory
  2. 在WordPress外掛目錄中啟動外掛
  3. Visit any WooComerce page to see template hints
  4. Deactivate the plugin to remove template hints

常見問題集

Will this show template overrides in my theme?

Yes! Whichever template is used on the site will be shown with a path.

Will this show templates in 3rd party plugins?

Not at this time, but that’s on the road map!

使用者評論

2017 年 4 月 24 日
For several years I've been looking for something similar. Great job! To modify Woocommerce's behavior, this plugin is absolutely superb!
2017 年 7 月 28 日
I've been breaking my neck to customize WooCommerce using one of SiteOrigin's theme and builder. Starting out (this time) with WordPress 4.6 and moving through to 4.8, I found this to be a great tool to help figure out where to make changes. I stopped using the Site Builder and just used this with the Customization CSS that's now part of WordPress 4.8. I'm using 'Orbisius Child Theme Creator' which is great. So, these are the best tools I've found for customizing themes and creating child themes, especially since there has been so, so many changes made to WordPress and the plugins I was using - its been a very long year, a lot of double and triple work...uuuggggggh. If you want to create your own Child Theme, have a theme you've devoted a lot of time into developing, or need to adjust your current theme, THIS IS THE TOOL to assist you!
2016 年 11 月 13 日
Thanks for this plugin. Very helpful in developing WooCommerce.
2016 年 10 月 23 日
I used this as a newbie to Woocommerce and it helped me understand the structure of the templates really well. I made the tweaks I needed really easily thanks to knowing where to look! Thank you!
閱讀全部 7 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WooCommerce Template Hints〉的開發相關工作。

參與者

將 WooCommerce Template Hints 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial release