=== AI Content Optimizer ===
Contributors: panezio923  
Donate link: https://ko-fi.com/panezio  
Tags: AI, content, SEO  
Requires at least: 6.6  
Tested up to: 6.8  
Requires PHP: 7.0  
Stable tag: 1.0.0  
License: GPLv2 or later  
License URI: https://www.gnu.org/licenses/gpl-2.0.html  

A WordPress plugin using AI to suggest SEO, readability, keyword, and engagement improvements, with a user-friendly HTML view for suggestions.

== Description ==

AI Content Optimizer is a powerful WordPress plugin designed to help you improve your content with AI-generated suggestions for SEO, readability, and engagement. The plugin analyzes your content and provides valuable suggestions, which you can view directly in the editor or in a new, fully styled HTML page.

== Features ==

* **AI-Driven Analysis** – Uses AI to analyze content and provide suggestions for SEO, readability, keyword usage, and engagement.
* **Customizable AI Settings** – Configure the API key, endpoint, model, temperature, max tokens, and prompt messages directly from the WordPress admin.
* **In-Editor Display** – View AI suggestions directly within the WordPress editor.
* **Styled HTML Preview** – Open suggestions in a new, formatted HTML page for easy reading.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/` directory.
2. Activate the plugin through the "Plugins" menu in WordPress.
3. Go to **Settings > AI Content Optimizer** to configure your API key and other settings.

== Usage ==

1. Write your content in the WordPress editor.
2. Click the **Analyze Content** button to retrieve AI-generated suggestions.
3. View suggestions in the editor or in a separate HTML preview page.

== Configuration ==

* **API Key** – Enter your API key from the AI provider (e.g., OpenAI).
* **Endpoint** – Specify the AI API endpoint URL.
* **Model** – Choose the AI model (e.g., `gpt-3.5-turbo`).
* **Temperature** – Adjust the temperature (creativity level) for AI responses.
* **Max Tokens** – Set the maximum token length for AI responses.
* **System Message** – Define the initial system prompt to guide the AI.
* **User Message** – Set the user prompt format for content analysis.

== Frequently Asked Questions ==

= How do I obtain an API key? =  
You need an API key from an AI provider like OpenAI. Visit their website, create an account, and obtain an API key to use with this plugin.

= Can I adjust the AI suggestions? =  
Yes, you can configure the AI’s behavior by adjusting the temperature, max tokens, and prompt messages in the plugin settings.

== Screenshots ==

1. Plugin settings page
2. AI suggestions shown in the WordPress editor
3. Styled HTML preview of suggestions

== Changelog ==

= 1.0.0 =  
* Initial release of AI Content Optimizer  
* Includes AI-driven content analysis with configurable settings and a styled HTML preview feature

== Upgrade Notice ==

= 1.0.0 =  
Initial release of AI Content Optimizer. Set up your API key and configuration in the plugin settings for best results.

== License ==

This plugin is licensed under the GPLv2 or later.
