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

Cookbook Hook Guide

描述

If you’re using Cookbook as your WordPress recipe plugin, you may or may not already know that the entire template can be customized using small code snippets. This visual hook guide plugin is a helper that will give you a visual frame of reference for all of the template hooks available in Cookbook.

When you install and activate the plugin, a visual representation of the template hooks will display when viewing any post with an embedded Cookbook recipe. These hook helpers will only display when you are logged-in with an administrator account. Nobody visiting your website will be able to see the hook guide.

If you hover a particular hook, you’ll see an example code snippet to remove that callback function from your template. In order to use the snippet, you would paste it into your theme’s functions.php file or a template you’re using to display the post where your recipes are embedded.

We recommend using this plugin on a staging site or local development environment as a way to make it easier for you to customize your Cookbook recipes. That said, it should be safe to use on a live website, but please be careful making template changes without backing things up first.

Contributing

If you’d like to submit code patches or contribute in any other way, please fork the plugin on GitHub. https://github.com/wpsitecare/cookbook-hook-guide

螢幕截圖

  • Cookbook Recipe View with Hook Guide Enabled.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Cookbook Hook Guide” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Cookbook Hook Guide 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0.0

Initial release!