=== FY Kit ===
Contributors: fythemes
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 2.3.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Every block an FY Themes site uses, each with its own good-looking default design: themes only restyle them.

== Description ==

FY Kit holds every block an FY Themes site uses, each with its own
good-looking default design, so it works with any block theme; FY themes
only restyle it.

Blocks for events and bookings: events, showtimes, tickets, booking with
appointments, open times, weekly timetable, schedule, people, sponsors,
venue map, countdown, RSVP and pass. Blocks for shops: shop values, swatches,
product facts, packages, finder, image with dots, slider, shelf and store
search. Plus contact form, maps and routes, football fixtures and tables,
an Animation panel on every block and Effects for Cover and Group blocks.

Selling: WooCommerce, Tickera (on its own or with Bridge for WooCommerce)
or Venuera. The Kit reads tickets and events from whichever is active.

Updates come from fythemes.com: the Kit reads one small release file at most
twice a day and sends nothing about the site.

== Copyright ==

FY Kit, (C) 2026 FY Themes. Distributed under the GNU GPL v2 or later.

MapLibre GL JS (assets/vendor), BSD-3-Clause. Map data (C) OpenStreetMap
contributors, ODbL; styles by OpenFreeMap.

== For theme authors ==

The Kit is a skeleton; the theme says what it needs. In after_setup_theme:

`add_theme_support( 'fy-events-kit', array( 'kind' => 'studio', 'modules' => array( 'workshops', 'products' ), 'words' => array( 'setup' => 'Studio setup' ) ) );`

* kind: event (one dated event), venue (a programme of dated shows), studio (repeating classes or workshops, sold as Venuera recurring events) or shop (a store, no event).
* modules: people, schedule, sponsors, tickets, shows, workshops, products. Only these get their menus, blocks, Setup steps and sample content.
* icon: optional admin menu icon, a dashicon (dashicons-art) or an SVG data URI. By default it follows the kind: tickets for an event, a building for a venue, an easel for a studio, a store for a shop.
* words: the theme's own names for things, for example menu, setup, about, add_people, add_workshops, ticket_button, tickets_heading.

Hooks:

* fyek_setup_sections and fyek_setup_cards (filters): add, remove or reorder the sections of the Setup form and the cards beside it. Each is a callable that prints its HTML.
* fyek_setup_save (action): save the theme's own Setup fields. Receives the submitted form.
* fyek_setup_steps (filter): the "Next steps" list, each item array( url, label, done ).
* fyek_demo_import (filter): import the theme's own kinds of sample content. Receives the item count and the theme's sample data; return the new count.
* fyek_profile (filter): change the profile itself.

Themes made before profiles keep working: add_theme_support( 'fyek-shows' ) means a venue, and 'fyek-no-lineup' hides people, schedule and sponsors.

== Changelog ==

= 2.3.0 =
* Getting started on Setup: one screen in the active theme's colors and fonts walks through the license, FY Kit, the plugins the theme works with (WooCommerce, Venuera) and its sample content. Pick what you want, press "Set up my site", and the preview turns into your live site.
* After a theme switch, the "use this theme's sample content" notice wears the theme's look, shows the theme's logo, and can be closed for each theme.
* Sample content is added from Getting started, where you choose it, instead of right after FY Kit is switched on.

= 2.2.0 =
* Updates from fythemes.com: FY Kit now shows its new versions on the Plugins and Updates screens, with "View details" and automatic updates, like any plugin. It reads one small release file from fythemes.com at most twice a day and sends nothing about the site.

= 2.1.3 =
* Slots board: a new "Most times shown per day" setting; the rest are counted on a "+N more" link to the booking.
* New effect Hair shine: a soft band of warm light runs over the photo, like the gloss in a hair-care advert. It drifts across on its own and follows the mouse; with a picture of the hair alone the light stays on the hair.

= 2.1.2 =
* Floodlights: the crowd now sits on the bottom edge of the block, with no strip of the photo showing below it.
* Effects are laid out again once their block settles to its final size.

= 2.1.1 =
* New effect Label numbers: a nutrition-label card whose numbers count up and whose bars fill; flavour buttons tint it and count their own numbers. The rows are a list in the block. It replaces the Powder scoop effect.

= 2.1.0 =
* Appointments: a calendar of one person or one room, services with their own length; only the start times where the whole service fits are offered, checked again in the cart and at checkout (unpaid orders count too), with an optional break after each service.
* New blocks: Free slots (chips and an N-day board), Weekly timetable (filters by type and by person), Event facts, Event search, Route (map from a GPX/GeoJSON file, points, height profile, GPX download), RSVP, Match card, Fixtures and results, League table, Squad, Variation swatches, Product facts (Supplement facts, Material and care, price per serving), Class credits.
* Booking: questions per event (text, choice, checkbox; on the cart, the order and the admin mail), a link from the slots board opens the chosen day and time, an online meeting link sent only with paid orders, class packs paid with credits.
* People on events (coach, guide, comedian) for studio and venue sites; the Events block shows the weekday and time.
* Sample content: recurring Venuera events with time slots, Venuera tickets with options and their own prices, variable WooCommerce products.
* Seventeen new hero effects (Effect panel on Cover and Group); themes can add their own effect as a drop-in file.

