=== Dynamic llms.txt Generator ===
Contributors: colorwhistlecw
Tags: llms, txt, SEO, sitemap, cache
Requires at least: 5.5
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

The Dynamic llms.txt Generator plugin dynamically generates a structured `llms.txt` file in your WordPress root directory. The file provides detailed page metadata, headings structure, and main content for each page (posts, pages, products, or any custom post types) in a format optimized for LLM training and analysis, based on admin-configurable settings and efficient caching.

= Features =
* Admin UI: Configure which post types, maximum posts per type, word limits, meta/excerpt/taxonomy inclusion, SEO options, and update frequency.
* Structured Output: Generates detailed page sections with metadata, headings structure, and main content for each page.
* Caching: Uses a custom database table for fast, efficient content retrieval.
* Physical File: Writes `llms.txt` to the WordPress root directory.
* SEO & Sitemap: Optionally adds a noindex header and integrates with RankMath/Yoast sitemaps.
* Scheduled or On-Demand: Updates file on post changes, via cron, or manually.
* WooCommerce Support: Includes SKU and price for products if WooCommerce is active.
* Translation Ready: Fully i18n compatible.

== Installation ==
1. Upload the plugin folder to `/wp-content/plugins/dynamic-llms-txt-generator/`
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to Tools → Dynamic llms.txt to configure settings.

== Usage ==
* Configure which post types and content options to include.
* Choose update frequency: immediate (on change), daily, or weekly.
* Access your generated file at `https://yoursite.com/llms.txt`
* If enabled, `llms.txt` will be added to your sitemap (RankMath/Yoast supported).

== Frequently Asked Questions ==
= Where is the llms.txt file located? =
It is generated in your WordPress root directory (same as wp-config.php).

= How is the file updated? =
Based on your settings: on post changes, via scheduled cron, or manually from the admin page.

= Is it SEO safe? =
Yes. You can add a noindex header and control sitemap inclusion.

= Does it support WooCommerce? =
Yes, product SKUs and prices are included if WooCommerce is active.

== Changelog ==

= 1.0.1 =
* WordPress version compatibility update.

= 1.0.0 =
* Initial release: full admin UI, caching, cron, SEO integration, and structured llms.txt output.

== Upgrade Notice ==
* Always back up your site before updating.
* After updating, review your settings under Tools → Dynamic llms.txt.

== Screenshots ==

1. Screenshot of the llms.txt generator settings.

== Support ==

If you have any issues or need help, please visit our support forum or contact us at creators@colorwhistle.com.
