=== Faro Carta ===
Contributors: farowp
Tags: restaurant, menu, allergens, food, block-editor
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 0.3.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

The restaurant menu as real content: dishes, sections, prices, the fourteen allergens and diet labels, plus a printable allergen sheet.

== Description ==

Faro Carta turns the menu into content you can edit: each dish is a record with its price, its description, its diet labels and the fourteen allergens the European Union requires you to declare.

* Dishes with section, price, description and photo.
* The fourteen allergens, marked per dish, and which ones the kitchen can remove.
* Diet labels: vegetarian, vegan, gluten free, lactose free.
* Shortcode `[faro_carta]` to print the menu anywhere, in one, two or three columns.
* Shortcode `[faro_alergenos]` for the allergen sheet, with a filter by allergen and a print button.
* Menu data in schema.org (Menu, MenuSection, MenuItem) with prices and diets.
* QR code of the menu, generated on the server as SVG: no external service, no JavaScript.
* Allergen sheet ready for A4: header with the restaurant name, one page, and the date it was last updated.
* "Sold out today" per dish.
* No JavaScript of its own, no external services.

The menu is HTML, not a PDF: it reads on a phone, it is indexed by search engines and it works with a screen reader.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install the ZIP from Plugins → Add New.
2. Activate it. A "Menu" item appears in the admin.
3. Add your dishes under Menu → Add dish, with their section, price and allergens.
4. Put `[faro_carta]` on your menu page and `[faro_alergenos]` on an allergen page.

== Frequently Asked Questions ==

= Does it need a specific theme? =
No. It works with any theme. With Faro Mesa it inherits the theme design automatically.

= Can I keep my menu as it is? =
Yes. The plugin only prints where you place the shortcode.

= Does it replace the legal allergen sheet? =
No. It helps you keep and publish the information; the restaurant is still responsible for its accuracy.

== Changelog ==

= 0.3.3 =
* The QR screen now lists the pages: choose the menu page from a list, see its title, address and whether it really shows the menu, and only then save it.

= 0.3.2 =
* New QR screen: preview, the address it points to, caption, size, and download as SVG or PNG (written by the plugin, no image library).

= 0.3.1 =
* New dishes screen with photos, sections, diets and allergen count, with search, section filter and pagination.

= 0.3.0 =
* New overview screen: counters, the menu at a glance, what is missing and the latest dishes.
* New dish form and new section form, with the same look as the rest of FaroWP, replacing the default WordPress screens.
* Sections can be ordered and the order is respected on the menu.

= 0.2.0 =
* Spanish translation, complete.
* QR code of the menu as SVG, generated by the plugin itself.
* Allergen sheet with a print header, page breaks and the last-updated date.

= 0.1.0 =
* First version: dishes, sections, prices, allergens, diets, menu and allergen sheet.
