=== Bayle Restaurant ===
Contributors: bayle
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, food-and-drink, full-site-editing, one-column, style-variations, template-editing, three-columns, threaded-comments, translation-ready, wide-blocks

A block theme for restaurants, cafés and bars: thirty style variations, with starter patterns for menus, table booking and food rescue.

== Description ==

Bayle Restaurant is a full site editing theme for independent restaurants, cafés and bars. Everything is edited in the Site Editor; the theme stores no settings of its own and creates no pages or content.

= Thirty style variations =

Ten restaurant types with three styles each. Every style changes typography, spacing rhythm, button shape, header and footer, hero composition, home page and motion personality — not just colours.

* Casual Bistro (default) · Chalkboard · Zinc Bar
* Fine Dining · Chef's Counter · Editorial
* Café & Brunch · Espresso Bar · Riso Zine
* Lunch · Tray Line · Punch Card
* Cloud Kitchen · Bento Grid · Dispatch (delivery and takeaway, no table booking)
* Bar & Wine Bar · Cellar List · Neon Night
* Bakery · Paper Bag · Bake Sheet (no table booking)
* Street Food · Truck Side · Night Market (no table booking)
* Pizzeria · Slice Counter · Dough Lab
* Burger Joint · Diner · Stack (no table booking)

= Pick a style and its home layout =

1. Appearance → Editor → Styles → pick the style for your concept → Save.
2. Create a page (Pages → Add New). The starter layouts are offered when you create a page; you can also insert them from + → Patterns → "Restaurant pages": "Home", "Home — Lunch", "Home — Cloud Kitchen", "Home — Bar & Wine Bar", "Home — Bakery", "Home — Street Food", "Home — Pizzeria", "Home — Burger Joint", "Menu", "Book a table", "Food rescue", "About" and "Contact".
3. Settings → Reading → "A static page" → choose your Home page.
4. No table booking (Cloud Kitchen, Bakery, Street Food, Burger Joint): these styles hide "Book a table" links and buttons and show "Order now" instead.

Developers: the booking and order switches are theme.json tokens (settings.custom.booking.display / booking.block, settings.custom.order.display and settings.custom.lunch.display), so a child theme or a custom style can turn them on or off. Opening hours and the address line in the header can be supplied by a plugin through the filters bayle_theme_today_hours, bayle_theme_hours_summary, bayle_theme_place_line and bayle_theme_rescue_hidden; without them the theme shows editable sample text.

= Features =

