=== Clovo === Contributors: clovo Tags: timetable, schedule, shortcode, membership, embed Requires at least: 5.0 Tested up to: 7.1 Requires PHP: 7.4 Stable tag: 1.1.0 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html Display your Clovo timetable, memberships, class packs and trials using responsive website embeds. == Description == Add your studio's Clovo timetable and products to WordPress using simple shortcodes. Content flows naturally with your page using Clovo's current script embed, without a fixed-height iframe. Existing studio settings and shortcodes continue to work after upgrading. * [clovo_schedule] displays your timetable. * [clovo_products] displays your memberships, class packs and trials. * [clovo_schedule view="rows" location="all"] shows an agenda across locations. * [clovo_schedule view="month"] shows the monthly timetable. Timetable views are columns, rows and month. The location attribute accepts all or a location UUID from Clovo's generated embed code. Omit attributes to use Clovo's defaults. Multiple locations use the rows view when columns cannot show them together. A hosted-content link remains available if scripts are blocked or the embed cannot load. = External service = This plugin requires a Clovo account and connects to Clovo at https://studio.clovo.au. When a visitor opens a page containing a Clovo shortcode, their browser downloads https://studio.clovo.au/embed/v1/clovo-addons.js and requests public timetable or plans data and styles from Clovo. These requests include the configured public studio identifier, timetable options when supplied, and normal browser connection information such as the visitor's IP address. Booking and purchase links open Clovo. The plugin does not need an API secret. Service: https://clovo.au/ Terms of service: https://clovo.au/terms-of-service/ Privacy policy: https://clovo.au/privacy-policy/ == Installation == 1. Upload the clovo folder to wp-content/plugins/, or upload the plugin ZIP in Plugins → Add New. 2. Activate Clovo. 3. Open Settings → Clovo and save your four-character studio code or studio UUID. Existing saved studio codes are retained automatically. 4. Add a Shortcode block to a page and enter [clovo_schedule] or [clovo_products]. Find the studio code in Clovo Dashboard under Setup → Integrations → Browse add-ons. Alternatively, use the data-clovo-studio identifier from your generated embed code. == Frequently Asked Questions == = Do I need to replace my existing shortcodes? = No. Both original shortcodes and the saved studio code continue to work. Their output now uses the current script embed. = Do I paste the generated HTML into the plugin? = No. Save your studio identifier once and use the shortcodes. The plugin generates the current embed markup and loads the shared script once per page. = What happens if scripts are blocked? = The visitor can follow the Open timetable or Open plans link to view the hosted content. == Changelog == = 1.1.0 = * Replace fixed-height iframes with Clovo's current responsive v1 script embeds. * Retain existing shortcodes and saved studio codes. * Support studio UUIDs and optional timetable location and view attributes. * Load the embed script once per page, only when a valid embed is rendered. * Validate studio settings and document the external Clovo service. * Add standard WordPress readme and requirement metadata; tested with WordPress 7.1.3. = 1.0.0 = * Initial release with timetable and product shortcodes. == Upgrade Notice == = 1.1.0 = Existing shortcodes now use responsive script embeds instead of fixed-height iframes. Saved studio codes are retained.