= 2.0.0 =
* FY Events Kit is now FY Kit (folder fy-kit). Activating FY Kit switches FY Events Kit off; blocks keep their names (fyek/*), so content keeps working.
* New blocks: Image with dots, Finder, Packages, Number, Star rating, Slider, Running band, Split-flap board, Map, Spotlight, Shelf, Store search, Guitar strings, Step sequencer, pet blocks (profile, fit, feeding, size, only what fits).
* New on every block: Animation (rise, fade, items one after another, count up, underline the slanted words, stars). Cover and Group: Effect (petals, balloons, dew drops, mist, speed streaks, tulle veil, toy box, candlelight, oven sparks, watercolour, cut stone, stage spotlight). Headings and paragraphs: Fit to width. Cover video: play once. Navigation: Chips style.
* Shop values (fyek/shop) and booking values (fyek/booking) with "Shop value" and "Booking value" panels on paragraphs and headings.
* Countdown: a time every day (cut-off), on any kind of site.
* Themes list the Kit blocks they offer (add_theme_support( 'fy-kit', array( 'blocks' => ... ) )); pattern "FY Kit: every block".

= 1.6.0 =
* Runs: a programme item (a film) can play as one repeating Venuera event in one room (Venuera Recurring Events). Showtimes, the item's page and listings show every date of the run, each opening the event with that date picked; the date's page follows the date picked in Venuera's picker.
* Seat maps for sample rooms (Venuera Venue Designer): themes can ship a room's plan, and each area of the plan gets its own ticket with an option per kind of guest (Adult, Concession, Child).
* Labels per date of a run (CC, AD, Relaxed...) by time, weekday and time, date, or every date.
* New Extras block: products from one shop category with an add button, for example snacks on the cart page before checkout.
* New Calendar block: every date on a month, week or list calendar with Venuera Calendar, or the coming days as a list without it.
* Programme details: the list of dates can be limited to a number of days (7 by default).
* Tickets with options show the event's picture in the cart, like other tickets.

= 1.5.1 =
* Theme section block: every text the section prints (labels, buttons, headings) can be changed in the block settings, so no part of a theme is fixed text.

= 1.5.0 =
* Sample content: a sample picture can no longer take the address of a sample page (for example journal.webp and the Journal page), so the posts page is always a page.

= 1.4.1 =
* New Theme section block: live sections a theme offers (a product list, a search form, a calculator) that always show what is on the site now and can be placed, moved or removed in the editor. Themes add them with the fyek_theme_parts filter.
* Venue, studio and shop sites no longer get a stray main event when Tickera is activated later.

= 1.4.0 =
* Sample pages that nobody edited get the theme's newest version whenever the theme's sample data changes, not only when the Kit updates (an empty Home page fills with the theme's sections).

= 1.3.1 =
* Venue themes with Tickera: each date's page lists its tickets (the Tickets block stays available to them, out of the inserter).
* Sample events made with Tickera show their tickets on the event page automatically.

= 1.3.0 =
* Theme profiles: the theme says what kind of site it is (event, venue, studio or shop) and which modules it uses. Menus, blocks, the Setup screen, next steps and sample content follow it.
* The admin menu icon follows the kind of site, or the theme's own icon.
* Hooks for themes: fyek_setup_sections, fyek_setup_cards, fyek_setup_save, fyek_setup_steps, fyek_demo_import and fyek_profile.
* Workshops: sample content can make recurring Venuera events (Recurring Events add-on) with weekly dates, a date picker and places per date.
* Events list: recurring Venuera events are listed by their upcoming dates, each linking to the page with that date picked. New options: one category, pictures in the list, the short description and "places left".
* Sample products can carry their weight and the theme's own product fields (for example a feeding table or a size chart).
* The Sample content card has its actions in a clear column: reload on top, remove apart in red. A shop's Setup shows the site's own name and no venue.
* New Booking block: the date picker and tickets of a Venuera event, to place beside the description.
* Themes can name Venuera's ticket words on the site (ticket_button, tickets_heading, tickets_remaining, tickets_available).

= 1.2.2 =
* Sample content for shop themes: product tags, categories by slug, sales counts, reviews and dates, and the shop name and tagline.

= 1.2.1 =
* Sample dates can be set by weekday, so themed nights always land on the right day.

= 1.2.0 =
* Programme: films, themed evenings or workshops that run on many dates. Each date is a Tickera or Venuera event linked to its programme item. New blocks: Showtimes (tabs by day, or a one-day board), Programme (posters of what is on now or coming soon) and Programme details (facts, credits, video, every date, and on a date's page its time, room and tickets).
* Labels on each date (CC, Relaxed, 35mm...) and dates that close for booking soon after they start.
* Sample dates move forward every day, so demo sites never run out of times.
* A notice when the sample content is in but the front page shows something else, with one button to show the sample Home page. "Sample content" is now the first card on the Setup screen.
* Swapping sample content also takes away the old sample event (to the trash).
* Tickets without a picture show their event's picture in the cart and checkout.
* Themes can hide people, schedule and sponsors when they have no line-up.

= 1.1.4 =
* Timetable: visitors can star sets and see only their own plan (saved on their device).
* Timetable: every stage keeps one colour and one column on every day.

= 1.1.3 =
* The sample Home page is made even when the site already has its own page at /home/, and it goes on the front when sample content is swapped or reloaded.
* Reload sample content on the Event setup screen.

= 1.1.2 =
* After switching to another FY theme, one click replaces the old theme's sample content with the new one. Your own content stays.

= 1.1.1 =
* People: a billing line (main or support) for line-up posters, set in the sample content too.
* Sample content: a festival can start on a set weekday, and block settings with line breaks import intact.
* Timetable: set names stay readable on any section color.

= 1.1.0 =
* Countdown with sizes, looks, unit choices and an ended message; poster layout for People; timetable layout for Schedule.
* Redesigned Event setup screen and admin screens; translations ready.

= 1.0.0 =
* First release: Event setup screen, People, Schedule, Sponsors and Messages, and the blocks Countdown, Event info, Events, Pass, People, Person details, Schedule, Sponsors, Tickets, Venue and Contact form.
* Tickets from Tickera, Tickera with WooCommerce or Venuera.