* Each style brings its own header, footer, hero composition, home layout, section shapes and scroll motion, not just new colours.
* Sticky header that sits over the home hero and turns solid as you scroll, in CSS. No jQuery; the only front-end scripts are a small deferred one that fits the footer wordmark and, on pages with the Location section, the click-to-load map.
* 20+ section patterns: heroes, page header, story with stats, menu highlights, reservations, food rescue explainer and steps, opening hours, lunch hours, location and contact, chef and team, testimonials, press strip, gallery, call-to-action band, FAQ, newsletter.
* Full-page starter patterns for Home (one for each kind of place), Menu, Book a table, Food rescue, About and Contact.
* Templates: front page, blog home, index, page, single, archive, search and 404.
* theme.json v3 tokens: palette, fluid type scale, spacing scale, shadows, radii and component tokens that the variations override.
* Accessibility: WCAG 2.1 AA colour pairs in every variation, visible focus outlines, skip link, labelled navigation, reduced-motion and forced-colours support.
* Performance: locally bundled WOFF2 fonts (only the active style's fonts are downloaded), WebP images, lazy-loaded images below the fold and a preloaded hero.
* Translations: English, Finnish and Swedish included.

= Bayle widget blocks (optional) =

The Book a table, Menu and Food rescue sections show a live Bayle widget when the matching plugin from WordPress.org is active:

* Bayle Booking Widget (https://wordpress.org/plugins/bayle-booking-widget/): table booking.
* Bayle Menu Widget (https://wordpress.org/plugins/bayle-menu-widget/): live menu and pickup orders.
* Bayle Rescue Widget (https://wordpress.org/plugins/bayle-rescue-widget/): food rescue bags.

Without them these sections show a short text you can edit. These plugins are optional and hosted on WordPress.org; the theme does not install or require them. Appearance → Bayle Restaurant lists them and how to connect a Bayle restaurant.

== Installation ==

1. Appearance → Themes → Add New → search for "Bayle Restaurant" → Install → Activate.
2. Appearance → Bayle Restaurant lists the first steps with links into the Site Editor, including how to install the optional WordPress.org widgets and connect a Bayle restaurant.
3. Pick a style, create your pages from the starter layouts and edit the header and footer (Appearance → Editor → Patterns → Template parts) to enter your opening hours, address and contact details.

== External services ==

The "Location and contact" pattern can show a map from OpenStreetMap (https://www.openstreetmap.org/). Nothing is loaded from OpenStreetMap until a visitor clicks "Show map"; the map is then loaded in a frame from www.openstreetmap.org, which receives the visitor's IP address and browser details as for any visited web page. OpenStreetMap privacy policy: https://osmfoundation.org/wiki/Privacy_Policy. Terms: https://osmfoundation.org/wiki/Terms_of_Use. The theme makes no other requests to external services.

== Frequently Asked Questions ==

= How do I change the header links, buttons, opening hours and footer? =

In the Site Editor: Appearance → Editor → Patterns → Template parts → Header or Footer. Your edits are saved as your own template part.

= How do I change the map location? =

Edit the Location and contact section and replace the sample address and the map link (an OpenStreetMap "Share → HTML" embed URL) with your own.

= Why does my home page show blog posts? =

The theme follows Settings → Reading. With "Your latest posts" the home page lists your posts; to use the restaurant home, choose "A static page" and pick your Home page. If that page is empty, the built-in restaurant home is shown.

= Does the theme require a plugin? =

No. Every pattern works without plugins; the booking, menu and food rescue sections show editable text until a Bayle widget block is available.

= Can I translate the theme into another language? =

Yes. Translate languages/bayle.pot (for example with Loco Translate) or contribute on translate.wordpress.org.

= Can I change fonts and colours? =

Yes, in Appearance → Editor → Styles. All bundled font families are available in every variation; a visitor's browser only downloads the ones your style uses.

== Motion and accessibility ==

The theme includes a CSS-only motion layer: a marquee, scroll-linked reveals and an "ink" fill on the Manifesto statement. It uses CSS scroll-driven animations where supported and shows the complete static design elsewhere. Visitors who ask for reduced motion get no movement. Each style has its own motion personality (easing, entrance, float and sticker wobble).

== Changelog ==

= 1.0.1 =
* Getting started (Appearance → Bayle Restaurant) now includes how to install the optional WordPress.org widgets, create a restaurant at bayle.food/sell and paste the slug, with a labelled live example (kahvila-ravintola-nuppu). Bookings, orders and rescue purchases made with that example are real, and bookings auto-confirm.
* Added a one-time, permanently dismissible admin notice that links to Appearance → Bayle Restaurant.
* Clarified that the theme may list optional WordPress.org plugins but does not install or require them.

= 1.0.0 =
* Initial release on WordPress.org.

== Copyright ==

Bayle Restaurant WordPress Theme, Copyright 2026 Bayle
Bayle Restaurant is distributed under the terms of the GNU GPL v2 or later.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

This theme bundles the following third-party resources:

= Fonts (SIL Open Font License 1.1, license files in assets/fonts/*/OFL.txt) =

* DM Serif Display — Copyright 2014-2018 Adobe (http://www.adobe.com/), Copyright 2019 Google LLC. https://github.com/googlefonts/dm-fonts
* DM Sans — Copyright 2014 The DM Sans Project Authors. https://github.com/googlefonts/dm-fonts
* Cormorant Garamond — Copyright 2015 The Cormorant Project Authors. https://github.com/CatharsisFonts/Cormorant
* Jost — Copyright 2020 The Jost Project Authors. https://github.com/indestructible-type/Jost
* Outfit — Copyright 2021 The Outfit Project Authors. https://github.com/Outfitio/Outfit-Fonts
* Nunito Sans — Copyright 2016 The Nunito Sans Project Authors. https://github.com/googlefonts/NunitoSans
* Anton — Copyright 2020 The Anton Project Authors. https://github.com/googlefonts/AntonFont
* Caveat — Copyright 2014 The Caveat Project Authors. https://github.com/googlefonts/caveat
* Kalam — Copyright 2014 Indian Type Foundry. https://github.com/itfoundry/kalam
* Big Shoulders Display — Copyright 2019 The Big Shoulders Project Authors. https://github.com/xotypeco/big_shoulders
* Fraunces — Copyright 2020 The Fraunces Project Authors. https://github.com/undercasetype/Fraunces
* Bricolage Grotesque — Copyright 2022 The Bricolage Grotesque Project Authors. https://github.com/ateliertriay/bricolage
* Alfa Slab One — Copyright 2016 The Alfa Slab One Project Authors (http://www.jmsole.cl | info@jmsole.cl), with Reserved Font Name "Alfa Slab". License: OFL 1.1 (assets/fonts/alfa-slab-one/OFL.txt)
* Archivo — Copyright 2020 The Archivo Project Authors (https://github.com/Omnibus-Type/Archivo). License: OFL 1.1 (assets/fonts/archivo/OFL.txt)
* Archivo Black — Copyright 2017 The Archivo Black Project Authors (https://github.com/Omnibus-Type/ArchivoBlack). License: OFL 1.1 (assets/fonts/archivo-black/OFL.txt)
* Bagel Fat One — Copyright 2022 The Bagel Fat Project Authors (https://github.com/JAMO-TYPEFACE/BagelFat). License: OFL 1.1 (assets/fonts/bagel-fat-one/OFL.txt)
* Barlow — Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow). License: OFL 1.1 (assets/fonts/barlow/OFL.txt)
* Barlow Condensed — Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow). License: OFL 1.1 (assets/fonts/barlow-condensed/OFL.txt)
* Bodoni Moda — Copyright 2020 The Bodoni Moda Project Authors (https://github.com/indestructible-type/Bodoni). License: OFL 1.1 (assets/fonts/bodoni-moda/OFL.txt)
* Bungee — Copyright 2023 The Bungee Project Authors (https://github.com/djrrb/Bungee). License: OFL 1.1 (assets/fonts/bungee/OFL.txt)
* Cabin Sketch — Copyright 2011 The Cabin Project Authors (impallari@gmail.com), with Reserved Font Name "Cabin", "Cabin Sketch". License: OFL 1.1 (assets/fonts/cabin-sketch/OFL.txt)
* Chivo — Copyright 2019 The Chivo Project Authors (https://github.com/Omnibus-Type/Chivo). License: OFL 1.1 (assets/fonts/chivo/OFL.txt)
* Courier Prime — Copyright 2015 The Courier Prime Project Authors (https://github.com/quoteunquoteapps/CourierPrime). License: OFL 1.1 (assets/fonts/courier-prime/OFL.txt)
* Gloock — Copyright 2022 The Gloock Project Authors (https://github.com/duartp/gloock). License: OFL 1.1 (assets/fonts/gloock/OFL.txt)
* IBM Plex Mono — Copyright © 2017 IBM Corp. with Reserved Font Name "Plex". License: OFL 1.1 (assets/fonts/ibm-plex-mono/OFL.txt)
* Instrument Serif — Copyright 2022 The Instrument Serif Project Authors (https://github.com/Instrument/instrument-serif). License: OFL 1.1 (assets/fonts/instrument-serif/OFL.txt)
* Inter Tight — Copyright 2022 The Inter Project Authors (https://github.com/rsms/inter-tight). License: OFL 1.1 (assets/fonts/inter-tight/OFL.txt)
* Josefin Sans — Copyright 2010 The Josefin Sans Project Authors (https://github.com/ThomasJockin/JosefinSansFont-master), with Reserved Font Name "Josefin Sans". License: OFL 1.1 (assets/fonts/josefin-sans/OFL.txt)
* Karla — Copyright 2019 The Karla Project Authors (https://github.com/googlefonts/karla). License: OFL 1.1 (assets/fonts/karla/OFL.txt)
* Lexend — Copyright 2018 The Lexend Project Authors (https://github.com/googlefonts/lexend), with Reserved Font Name “RevReading Lexend”. License: OFL 1.1 (assets/fonts/lexend/OFL.txt)
* Libre Caslon Text — Copyright 2018 The Libre Caslon Text Project Authors (https://github.com/thundernixon/Libre-Caslon). License: OFL 1.1 (assets/fonts/libre-caslon-text/OFL.txt)
* Libre Franklin — Copyright 2020 The Libre Franklin Project Authors (https://github.com/googlefonts/Libre-Franklin). License: OFL 1.1 (assets/fonts/libre-franklin/OFL.txt)
* Lilita One — Copyright (c) 2011 Juan Montoreano (juan@remolacha.biz). License: OFL 1.1 (assets/fonts/lilita-one/OFL.txt)
* Plus Jakarta Sans — Copyright 2020 The Plus Jakarta Sans Project Authors (https://github.com/tokotype/PlusJakartaSans). License: OFL 1.1 (assets/fonts/plus-jakarta-sans/OFL.txt)
* Righteous — Copyright (c) 2011 by Brian J. Bonislawsky DBA Astigmatic (AOETI). License: OFL 1.1 (assets/fonts/righteous/OFL.txt)
* Rubik — Copyright 2015 The Rubik Project Authors (https://github.com/googlefonts/rubik). License: OFL 1.1 (assets/fonts/rubik/OFL.txt)
* Sora — Copyright 2019 The Sora Project Authors (https://github.com/sora-xor/sora-font). License: OFL 1.1 (assets/fonts/sora/OFL.txt)
* Syne — Copyright 2017 The Syne Project Authors (https://gitlab.com/bonjour-monde/fonderie/syne-typeface). License: OFL 1.1 (assets/fonts/syne/OFL.txt)
* Tilt Neon — Copyright 2019 The Tilt Project Authors (https://github.com/googlefonts/Tilt-Fonts). License: OFL 1.1 (assets/fonts/tilt-neon/OFL.txt)
* Unbounded — Copyright 2022 The Unbounded Project Authors (https://github.com/googlefonts/unbounded). License: OFL 1.1 (assets/fonts/unbounded/OFL.txt)
* Work Sans — Copyright 2019 The Work Sans Project Authors (https://github.com/weiweihuanghuang/Work-Sans). License: OFL 1.1 (assets/fonts/work-sans/OFL.txt)
* Young Serif — Copyright 2023 The Young Serif Project Authors (https://github.com/noirblancrouge/YoungSerif). License: OFL 1.1 (assets/fonts/young-serif/OFL.txt)

= Images (CC0 1.0 Universal, https://creativecommons.org/publicdomain/zero/1.0/) =

All photographs come from the WordPress Photo Directory (https://wordpress.org/photos/), resized and converted to WebP with metadata removed.

* hero.webp — "A restaurant with wooden tables and chairs set with colorful" by Nilo Velez. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/506679562b/
* interior.webp — "Cozy dinner table with white curtain in a comfy room" by Da Chakrapan. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/5263ef2c3c/
* bistro.webp — "Cafe. Chairs and table." by Paal Joachim Romdahl. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/9706376b7b/
* dish-soup.webp — "Bowl of onion Soup" by MarkvanJaarsveld. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/9961e67911/
* dish-duck.webp — "Duck Salad with sour cherries" by MarkvanJaarsveld. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/83061efb8d/
* dish-banana-bread.webp — "Vegan Banana Bread" by Anariel Design. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/94261d95a9/
* brunch.webp — "An image of a breakfast plate with toast and avocado paste o" by Sumi Subedi. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/5336a0e4fc/
* pastries.webp — "Close-up of croissants and other French pastries" by Reyes Martínez. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/210622cf27/
* bread.webp — "A round loaf of bread with a cross-shaped cut on a wooden pl" by Alina Kakshapati. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/96468a2130/
* pastry-box.webp — "A delicious selection of Portuguese pastries, each golden an" by KafleG. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/501685d2ca/
* salad.webp — "Salad" by Sadie-Michaela Harris. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/33164c3a70/
* signature-plate.webp — "Fully decorated dinner plate in a restaurant." by KafleG. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/9676616084/
* burger.webp — "A gourmet burger and french fries are served on a white plat" by Swetha B Chandran. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/3956ac62f2/
* burger-grill.webp — "Multiple hamburgers on a grill" by mdburnette. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/82862019dc/
* pizza.webp — "A classic wood fired pepperoni pizza with a golden, charred" by Swetha B Chandran. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/8366ab8b8a/
* pizza-board.webp — "A round pizza sitting on a wooden serving platter." by Manjil Aryal. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/8726aace9a/
* bar-cocktails.webp — "A row of colorful cocktails on a bar counter with varied gla" by Bijay Karki. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/4206a11309/
* cocktail.webp — "An orange-colored cocktail in a coupe glass is garnished wit" by Alina Kakshapati. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/479698dcbd/
* food-truck.webp — "Camping trailer styled food truck with tables and seating" by ChrisEdwardsCE. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/75763211cf/
* street-skewers.webp — "Street food snacks on wooden sticks sit on a metal rack at a" by Faisal Ahammad. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/89269bb7ac/
* lunch-buffet.webp — "A well-stocked salad bar buffet with three shelves displayin" by Bibek KC. License: CC0 1.0 (WordPress Photo Directory). Source: https://wordpress.org/photos/photo/5546a11ce1/

screenshot.png is composed from the theme's own rendering of the images above (CC0).

= Bayle mark =

* bayle-mark-light.png, bayle-mark-dark.png: the Bayle logo mark, Copyright 2026 Bayle (the theme author), distributed with this theme under the GNU GPL v2 or later.

= Map =

Map embed © OpenStreetMap contributors, data available under the Open Database License (https://www.openstreetmap.org/copyright). Loaded from openstreetmap.org only after the visitor clicks "Show map"; not bundled.

= Sample content =

Restaurant names, people, reviews, press names, address, phone number, e-mail and opening hours in patterns are fictional placeholders.
