=== Carte Menu ===
Contributors: carte
Tags: menu, restaurant, booking, embed, hospitality
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed your live Carte menu and booking button on any WordPress page or post — shortcode or block, no build step, always current.

== Description ==

Carte (https://cartelier.app/) is a menu and booking platform for restaurants, hotels, pubs and bars. This plugin drops the same live, always-current menu embed and booking button used on any Carte-powered website straight into WordPress — no copy-pasting HTML into a Custom HTML block required.

= Features =

* `[carte_menu]` shortcode — the live published menu.
* `[carte_booking]` shortcode — a "Book online" button that opens the booking widget.
* A Gutenberg block ("Carte Menu or Booking Button") for both, with an inline settings panel.
* A one-time settings screen for a default venue slug and API base.
* Zero build step, zero dependencies — pure PHP + WordPress core JS.

== Installation ==

1. Upload the plugin (Plugins → Add New → Upload Plugin, choose `carte-menu.zip`) and activate it.
2. Go to Settings → Carte Menu and enter your venue slug (from your Carte dashboard).
3. Add `[carte_menu]` or `[carte_booking]` to any post or page, or insert the "Carte Menu or Booking Button" block.

== Frequently Asked Questions ==

= Does this need an API key? =

No. The menu and booking widgets are public embeds — the same ones used on any website, pulling your live, published data.

= Can I show more than one venue on the same site? =

Yes — pass a specific `venue="slug"` attribute on the shortcode, or fill in the Venue slug field on the block; it overrides the default.

= Does the menu update automatically? =

Yes. The embed pulls the published menu on every page view — publish a change in Carte and it's live on WordPress immediately, no re-save needed.

== Changelog ==

= 1.1.0 =
* Initial public release: shortcodes, block, settings screen.
