=== JageJobs AI Writer for Travel ===
Contributors: jagejobs
Tags: ai, content, openai, gpt, generator
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 2.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate engaging content for posts, pages, and travel trips using AI. Works with classic editor and Gutenberg.

== External Services ==

This plugin connects to the OpenAI API to generate content.

**What data is sent:**
- Post title
- Post content (or itinerary/features for travel trips)
- Post excerpt (if available)

**When data is sent:**
When you click the "Generate Content" button while editing a post or trip.

**Why data is sent:**
To generate AI-powered content based on your existing content.

**Service provider:**
OpenAI, Inc.

**Links:**
- OpenAI Terms of Service: https://openai.com/policies/terms-of-use/
- OpenAI Privacy Policy: https://openai.com/policies/privacy-policy/
- OpenAI API Documentation: https://platform.openai.com/docs/

**Important:** You must provide your own OpenAI API key. Please review OpenAI's terms and pricing before using this plugin.

== Description ==

JageJobs AI Writer helps you create compelling content in seconds. Perfect for:

* WordPress posts and pages
* WP Travel Engine trips (extracts itinerary and features automatically)
* Any custom post type

Simply enter your OpenAI API key and click "Generate Content" – the AI does the rest!

= Features =

* **Works with all post types** – Posts, pages, custom post types, and WP Travel Engine trips
* **Smart extraction** – Automatically pulls itinerary and features from travel trips
* **One-click generation** – Get content instantly
* **Copy to clipboard** – Use generated content anywhere
* **Floating button** – Always accessible
* **Keyboard shortcut** – Ctrl+Shift+G for quick generation

= Why Use JageJobs AI Writer? =

* Save hours of writing time
* Get fresh, unique content for every post
* Perfect for travel websites, blogs, and any WordPress site
* No coding required

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/jagejobs-ai-writer-travel`
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Go to Settings → JageJobs AI Writer
4. Enter your OpenAI API key
5. Edit any post/page/trip and click "Generate Content"

== Frequently Asked Questions ==

= Do I need an OpenAI API key? =

Yes. The plugin connects to OpenAI's API to generate content. You can get an API key from platform.openai.com (free trial credits available).

= Does this work with WP Travel Engine? =

Yes! The plugin automatically detects travel trips and extracts itinerary and features to generate better content.

= Does this work with Gutenberg? =

Yes, the plugin works with both Gutenberg (block editor) and the classic editor.

= Is this plugin free? =

Yes, the core plugin is free. It requires an OpenAI API key which you manage yourself.

== Screenshots ==

1. The settings page where you enter your API key
2. The generate button in the post editor
3. Example of AI-generated content for a travel trip
4. Example of AI-generated content for a blog post

== Changelog ==

= 2.0.0 =
* Added support for all post types (posts, pages, custom post types)
* Improved AI prompt for varied, non-cliché openings
* Added floating button and keyboard shortcut (Ctrl+Shift+G)
* Better error handling and user feedback

= 1.0.0 =
* Initial release with WP Travel Engine support
* AI-powered trip overview generation

== Upgrade Notice ==

= 2.0.0 =
Now works with all post types! Update for full functionality.