=== Spotlight AI Search Visibility ===
Contributors: getspotlight
Tags: ai search, chatgpt, ai seo, aeo, geo
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Publish AI-optimized content to WordPress that helps your site get cited by ChatGPT, Google AI Overviews, Gemini, Perplexity, Claude, and Copilot.

== Description ==

This plugin connects your WordPress site to your Spotlight account and allows you to publish AI-optimized content directly into your blog.

If you don't have a Spotlight account yet, you can learn more and sign up at [https://get-spotlight.com](https://get-spotlight.com).

The content is designed to improve how large language models (LLMs) understand, select, and cite your pages in AI-powered search experiences.

== Built for AI search, not just traditional SEO ==

Unlike classic SEO plugins, this plugin focuses on AI search visibility, including:

* ChatGPT
* Google AI Overviews
* Google AI Mode
* Gemini
* Perplexity
* Claude
* Microsoft Copilot
* Grok

== How it works ==

* Securely connects to your Spotlight account
* Pushes content from Spotlight directly into WordPress
* Automatically applies optimal schema markup to each page
* Improves entity clarity, topical focus, and citation readiness

No manual formatting or schema configuration required.

== Key features ==

* One-click publishing from Spotlight to WordPress
* Content optimized for AI search and LLMs
* Automatic schema markup (Article, FAQ, HowTo, and others where relevant)
* Works alongside existing SEO plugins
* Designed for publishers, marketers, and content teams

== Who this plugin is for ==

* Publishers who want their content cited by AI assistants
* SEO teams adapting to AI-powered search
* WordPress sites investing in AEO and GEO strategies
* Brands using Spotlight to improve AI visibility

== Does this guarantee citations? ==

No plugin can guarantee citations by AI systems.
This plugin helps optimize content for AI search, increasing the likelihood that your pages are selected and referenced by LLMs.

== Installation ==

1. Upload the `spotlight-ai-search-visibility` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to Settings → Spotlight AI Search Visibility to get your API key
4. Copy the API key and use it in your Spotlight dashboard

== Frequently Asked Questions ==

= Does this replace my SEO plugin? =
No. It complements traditional SEO plugins by focusing specifically on AI-powered search and LLM visibility.

= Do I need a Spotlight account? =
Yes. A Spotlight account is required to publish AI-optimized content using this plugin.

= Does this guarantee my site will be cited by ChatGPT or Google AI? =
No. AI platforms control citations. This plugin helps optimize content structure and clarity to increase citation likelihood.

= How do I get my API key? =
Go to WordPress Admin → Settings → Spotlight AI Search Visibility. Your API key will be displayed there. You can copy it or regenerate it if needed.

= What schema types are supported? =
The plugin supports Article, BlogPosting, NewsArticle, HowTo, FAQPage, Product, Review, Recipe, VideoObject, and Organization schema types.

= Is my content secure? =
Yes, the plugin uses API key authentication. Only requests with a valid API key can create posts on your site.

= Can I customize the schema markup? =
Yes, the plugin provides a filter `spotlight_ai_visibility_schema` that allows you to modify the schema output.

== Screenshots ==

1. AI visibility dashboard showing how AI systems understand your content
2. Publishing AI-optimized content from Spotlight to WordPress
3. Automatic schema markup applied to published pages
4. Content optimization signals for AI search engines

== Changelog ==

= 1.0.5 =
* Added: Support for uploading a featured image from Spotlight as the WordPress post's featured image when available.

= 1.0.4 =
* Added: Support for complete JSON-LD schema markup from Spotlight webapp
* Improved: Plugin now accepts and outputs JSON-LD directly, making it generic and future-proof
* Improved: WordPress-specific data (URL, dates, publisher) is automatically added when outputting schema
* Improved: Plugin no longer needs updates for new schema types or properties - works with any JSON-LD structure
* Fixed: Maintains backward compatibility with legacy schema_type/schema_data format

= 1.0.3 =
* Fixed: List items with continuation lines (indented text) now properly stay together in the same list block
* Fixed: Indented continuation text after list items is now correctly recognized as part of the list item
* Improved: List parsing now handles multi-line list items correctly

= 1.0.2 =
* Fixed: Consecutive numbered list items now stay in the same block instead of being split into separate blocks
* Fixed: Empty lines between list items no longer break the list prematurely
* Improved: List parsing now peeks ahead to determine if list should continue

= 1.0.1 =
* Fixed: Ordered lists now display correct numbering (1, 2, 3...) instead of all items showing as "1"
* Improved: Updated to use modern WordPress Gutenberg nested list-item blocks

= 1.0.0 =
* Initial release
* Spotlight integration
* AI-optimized content publishing
* Automatic schema markup
* Gutenberg block format support
* One-click publishing from Spotlight

== Upgrade Notice ==

= 1.0.4 =
Major improvement: Plugin now supports complete JSON-LD from Spotlight, making it generic and future-proof. No plugin updates needed for new schema types. Update recommended.

= 1.0.3 =
Fixes multi-line list items - continuation lines are now properly included. Update recommended.

= 1.0.2 =
Fixes list block grouping - consecutive list items now stay together. Update recommended.

= 1.0.1 =
Fixes ordered list numbering issue. Update recommended for all users.

= 1.0.0 =
Initial release of Spotlight AI Search Visibility plugin.
