跳到内容

Simple Restaurant Menu Display

v1.0.0

vikcheema · 2025年5月13日 上架

A lightweight and flexible restaurant menu plugin with custom post types, repeater fields, and Gutenberg block support.

正在使用
10 以下
评分
5.0 / 5
累计下载
743
最近更新
2025年5月14日
1 条评价需要 WordPress 5.0+已测试到 6.8.13

贡献者

截图

Admin screen with repeater fields
Admin screen with repeater fields
Example frontend menu with styles
Example frontend menu with styles
Customizer option for highlight color
Customizer option for highlight color
Simple Restaurant Menu Display
Simple Restaurant Menu Display
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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums