[WordPress] 外掛分享: TP Recipe

首頁外掛目錄 › TP Recipe
WordPress 外掛 TP Recipe 的封面圖片
10+
安裝啟用
尚無評分
1312 天前
最後更新
問題解決
WordPress 4.5+ v1.1.5 上架:2017-03-07

內容簡介

這個外掛提供了食譜和食材的文章類型及其必要的欄位。這個外掛提供了一個食品項目的食譜和食材表格,以突顯您餐廳網站的特色菜譜。在儀表板菜單中,您可以添加食譜和食材。

步驟

創建食材

標題
精選圖片

創建食譜

標題
描述
精選圖片
食譜詳情
食材詳情

鉤子
do_action( 'tp_recipe_prep_time_action' ); // 顯示食譜準備時間
do_action( 'tp_recipe_cook_time_action' ); // 顯示食譜烹飪時間
do_action( 'tp_recipe_ready_time_action' ); // 顯示食譜完成時間
do_action( 'tp_recipe_shop_link_action' ); // 顯示食譜商店頁面連結
do_action( 'tp_recipe_ingredients_action' ); // 顯示食譜食材及其數量

自定義和靈活性

TP Recipe 提供了一些鉤子,可以幫助您按需自定義輸出結構。
模板覆蓋方法:
1. 在根目錄中創建 tp-recipe 文件夾
2. 創建tp-archive-recipe.php文件以創建菜譜檔案存檔頁面
3. 創建tp-single-recipe.php文件以創建菜譜單頁

文檔

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「TP Recipe」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This Recipe provides you Recipe and Ingredient Post type with its essential fields. This Plugin provides you an Food Item Recipe and it’s ingredients forms to uplift your Restaurant Website with your prominent item recipes. Recipe and Ingredients will be added in Dashboard Menu.
Steps

Create Ingredients

Title
Featured Image

Create Recipe

Title
Description
Featured Image
Recipe Details
Ingredients Details

Hooks
do_action( 'tp_recipe_prep_time_action' ); // Display Recipe Preparation Time
do_action( 'tp_recipe_cook_time_action' ); // Display Recipe Cooking Time
do_action( 'tp_recipe_ready_time_action' ); // Display Recipe Ready Time
do_action( 'tp_recipe_shop_link_action' ); // Display Recipe Shop Page Link
do_action( 'tp_recipe_ingredients_action' ); // Display Recipe Ingredients and its Quantity

Customization and Flexibility
TP Recipe offers you hooks that helps you to customize the output structure as your need.
Template Overwrite Method:
1. Create tp-recipe folder in root folder
2. Create tp-archive-recipe.php file to create recipe archive page
3. Create tp-single-recipe.php file to create recipe single page
Documentation

延伸相關外掛

文章
Filter
Apply Filters
Mastodon