Luntsi – Lunch Menu
Weekly lunch menu (lounaslista) for restaurants.
Install in
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: one fixed price, what it includes, and a supplement on a single dish.
- Today’s lunch and the whole week. Show today’s (or tomorrow’s) lunch on the front page and the whole week on the lunch page.
- Old menus hide themselves. A saved week appears on its own week and disappears when it is over. On weekends the week view switches to next week as soon as it is published.
- Never shows yesterday’s lunch from a cache. The views pick the right day in the visitor’s browser, so page caches and CDNs cannot serve an old day.
- Fast to write. One dish per line, diet markings in parentheses:
Pea soup (L, G). A dish can have its own price or, on a fixed-price menu, a supplement at the end of the line:Salmon soup (L, G) 12,50 €,Entrecôte +3 €. “Copy previous week” fills the week from last week’s menu. - Public holidays built in (Finland and Spain). Good Friday, Midsummer, Christmas and the rest are marked closed automatically for the country you choose. Any single holiday can be opened, and any other day closed.
- Meat origin. Show the origin country of meat, which restaurants in Finland are required to display in writing.
- Diet markings. L, VL, M, G, K and VE out of the box (SG, SL, V and VG on a site in a language of Spain), editable.
- A role for the kitchen. The “Lunch editor” role can edit the lunch menu and nothing else.
- Works everywhere. Native Divi 5 modules (with live preview in the Visual Builder), Elementor widgets with style controls, blocks for the block editor, and the
[luntsi]shortcode for any other theme or page builder. - Image for Facebook and Instagram. One click turns the week’s menu into a ready image (A4 for Facebook, 4:5 for Instagram) with your logo and colour. On a phone the image goes straight to the share sheet. Made in the browser: no external service.
- Search engines understand it. The week is published as schema.org Menu data.
- Accessible. The views and the editor are tested against WCAG 2.2 AA with axe-core.
- Private. No external services, no tracking, no cookies. The font for the image ships with the plugin.
- In English, Finnish and Swedish (translations through translate.wordpress.org).
Luntsi Pro
Luntsi Pro adds lunch lines with their own prices or a course menu (starters, main courses and desserts), an à la carte menu, rotating menus, several locations, a dish bank with the 14 EU allergens, an info screen for a TV, printable A4 menus, reminder e-mails, more image templates, Stories images and a brand kit. Luntsi itself is complete without it.
Shortcodes
[luntsi]– today’s lunch[luntsi view="tomorrow"]– tomorrow’s lunch[luntsi view="week"]– the whole week[luntsi prices="no" origins="no" link="https://example.com/lunch/"][luntsi view="week" info="no"]
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"].
The week view can show several weeks in a row when the luntsi_max_weeks filter allows it (Luntsi Pro): [luntsi view="week" weeks="4"] shows this week and the three weeks after it, leaving out weeks without a menu.
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().
Privacy
Luntsi does not send data anywhere, set cookies or track visitors. Menus and settings are stored in your WordPress database and removed when the plugin is deleted.
Written by Joobi from the project's own listing. See the source page
1.3.0
- The week view can show several weeks in a row with Luntsi Pro 1.5.0:
[luntsi view="week" weeks="4"], or the “Weeks shown” setting in the block, the Elementor widget and the Divi 5 module. Weeks without a menu are left out. Without Pro the week view is unchanged. - For developers: the
luntsi_max_weeksfilter. - Dates, opening hours and other secondary text use the theme’s text colour, so they have as much contrast as the theme’s own text (before they were lighter, which was too faint with grey theme text).
- The readme lists Finnish and Swedish as available.
1.2.0
- A dish can have its own price at the end of the line (
Salmon soup (L, G) 12,50 €), or a supplement on a fixed-price menu (Entrecôte +3 €). Shown next to the dish in every view and the image, and in the schema.org data. - Today’s lunch shows what the lunch includes below the prices.
- A site in a language of Spain starts with the diet markings SG, SL, V and VG.
1.1.1
- Block keywords are in English; the Finnish and Swedish ones come with the translations.
- For developers: the
luntsi_week_fallbackfilter fills a week that has not been saved, and editor panels getsetDraft,locationandreload. - Code clean-up.
1.1.0
- Settings: country for public holidays, Finland or Spain. Spain covers the national holidays; regional and local holidays are closed in the menu editor. A new site in Spanish (Spain), Catalan, Galician or Basque starts with Spain.
- The menu editor keeps the week, unsaved changes and the chosen location when you visit another tab, and picks up changed settings straight away.
1.0.2
- Translations come from translate.wordpress.org.
- The Lunch menu item sits after the WordPress core menu items.
1.0.1
- A public holiday on which the restaurant is open now shows its name in the week view, today’s lunch, the images, the printout and the info screen.
- Settings: “Lunch also on weekends” switch (Saturday, or Saturday and Sunday).
1.0.0
- First public release.
- Weekly editor, today/tomorrow/week views, Finnish public holidays, meat origin, diet markings, Lunch editor role.
- Divi 5 modules, Elementor widgets, blocks and the [luntsi] shortcode.
- Facebook and Instagram image of the week.
- Lunch lines and locations in the data model (defined with filters, UI in Luntsi Pro).
- Works on multisite networks (network or per-site activation); uninstall cleans every site.
- Finnish and Swedish translations.
0.2.0
- Divi 5 modules “Today’s lunch” and “Lunch menu week” with live Visual Builder preview and Divi design options.
- Elementor widgets with colour, typography and spacing controls.
- Facebook (A4) and Instagram (4:5) image of the week with logo, accent colour and contact line. Bundled font, no Google Fonts.
0.1.0
- First version: weekly editor, today/tomorrow/week views, blocks, shortcode, Finnish public holidays, meat origin, diet markings, lunch editor role, Finnish and Swedish translations.
Follow this listing's changes (Atom feed)