外掛說明
Simple Restaurant Menu Display allows you to:
- Create and categorize menu items using a custom post type and taxonomy
- Define multiple quantity/price pairs for items (like size/portion/volume)
- Mark items as “Special” with a custom field badge
- Override styles using your theme
- Insert menus easily via a Gutenberg block or shortcode
Usage
- Add menu items under Menu Items > Add New in the admin.
- Assign items to a Menu Section (taxonomy).
- Optionally mark as Special or add pricing quantities.
- [simple_restaurant_menu_display] — shows full menu grouped by section.
- [simple_restaurant_menu_display section=”breakfast”] — filters items to the “breakfast” section.
- [simple_restaurant_menu_display special=”yes”] — shows only special items.
- [simple_restaurant_menu_display section=”lunch” special=”yes”] — shows special lunch items.
- Insert the Menu Block via the Gutenberg editor.
Template Overrides
You can override the HTML templates used to display menu items.
Template Files You Can Override
| Plugin File | Theme Override Location |
|———————————–|———————————————————————-|
| templates/simpremed-menu-item.php | your-theme/simple-restaurant-menu-display/simpremed-menu-item.php |
| templates/simpremed-menu-loop.php | your-theme/simple-restaurant-menu-display/simpremed-menu-loop.php |
How to Override
1. Create this directory in your theme:
/wp-content/themes/your-theme/simple-restaurant-menu-display/
-
Copy the plugin template file(s) to your theme directory.
-
Edit the templates in your theme as needed.
✅ If a template file exists in your theme, it will be used instead of the plugin default.
Filters
simpremed_currency_symbol— Change the currency symbol.simpremed_template_part— Customize the logic for loading template parts.
Translation
This plugin is translation-ready and includes a .pot file in the /languages folder.
螢幕擷圖
適用於區塊編輯器
這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。
- Simple Restaurant Menu
安裝方式
- Upload the plugin files to the
/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ screen in WordPress
- Navigate to Menu Items to add your restaurant’s dishes
- Use the
[simple_restaurant_menu_display]shortcode to embed menus in pages/posts
常見問題集
-
Can I add multiple prices for a single item?
-
Yes! Use the quantity/price repeater on the edit screen.
-
Yes, you can override
simpremed-style.cssin your theme folder. -
Is it Gutenberg compatible?
-
Yes! A block is available to easily insert the menu shortcode.
使用者評論
參與者及開發者
變更記錄
1.0.0
- Initial release with CPT, taxonomy, repeater fields, and Gutenberg block.






