Linux 软件免费装
Banner图

Luntsi – Lunch Menu

开发者 mopetti
更新时间 2026年10月11日 23:00
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

restaurant lunch menu daily menu lounaslista lounas

下载

1.1.1 1.0.2 1.1.0

详情介绍:

Luntsi is made for lunch restaurants. Write the week's lunch once and your site shows the right day every day, without anyone remembering to update it. Made in Finland for the lounas, lounaslista and ruokalista (Swedish: lunchmeny, dagens lunch) of Finnish lunch restaurants, and it works for any daily lunch menu, such as the Spanish menú del día. Luntsi Pro Luntsi Pro adds lunch lines with their own prices, several locations, a dish bank with the 14 EU allergens, an info screen for a TV, a printable A4 menu, reminder e-mails, more image templates, Stories images and a brand kit. Luntsi itself is complete without it. Shortcodes For developers Lunch lines (e.g. lunch, soup lunch, vegetarian lunch with their own prices) and several locations on one site are built in and defined with the luntsi_lines and luntsi_locations filters; Luntsi Pro adds a user interface for them. Shortcode: [luntsi location="slug"]. Templates can be overridden by copying templates/today.php or templates/week.php to your-theme/luntsi/. Colours follow the theme; the accent colour is the CSS custom property --luntsi-accent. After inserting a view with JavaScript, call window.Luntsi.refresh().

安装:

  1. Install and activate the plugin.
  2. Open Lunch menu in the dashboard and write this week's lunch.
  3. Add Luntsi to your pages: the Luntsi modules in Divi 5, the Lunch menu widgets in Elementor, the Today's lunch and Lunch menu: week blocks in the block editor, or the [luntsi] shortcode anywhere else.
  4. In Lunch menu → Settings, add your prices, lunch hours and meat origin.

屏幕截图:

  • The whole week on your site. Today is highlighted and the week changes by itself.
  • Today's lunch for the front page.
  • A ready image of the week for Facebook and Instagram.
  • Settings: prices, lunch hours, meat origin, serving days, public holidays and diet markings.
  • Blocks for the block editor. Divi 5 modules and Elementor widgets work the same way.
  • Kitchen staff can update the menu on a phone.

常见问题:

Does it work with Divi 4?

Use the [luntsi] shortcode in a Text or Code module. The native modules are for Divi 5.

Is the image made on your server?

No. It is drawn in your browser and downloaded or shared directly from there.

Does the menu change by itself every day?

Yes. You save the week once; the site shows the right day and hides the week when it is over.

My site uses a page cache. Will visitors see yesterday's lunch?

No. The page carries the current and next week, and a small script picks the right day in the visitor's browser. Luntsi also clears common page caches when you save and right after midnight.

Can kitchen staff update the menu without access to the rest of the site?

Yes. Give them the "Lunch editor" role. They land directly on the lunch menu after logging in and can write the menu, but not change the settings.

We are open on a public holiday.

Turn on "Open on this public holiday" for that day in the menu editor, or turn off automatic holiday closing in the settings.

Where is the source code?

The JavaScript in build/ is compiled. Its readable source ships with the plugin in src/, together with package.json and webpack.config.js. To build it yourself, run npm install and npm run build in the plugin folder (Node.js 18 or newer).

更新日志:

1.1.0 1.0.2 1.0.1 1.0.0 0.2.0 0.1.0