Mark Bogner's Story Prompts — WordPress Plugin

A lightweight WordPress plugin that lets visitors pick a story genre from a dropdown and instantly receive a 1–2 sentence writing prompt generated by the Anthropic Claude API.

----------------------------------------

== Installation

1. Upload the Mark-Story-Prompt-Generator folder to /wp-content/plugins/.
2. Activate the plugin through Plugins → Installed Plugins in WordPress admin.
3. Go to Story Prompt → Settings and enter your Anthropic API key.
4. Embed the widgets anywhere using the shortcodes below.

----------------------------------------

== Getting an Anthropic API Key

1. Visit https://console.anthropic.com/
2. Sign up or log in, then go to API Keys.
3. Create a new key, copy it, and paste it into Story Prompt → Settings.

----------------------------------------

== Shortcode Usage

Basic:
[story_prompt_generator]

With custom text:
[story_prompt_generator title="Spark Your Story" button_text="Inspire Me"]

=== Attributes

| Attribute     | Default                   | Description               |
|---------------|---------------------------|---------------------------|
| title       | Story Prompt Generator    | Widget heading text       |
| button_text | Generate Prompt           | Button label              |

----------------------------------------

== Supported Genres

Literary Fiction, Fantasy, Science Fiction, Horror, Mystery & Thriller, Romance, Historical Fiction, Adventure, Crime & Noir, Magical Realism, Dystopian, Comedy & Satire, Western, Young Adult, Children's Story.

----------------------------------------

== File Structure

Mark-Story-Prompt-Generator/
├── Mark-Story-Prompt-Generator.php   # Main plugin file
├── assets/
│   ├── style.css                     # Widget styles
│   ├── script.js                     # Story prompt AJAX logic
│   ├── signup.js                     # Mailing list signup AJAX logic
│   ├── color-admin.css               # Color customizer admin styles
│   └── color-admin.js                # Color customizer live preview logic
├── README.md
└── README.txt

----------------------------------------

== Requirements

- WordPress 5.8+
- PHP 7.4+
- An active Anthropic API key

----------------------------------------

== Author

Mark Bogner

----------------------------------------

== License

GPL-2.0+
