
內容簡介
這個外掛讓您可以輕鬆地基於您的 OpenMenu 創建文章,從而在任何 WordPress 網站中嵌入餐廳菜單。此外掛可以完全整合 OpenMenu 或多個 OpenMenu 到現有主題中。最好使用支援小工具/菜單的佈景主題。
OpenMenu 外掛是官方為 OpenMenu 創建的外掛,讓餐廳菜單可以輕鬆地添加到任何 WordPress 網站中。
取得您的 OpenMenu 菜單:http://OpenMenu.com
特色:
OpenMenu 自訂文章類型
小工具:餐廳位置 / 優惠券 / 特價菜 / 美食標籤雲 / QR 碼 / 過濾 OpenMenu
[openmenu]、[openmenu_qrcode] 和 [openmenu_deals] 短代碼
自定函數
整站設定
有許多設定來控制菜單的外觀和模式
詳細功能
OpenMenu 自訂文章類型:
創建自訂文章,以基於 OpenMenu 的方式顯示菜單。選擇顯示內容和樣式,然後此外掛就會處理剩下的事情。
設定:
OpenMenu ID - 這是必填的欄位,是您的 OpenMenu ID
過濾器
想要顯示的菜單名稱:如果您的 OpenMenu 包含多個菜單(例如午餐/晚餐),您可以在此處輸入菜單名稱以選擇要在文章中顯示的菜單(支援逗號分隔清單)
想要顯示的菜單分組名稱:如果您的 OpenMenu 包含多個菜單分組(例如沙拉/甜點),您可以在此處輸入分組名稱以選擇要在文章中顯示的分組(支援逗號分隔清單)
餐廳資訊:存儲與菜單有關的餐廳基本資訊。這主要用於將顯示多個餐廳菜單的情況下。資訊與節錄一起使用,將用於生成包含所有菜單的單個頁面。
烹飪類型:定義描述此餐廳的美食類型。
小工具:
OpenMenu:位置 - 顯示餐廳位置和營業時間
OpenMenu:特價 - 顯示標記為特價的菜單項目
OpenMenu:標籤雲 - 顯示美食類型的標籤雲
OpenMenu:QR 碼 - 顯示連接到 OpenMenu 手機網站的 QR 碼
OpenMenu:過濾 - 顯示由多個可定義過濾器控制的菜單項目清單
OpenMenu:優惠 - 顯示附加到 OpenMenu 的優惠券
短代碼:
[openmenu]
參數:
openmenu_id = 您的 OpenMenu ID(不是 OpenMenu 網址,只是 ID 部分)
display_type = 菜單(目前僅提供的選項)
menu_filter = 只顯示匹配此篩選器的菜單名稱(支援逗號分隔清單)
group_filter = 只顯示匹配此篩選器的分組名稱(支援逗號分隔清單)
display_columns = 1 | 2 - 菜單的顯示欄位數
split_on = 單品 | 分組 - 在 2 欄菜單的情況下,我們如何進行分隔
background_color = 設置菜單將顯示的背景顏色
group_break = 0 | 1 - 在分組之間強制 2 列顯示
embedded = 0 | 1 - 使用 OpenMenu 嵌入而不是在本地渲染菜單
generic_colors = 0 | 1 - [embedding] 強制使用菜單的通用色彩
short_tags = 0 | 1 - [embedding] 使用菜品上的簡短標記
width = [embedding] - 定義嵌入式窗口的寬度(用於自適應螢幕時可不填)
[預設為 OpenMenu 選項設置]
範例:
[openmenu openmenu_id="sample"]
[openmenu openmenu_id="sample" display_type=
外掛標籤
開發者團隊
② 後台搜尋「OpenMenu – The official plugin for OpenMenu」→ 直接安裝(推薦)
原文外掛簡介
This plugin allows you to easily create posts that are based on your OpenMenu and thus embedding restaurant menus in any WordPress website. This plugin fully integrates an OpenMenu or OpenMenus into an existing theme. Widget / Menu ready themes work best.
The OpenMenu Plugin is the official plugin for OpenMenu and adding restaurant menus to any WordPress website.
Get your OpenMenu at: http://OpenMenu.com
Features:
OpenMenu Custom Post Type
Widgets: Restaurant Location / Deals and Coupons / Specials / Cuisine Tag Cloud / QR Code / Filtered OpenMenu
[openmenu], [openmenu_qrcode] and [openmenu_deals] Shortcodes
Custom Functions
Site wide setiings
Lots of settings to control the look and feel of the way menus look
Detailed Features
OpenMenu Custom Post Type:
Create custom posts which are menus based off of your OpenMenu. Choose what to display, how to display it and the plugin does the rest.
Settings:
OpenMenu ID - This is a required field that is your OpenMenu ID
Filters
Menu Name to display: If your OpenMenu contains multiple menus (ex. Lunch / Dinner) you can choose which menu to display in your post by entering the menu name here. (supports a comma-separated list)
Group Name to display: If your OpenMenu contains multiple menu groups (ex. salads / deserts) you can choose which group to display in your post by entering the group name here. (supports a comma-separated list)
Restaurant Information: Stores basic information about the restaurant that is referenced by the menu. This is primarly used in scenarios where many restaurant menu's will be displayed. Information, along with the excerpt, will be used to generate a single page of all menus.
Cuisine Types: Define which cuisine type describes this restaurant.
Widgets:
OpenMenu: Location – Displays the restaurants location and hours
OpenMenu: Specials – Displays the menu items marked as special
OpenMenu: Tag Cloud – A tag cloud for the cuisine types
OpenMenu: QR Code – Displays a QR Code to your mobile site on OpenMenu
OpenMenu: Filter – Displays a list of menu items controlled by many definable filters
OpenMenu: Deals – Display the deals attached to your OpenMenu
Short code:
[openmenu]
Parameters:
openmenu_id = Your OpenMenu ID (not the OpenMenu URL, just the ID part)
display_type = menu (only option currently available)
menu_filter = Will display only the menu name matching this filter (supports a comma-separated list)
group_filter = Will display only the group name matching this filter (supports a comma-separated list)
display_columns = 1 | 2 - How many columns to display a menu in
split_on = item | group - In 2 column display what do we split on
background_color = Set the background color the menu will display on
group_break = 0 | 1 - Forces a 2-column display with hard breaks between groups
embedded = 0 | 1 - Uses OpenMenu Embedded instead of rendering the menu locally
generic_colors = 0 | 1 - [embedding] Forces the use of the generic colors for a menu
short_tags = 0 | 1 - [embedding] Uses short tags for the special tags on menu items
width = [embedding] - Define the width of the embedded window (leave off for responsive)
[defaults to OpenMenu Option setting]
Samples:
[openmenu openmenu_id="sample"]
[openmenu openmenu_id="sample" display_type="menu" display_columns="1"]
[openmenu openmenu_id="sample" embedded="1"]
[openmenu_qrcode]
Parameters:
openmenu_id = OpenMenu ID (not the OpenMenu URL, just the ID part)
size = size for the QR Code (max 500) - defaults to 128
Samples:
[openmenu_qrcode openmenu_id="sample"]
[openmenu_qrcode openmenu_id="sample" size="256"]
[openmenu_deals]
Parameters:
openmenu_id = OpenMenu ID (not the OpenMenu URL, just the ID part)
deal_id = Show only a single deal based off of its ID
compact_view = shows the deals in a compact view (only the headline is displayed)
show_print = Determines whether the Clip/Print link is displayed in a deal
new_window = When show_print is true this determines if links are opened in a new window
width = width to display the deal
width_units = sets the units for the width value [px | %]
Samples:
[openmenu_deals openmenu_id="sample"]
[openmenu_deals openmenu_id="sample" width="500" width_units="px" compact_view="1"]
Custom Functions:
Display a location block: openmenu_location( post_id, title );
Display a specials block: openmenu_specials( post_id, title );
Site Wide OpenMenu Settings:
Look & Feel:
Display Type: What information will be displayed: Menu, Restaurant Information or Both
How many columns: How many columns will be used to display a menu (1 or 2)
Use Short Tags: Menu Item tags like special, vegatarian, halal, gluten free and such will be shortened to one or two letters
Theme: only default is currently supported
Your Menu:
Show Allergy Information: Determines if Allergy Information is displayed in a menu
Show Calories: Determines if Calories are displayed in a menu
Hide Prices: Determines if prices are shown for your menu items
WordPress Theme:
Show posts on homepage: Determines whether OpenMenu post types are displayed on the homepage blog post listing and in the RSS feed for the website.
Hidesidebar: Forces the sidebar of a post to be hidden. Gives the impression of a full-width page and may be more desirable when displaying menus.
Width override: Attempts to force the width of the post to this amount. Can be helpful for adjusting the display on troublesome themes.
Menu background color: Set the background color the menu will display on (defaults to white - #fff)
Icon designed by Ben Dunkle, core designer for WordPress.org. Website: http://field2.com – Contact [email protected]
