| 开发者 | amitry |
|---|---|
| 更新时间 | 2026年10月14日 21:11 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
time and data elements for dates and prices.docs/developers.md in the plugin folder.
Languages
Lunchboard is ready for translation. Translations are managed on translate.wordpress.org.
[lunchboard_week] – the current week[lunchboard_week day="today"] – today's dishes[lunchboard_week week="next"] – next week[lunchboard_menu] – the whole menu[lunchboard_menu category="drinks"] – some categories (slugs, comma-separated)[lunchboard_menu images="yes"] – with photosdesign="chalkboard" – any menu in another designlegend="no" – without the legendNo plugin can do that. Lunchboard helps you mark allergens and additives and explains the codes in a legend. You remain responsible for complete and correct information about your food.
Yes. Every code and wording can be changed under "Lunchboard → Settings → Allergens & additives". Your dishes keep their markings.
No. The fonts of the designs are part of the plugin and load from your own website. You can also use your theme's fonts.
The design "Minimal" uses your theme's fonts and colours. The other designs bring their own look, but you choose the accent colour, and you can switch every design to your theme's fonts.
Open the weekly menu and click "Open print view", or use the print button on the overview. In the print dialog, switch off headers and footers for a clean page.
Lunchboard clears the cached pages that show a menu whenever you change a dish, a weekly menu or the settings, and again every night shortly after midnight. This works with WP Rocket, LiteSpeed Cache, W3 Total Cache and WP Super Cache. With other caches or a CDN, set the cache lifetime of these pages to a few hours, or use the lunchboard_pages_purged action.
Yes. Add designs, markers, fields, settings tabs, print views or your own markup with the hooks described in docs/developers.md.
The settings are removed. Weekly menus, dishes and categories stay, unless you switch on "Also delete all weekly menus, dishes, categories and settings" under "Settings → Advanced".