=== ShiftSee Embeds ===
Contributors: shiftsee
Tags: shifts, scheduling, embed, shortcode, hiring
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
Stable tag: 1.0.0
License: MIT
License URI: https://opensource.org/licenses/MIT

Drop-in shortcodes for ShiftSee profile cards, open-shift listings, and review walls.

== Description ==

ShiftSee is the open shift marketplace + scheduling platform. This plugin gives WordPress sites three shortcodes that render ShiftSee widgets inline:

* `[shiftsee_profile slug="..."]` - profile card linking to a business or shifter's public ShiftSee page
* `[shiftsee_shifts slug="..."]` - the business's currently open broadcast shifts
* `[shiftsee_reviews slug="..."]` - recent reviews with rating + body

All widgets render via iframe + auto-resize, so partner CSS never collides with ours. Light + dark themes via the `theme` attribute.

== Quick start ==

1. Install and activate the plugin.
2. On any post or page, paste a shortcode:

   `[shiftsee_profile slug="acme-bar"]`

   `[shiftsee_shifts slug="acme-bar" theme="dark"]`

   `[shiftsee_reviews slug="acme-bar"]`

3. The first time a shortcode of a given type appears on a page, the matching script tag loads from `https://shiftsee.com/embed/v1/`. Subsequent shortcodes of the same type reuse the loaded script (one network request per widget type per page).

== Shortcode reference ==

= [shiftsee_profile] =

| Attribute | Default | Notes |
| --- | --- | --- |
| `slug` | (required) | The slug from the public profile URL |
| `kind` | `b` | `b` (business) or `s` (shifter) |
| `theme` | `light` | `light` or `dark` |

= [shiftsee_shifts] =

| Attribute | Default | Notes |
| --- | --- | --- |
| `slug` | (required) | Business slug |
| `theme` | `light` | `light` or `dark` |

= [shiftsee_reviews] =

| Attribute | Default | Notes |
| --- | --- | --- |
| `slug` | (required) | Subject slug |
| `kind` | `b` | `b` (business) or `s` (shifter) |
| `theme` | `light` | `light` or `dark` |

== Customization ==

Override the script origin (for staging or self-hosted ShiftSee deploys):

`add_filter('shiftsee_embed_origin', function () {
    return 'https://shiftseestaging.com';
});`

== Changelog ==

= 1.0.0 =
* Initial release. Three shortcodes: profile, shifts, reviews.
