Linux 软件免费装
Banner图

TootieMedia Allergen Menu & Matrix

开发者 tootiemedia
更新时间 2026年11月27日 22:01
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

menu restaurant allergens food allergies dietary

下载

0.3.0

详情介绍:

Food sold at a distance has to show its allergen information before the customer buys. EU Regulation 1169/2011 (Art. 44 and Art. 14) requires the 14 allergens in Annex II to be available to a customer before the purchase is concluded — which for a website means on the page, not in a phone call. The Food Standards Agency expects a written matrix that staff can answer from. Most restaurant sites have neither, because typing 14 allergens against every dish in a page builder is miserable work. TootieMedia Allergen Menu & Matrix is the place you do that work once. Record the allergens for a dish, and the plugin publishes them three ways: Put either one anywhere with the [tootiemedia_menu] and [tootiemedia_matrix] shortcodes, or with the two blocks, in any theme or page builder. Three states, not a checkbox Every allergen on every dish is recorded as contains, may contain or not used. "May contain" is the statement customers actually ask about — shared fryers, shared surfaces — so it gets its own state instead of being folded into a yes. The plugin never guesses There is no code path in this plugin that works an allergen out from an ingredient list, a recipe or a dish name. Everything shown was typed by a person, and every change to an allergen flag is written to an audit log with who changed it, when, and what it was before. A dated line on every output Each menu and each matrix ends with "Prepared by on ; check with staff". The date is taken from your most recent change, so it cannot go stale while your data has moved on. There is no switch to turn it off. Nothing shows until you say so Before anything renders on the front end, an administrator ticks an acknowledgement confirming the business is responsible for the allergen information. The acknowledgement is stored with the user who gave it and the time they gave it, and the front end stays blank until it is given. A note on responsibility This plugin helps a food business record and publish allergen information. It assists; it does not certify, and it is not legal advice. Nothing is capped Every menu and every dish you add publishes. There is no menu limit, no dish limit and no time limit, and no counter in the editor telling you how many you have left. All 14 allergens, both taxonomies, both blocks, both shortcodes, the print stylesheet and the audit log are in the free download, and no feature of the plugin is switched off behind a limit.

安装:

  1. Upload the plugin folder to /wp-content/plugins/, or install it from the Plugins screen.
  2. Activate the plugin.
  3. Go to Allergen Menu → Settings, set your business name and currency, and tick the allergen acknowledgement.
  4. Create a menu under Allergen Menu → Menus, add sections and dishes, then put the block or [tootiemedia_menu] on a page.

屏幕截图:

  • The menu with the diner filter active — Gluten and Milk ticked, "Showing 2 of 6 dishes", and the selection kept in the address bar so it can be shared or put behind a QR code.
  • The allergen control on a dish in the admin: every allergen recorded as contains, may contain or not used, rather than a single checkbox.
  • The matrix in print — black-and-white-safe marks, the business name and the date on the sheet that goes in the folder behind the counter.

常见问题:

Does this make me legally compliant?

No — and no plugin can. It assists with the part that is usually missing: allergen information published where a customer can read it before ordering, in the format the Food Standards Agency expects. Compliance itself is the business's responsibility. Keeping the information accurate and up to date, and answering a customer's question when they ask it, are yours. The acknowledgement you tick before anything renders is mandatory, and it is recorded against your user account with a timestamp — it is not a formality and it is not legal advice. If you need to know what the law requires of your business, ask your local authority's environmental health team or a solicitor.

Can I use it with my existing menu plugin or theme?

Yes. The plugin keeps its own dish and menu records, so it does not touch, convert or fight with a menu plugin you already use — you add the allergens once here, and put the block or shortcode on a page in any theme or page builder. If you would rather not maintain two menus, use this one for the menu as well: it renders in your theme's own styling and has no opinion about your fonts or colours.

Does it work without JavaScript?

Yes. The menu, the allergen matrix and the allergen filter are all rendered on the server. The filter reads its selection from the address (?tootiemedia_avoid=gluten,milk&tootiemedia_hide_may=1), so it works with JavaScript switched off and survives being put behind a QR code; with JavaScript on it applies without reloading the page. If the script fails to load, the form still submits normally.

Where is my data stored?

In your own WordPress database, as ordinary posts, taxonomy terms and post meta — dishes, menus, sections, dietary tags and the allergen states — plus the audit log and your settings. Nothing is copied anywhere else. There is no external account, no sync and no third-party database.

Does it phone home?

No. There is no licence check, no usage reporting, no analytics, no API key and no outbound request of any kind. That means the plugin cannot tell us who installed it, cannot be switched off remotely, and will keep working on a site with no internet access at all. All assets are served from your own site.

What happens to my data if I delete the plugin?

Nothing is deleted unless you tick "Delete all dishes, menus, dietary tags and the audit log when the plugin is deleted" first. The default is to leave your content in place.

更新日志:

0.3.0 0.1.0