=== Course Studio ===
Contributors: cforjstudio
Tags: course, elearning, scorm, interactive, gutenberg-block
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed interactive courses, onboarding flows, quizzes, and training directly into WordPress. No coding required.

== Description ==

Embed interactive courses, onboarding flows, quizzes, and training directly into WordPress.

Course Studio lets you create engaging learning experiences in cforj Studio and publish them on any WordPress page using a Gutenberg block, shortcode, or simple embed link.

**Perfect for:**

* Employee onboarding
* Customer education
* Product training
* Partner academies
* Interactive tutorials
* Certifications and assessments

No coding required.

= Why use Course Studio? =

Unlike traditional LMS plugins, Course Studio focuses on interactive learning experiences:

* Quizzes
* Flashcards
* Branching scenarios
* Drag & drop exercises
* Hotspots
* Interactive simulations

All courses are responsive and automatically resize to fit your WordPress layout.

= Features =

* Gutenberg block with live preview
* Shortcode support
* Paste a course link with oEmbed
* Auto-resizing embeds without scrollbars
* Multiple courses on the same page
* Works with any WordPress theme
* Track completions and engagement in cforj
* Export courses to SCORM or xAPI when needed

= How it works =

1. Create a free account at cforj Studio
2. Build your course or onboarding flow
3. Insert it into WordPress with one click
4. Publish interactive learning anywhere on your site

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/course-studio/`, or install via Plugins → Add New → Upload.
2. Activate the plugin from the Plugins screen.
3. Go to **Settings → Course Studio** and click "Open Course Studio dashboard" to sign in. Your WordPress install is linked to your cforj account automatically.
4. Insert courses using the Gutenberg block or shortcode.

== Frequently Asked Questions ==

= Do I need a Course Studio account? =

Yes. Courses are hosted on Course Studio. A free Community account is enough to start embedding.

= Is this plugin free? =

Yes. The plugin is GPL-2.0-or-later. Your Course Studio account plan is separate — there is a permanently free tier.

= Does it work with the classic editor? =

Yes. Use the shortcode: `[course_studio id="YOUR_COURSE_ID"]`.

= How do I get a course ID? =

Open your course in Course Studio — the ID appears in the URL and on the course card in your dashboard.

= Does it track completions? =

Completions are tracked inside Course Studio. Open your course's Analytics dashboard to see results. SCORM exports also report progress to any SCORM-compatible LMS.

= What data is sent to Course Studio? =

Course Studio only receives the course ID you embed. Visitor identifiers are not sent unless you explicitly pass a learner ID via the SDK API.

== Screenshots ==

1. Gutenberg block with course picker
2. Course Studio settings page in WordPress admin
3. An embedded course rendered on the frontend

== Changelog ==

= 0.1.0 =
* Initial release
* Gutenberg block
* `[course_studio]` shortcode
* oEmbed provider for cforj.studio share links
* Integration dashboard — single sign-in from WP admin

== Upgrade Notice ==

= 0.1.0 =
First public release.

== External services ==

This plugin connects to Course Studio (https://cforj.studio), operated by cforj, to embed interactive courses and SCORM lessons.

**What data is sent, and when**

* When a visitor loads a page with an embedded course, their browser downloads the Course Studio Embed SDK from `https://app.cforj.studio/api/embed-sdk/coursestudio.umd.js` and the course content from `https://app.cforj.studio/embed/<course_id>`. Standard HTTP request metadata (IP address, user agent, referer) is sent as part of this request.
* When you click "Open Course Studio dashboard" in WordPress admin, a new tab opens at `https://app.cforj.studio/integration` with your WordPress user ID and site URL as URL parameters so the install can be linked to your Course Studio account.
* The plugin does not transmit post content, visitor emails, or any other personal data.

**Policies**

* Terms of Service: https://cforj.studio/terms
* Privacy Policy: https://cforj.studio/privacy

By embedding a course you agree to these terms on behalf of your site visitors.
