=== RacerPacer ===
Contributors: racerpacer
Tags: one-column, full-site-editing, block-patterns, custom-logo, custom-menu, featured-images, blog, e-commerce
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 0.2.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A block theme for a running club's or a race organiser's site, styled by the RacerPacer plugin.

== Description ==

A one-column block theme. The home page is the club's card (logo, tagline, links) with its next runs, its upcoming events, or both, and the latest news underneath. Which of those it shows follows what the plugin is set to do. Every template and the header and footer can be changed in Appearance → Editor.

The colours, fonts and background pattern come from Runs → Settings in the RacerPacer plugin, so the site and the run schedule match. Choose your own colours or fonts under Styles in the editor and they take over. Without the plugin the theme falls back to the same defaults; the home page then has no club card or schedule to show.

Templates: front page, page, a wide page with no title, single post, single run, single event, the events page with its race finder, the posts list, and 404. WooCommerce's own block templates work alongside them.

== Installation ==

1. Upload the `racerpacer-runs-blocks` folder to `/wp-content/themes/` and activate it.
2. Install and activate the RacerPacer plugin.
3. Under Appearance → Editor → Navigation, choose the pages for the menu. Until you do, the header lists your pages.
4. Optional: set a Site Logo and Site Icon in the editor.

== Copyright ==

RacerPacer WordPress Theme, Copyright 2026 RacerPacer.
RacerPacer is distributed under the terms of the GNU GPL.

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.

== External services ==

New versions come from builtby.racerpacer.com (https://builtby.racerpacer.com), since the theme isn't on WordPress.org.

* What is sent and when: while the theme is active and WordPress checks for updates (about twice a day, and when you press Check again under Dashboard, Updates), your server asks `builtby.racerpacer.com` for the latest version. The request carries the theme's version number and your server's IP address, and nothing else: not your site's address, settings or content. builtby counts the checks for each version and doesn't keep the IP address. When you update, the new zip downloads from the same place.
* Switching it off: add `define( 'RACERPACER_NO_UPDATE_CHECK', true );` to wp-config.php. You can still update by uploading a new zip.
* builtby privacy policy: https://builtby.racerpacer.com/privacy/

== Resources ==

* Contour pattern (assets/img/contour.svg), Copyright 2026 RacerPacer.
  License: GPL-2.0-or-later, same as the theme.

* Screenshot (screenshot.png), Copyright 2026 RacerPacer, showing the theme's own demo content.
  License: GPL-2.0-or-later, same as the theme.

== Changelog ==

= 0.2.4 =
* The event page shows the Runner info pack link under the races and the volunteer sign-up after the aftermath, when the event has them.

= 0.2.3 =
* Offers new versions under Dashboard, Updates, from builtby.racerpacer.com, while the theme is active. See External services for what the check sends and how to switch it off.

= 0.2.1 =
* Follows the plugin's new names in version 0.4.0: its colours and fonts come from `--rpkit-*`, and the run and event templates are `single-rpkit_run`, `single-rpkit_event` and `archive-rpkit_event`. Use it with plugin 0.4.0 or later.

= 0.2.0 =
* Templates for a single event and for the events page. The home page shows runs, events or both, following the plugin's setting.

= 0.1.0 =
* First version.
