=== Crafted Call ===
Contributors: craftedcall
Tags: art gallery, calls for art, exhibitions, artwork, artists
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Show your Crafted Call calls, exhibitions, members and events on your WordPress site with Gutenberg blocks.

== Description ==

This plugin is a front end for the Crafted Call service. It shows content from your Crafted Call account on your own WordPress pages. Blocks render on your server as ordinary HTML, so your theme styles them and search engines read them.

**Blocks:**

* **Calls List** - Your open calls for artists, with deadline, fee and an Apply button
* **Call Detail** - One call with its full details
* **Current Exhibition** - The exhibition running now (or the next to open), or one you pick, with its artwork
* **Artwork Detail** - One artwork with images, price and a Buy on Crafted Call link
* **Events List** - Upcoming events and classes
* **Member Directory** - The members your staff have added to the directory, A to Z
* **Join or Renew** - A button to your membership page, or a card for each membership tier with its price and a Join button
* **Artist Profile** and **Artist Works** - One artist and their work

**How it works:**

* Paste one publishable key; the plugin finds your organization from it
* Calls, exhibitions and artworks, events and classes, and member profiles open on your own site
* Entering a call, buying, joining and registering all happen on Crafted Call
* Responses are cached, and if Crafted Call cannot be reached your pages keep showing the last content they loaded
* Blocks inherit your theme's fonts and colours

== Installation ==

1. In WordPress, go to Plugins > Add New > Upload Plugin and upload the zip from craftedcall.com/wordpress
2. Activate the plugin
3. In Crafted Call, open Admin > Settings > Embed and create a publishable key
4. In WordPress, go to Settings > Crafted Call, paste the key and save. The page shows "Connected to" your organization's name
5. Click Create my gallery pages to add your calls, exhibitions, events, members and membership pages, or add Crafted Call blocks to your own pages in the block editor

== Frequently Asked Questions ==

= Do I need a Crafted Call account? =

Yes. The plugin shows content from your Crafted Call account. Sign up at craftedcall.com.

= Which key do I use? =

A publishable key from Admin > Settings > Embed. It can only read your public content. The plugin never needs a secret key.

= Does this handle payments? =

No payment happens on your site. Buy, Apply, Register and Join links open the matching page on Crafted Call, which handles payment.

= How do I customize the appearance? =

The blocks take their fonts, colours and spacing from your theme. Block themes, Astra and GeneratePress are read automatically. Each block also has layout settings. Developers can change any colour or font token with the `craftedcall_theme_tokens` filter.

= Can I remove "Powered by Crafted Call"? =

On the Premier plan, Settings > Crafted Call has a checkbox to hide it. On other plans it shows under each block.

= How often is data refreshed? =

Every 5 minutes by default. Change it under Settings > Crafted Call, or click Clear Cache to refresh at once.

= What happens if Crafted Call is down? =

Each block shows the last content it loaded. Editors see a note saying when that content was fetched. Visitors never see an error message.

= What PHP version do I need? =

PHP 7.4 or higher. PHP 8.0 or higher is recommended.

= Will this work with my page builder (Elementor, Divi, etc.)? =

The blocks are Gutenberg blocks and work in the block editor. Page builders that can embed Gutenberg blocks can show them, but you configure each block in the block editor.

= Can I display content from multiple organizations? =

No. One WordPress site shows one organization: the one your key belongs to.

= How do I report a bug or request a feature? =

Email support@craftedcall.com with your WordPress version, PHP version, plugin version and a description of the issue.

== Privacy ==

The plugin calls the Crafted Call API from your web server to fetch your gallery's public content. It sends:

* Your publishable key, to identify your organization
* The content it asks for (calls, exhibitions, artworks, events, members, artists)
* A User-Agent naming the plugin version

The plugin collects no visitor data. Links to Crafted Call carry `src=wordpress` and your site's host name so Crafted Call can tell which site a visitor came from.

The plugin stores API responses in your WordPress database: as transients that expire with the cache duration, and as one fallback copy per block configuration that the plugin deletes when you uninstall it.

See the [Crafted Call Privacy Policy](https://craftedcall.com/privacy).

== Screenshots ==

1. Calls List block showing open calls in grid layout
2. Current Exhibition block with its artwork
3. Member Directory block
4. Plugin settings page connected to an organization
5. Block editor with Crafted Call blocks

== Changelog ==

= 1.1.0 =
* Calls, exhibitions and artworks, events and classes, and member profiles now open on your own site. Visitors go to Crafted Call only to enter, buy, register or join
* Join or Renew can show each membership tier with its price and its own Join button
* A Create my gallery pages button under Settings > Crafted Call adds your calls, exhibitions, events, members and membership pages in one step. Clicking it again never makes duplicates
* Each of those pages is also a pattern under Crafted Call when you add a new page
* Artist names no longer link away to Crafted Call, and artworks open on your exhibitions page when you have one
* With Yoast SEO or Rank Math, a shared link to an item previews that item's title and page
* Item pages wait up to 6 seconds for their item, and one slow answer from Crafted Call never takes other pages offline. The plugin pauses for 15 seconds only when Crafted Call is down

= 1.0.0 =
* Initial release
* Calls List, Call Detail, Current Exhibition, Artwork Detail, Events List, Member Directory, Join or Renew, Artist Profile and Artist Works blocks
* Setup with one publishable key
* Cached responses with a last-good fallback when Crafted Call is unreachable

== Upgrade Notice ==

= 1.1.0 =
Items can now open on your own site. Go to Settings > Crafted Call and click Create my gallery pages, or pick an existing page for each kind of item under Site pages.

= 1.0.0 =
Initial release of the Crafted Call WordPress plugin.
