前言介紹
- 這款 WordPress 外掛「Cookbook Hook Guide」是 2017-02-17 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2017-02-18,距離現在已有 2997 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.4 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
mzak | fatmedia | wpsitecare |
外掛標籤
foodie | Recipe | recipes | cookbook | recipe blogger |
內容簡介
如果你使用Cookbook作為你的WordPress食譜外掛程式,你可能已經知道或未知道整個模板可以使用小的程式碼片段進行自定義。這個視覺化掛鉤輔助工具外掛程式是一個幫助你對Cookbook模板中所有可用掛鉤有一個視覺框架的工具。
當你安裝和啟用外掛程式時,任何嵌入Cookbook食譜的文章將會顯示模板掛鉤的視覺化表示。這些掛鉤輔助工具只會在您使用管理員帳戶登錄時顯示。任何訪問你網站的人都無法看到掛鉤指南。
如果你將滑鼠指標懸停在特定的掛鉤上,您會看到一個範例程式碼片段,以刪除模板中的該回調函數。以使用此程式碼片段,您需要將它粘貼到你的佈景主題的 functions.php 檔案或顯示包含嵌入食譜的文章的樣板。
我們建議在測試站點或本地開發環境上使用此外掛,以使您更容易自定義您的Cookbook食譜。儘管如此,在直播網站上使用是安全的,但在沒有備份的情況下更改模板時,請務必小心。
貢獻
如果您想提交代碼修補或以任何其他方式貢獻,請在GitHub上fork外掛:https://github.com/wpsitecare/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
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Cookbook Hook Guide」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Disable Cookbook Ratings 》此外掛可停用Cookbook食譜外掛的評分功能。無論前端或後端,使用者皆無法留下評分或查看現有的評分。如在啟用此外掛之前,已有使用者對食譜進行評分,則該評...。