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.
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
There are no reviews for this plugin.
“Cookbook Hook Guide” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。貢獻者
將 Cookbook Hook Guide 外掛本地化為台灣繁體中文版。