Simple Restaurant Menu Display

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/

  1. Copy the plugin template file(s) to your theme directory.

  2. 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.

0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录