=== ScheduleBuilder ===
Contributors: schedulebuilder
Tags: schedule, timetable, weekly planner, schedule builder, calendar, embed
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 2.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed published ScheduleBuilder schedules in WordPress with a shortcode or Gutenberg block.

== Description ==

ScheduleBuilder  is the simplest way to add a schedule created at [ScheduleBuilder](https://schedulebuilder.net/) to a WordPress post or page.

Create and publish a schedule in ScheduleBuilder, open **Share → WordPress**, and copy the shortcode. Paste it into a Shortcode block, paragraph, or Classic Editor. The plugin renders a responsive schedule that automatically adjusts its height as the schedule loads and on smaller screens.

There are no plugin settings to configure. Keep your schedule’s design, dates, events, language, and title visibility in ScheduleBuilder. Editing the published schedule in ScheduleBuilder updates every place where it is embedded.

= Ways to embed =

* **Shortcode:** Paste the shortcode copied from ScheduleBuilder, for example: `[schedule_builder id="pub_0123456789abcdef0123456789abcdef"]`
* **Gutenberg block:** Add the **ScheduleBuilder** block, then paste the published schedule ID from ScheduleBuilder’s WordPress tab.
* **Legacy shortcode:** Existing `[sbo id="..."]` shortcodes continue to work.

= Optional shortcode attributes =

* `locale` — interface language: `en`, `de`, `es`, `fr`, `pt`, `ru`, or `sv`. Defaults to `en`.
* `show_title` — use `false` to hide the schedule title, for example: `[schedule_builder id="pub_0123456789abcdef0123456789abcdef" show_title="false"]`

The WordPress tab in ScheduleBuilder creates the appropriate shortcode for the chosen language and title visibility, so most users do not need to enter attributes manually.

== Installation ==

1. Install and activate **ScheduleBuilder** from the WordPress plugin directory, or upload the plugin folder to `/wp-content/plugins/`.
2. Create and publish a schedule at [ScheduleBuilder](https://schedulebuilder.net/).
3. In the builder, select **Share → WordPress**.
4. Copy the shortcode and paste it into the post or page where the schedule should appear.
5. Publish or update your post.

== Frequently Asked Questions ==

= Where do I find the schedule ID? =

Open your published schedule in ScheduleBuilder, choose **Share**, then open the **WordPress** tab. Copying the shortcode is recommended because it includes the correct published schedule ID.

= Why is my schedule not shown? =

Only published schedules can be embedded. Return to ScheduleBuilder, publish the schedule from the Share dialog, then copy the fresh shortcode from the WordPress tab.

= Do I need to configure plugin settings? =

No. The plugin has no settings page. Update the schedule in ScheduleBuilder, and use the WordPress tab there to choose the language or whether to show the schedule title.

= Will the embed resize on mobile devices? =

Yes. The plugin loads ScheduleBuilder’s lightweight embed client, which adjusts the iframe height as the schedule’s content and screen size change.

= Can I keep using the old shortcode? =

Yes. Version 2 continues to register `[sbo id="..."]` for existing posts. For new embeds, use `[schedule_builder id="..."]` or the ScheduleBuilder block.

== Screenshots ==

1. A ScheduleBuilder schedule embedded in a WordPress page.
2. The ScheduleBuilder Gutenberg block with the published schedule ID field.
3. The WordPress tab in ScheduleBuilder’s Share dialog.

== Changelog ==

= 2.0.0 =
* Complete rebuild for the current ScheduleBuilder embed service.
* Added a responsive iframe embed with automatic height updates.
* Added the ScheduleBuilder Gutenberg block.
* Added the `[schedule_builder]` shortcode while retaining `[sbo]` compatibility.
* Removed the legacy settings screen; schedule customization now happens in ScheduleBuilder.

= 1.0.1 =
* Fixed usage of non-minified CSS and JavaScript files.
* Fixed schedule background color not being used.
* CSS updates.

= 1.0 =
* Initial plugin release.
