=== OptimizIA Lite ===
Contributors: abadino
Tags: seo, schema, metadata, breadcrumbs, woocommerce
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.10
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Technical SEO essentials for WordPress: SEO templates, indexability, schema, Open Graph and breadcrumbs without external services.

== Description ==

OptimizIA Lite is a lightweight technical SEO plugin for WordPress sites, content portals, directory-style websites and WooCommerce stores.

The WordPress.org edition contains an unrestricted set of core SEO features. It does not use license gates, private update servers, telemetry, remote executable code or required external services.

= Included features =

* SEO title and meta description templates.
* Home, posts, directory items, directory taxonomies and WooCommerce template support.
* Per-content SEO title and meta description overrides.
* Per-content noindex override.
* Open Graph and X Card metadata.
* WordPress robots controls for search, filtered URLs, archives and attachment pages.
* Canonical controls for paginated archives and WooCommerce filtered URLs.
* Thin-tag and directory-term indexability thresholds.
* JSON-LD structured data for Organization, WebSite, Article/NewsArticle, Product, ImageObject and BreadcrumbList contexts.
* Directory custom post type and taxonomy mapping, including automatic BuscaguIA defaults when those types exist.
* Breadcrumb shortcode: `[optimizia_breadcrumbs]`.
* Local configuration only; no analytics or tracking is sent to the plugin author.

= Privacy and external services =

OptimizIA Lite does not send site content, user information or usage analytics to the plugin author or to a required third-party service.

Open Graph metadata and JSON-LD are generated locally by WordPress. The plugin does not download executable code or updates from third-party servers. Updates for this edition are expected to be delivered through WordPress.org.

== Installation ==

1. Upload the `optimizia-lite` folder to `/wp-content/plugins/`, or install the ZIP from **Plugins > Add New > Upload Plugin**.
2. Activate **OptimizIA Lite**.
3. Open **Settings > OptimizIA Lite**.
4. Review the General, Templates, Indexing and Schema tabs.
5. If you use a directory custom post type, map its post type and taxonomies in the General tab.
6. Optionally place `[optimizia_breadcrumbs]` where you want a visible breadcrumb trail.

== Frequently Asked Questions ==

= Does OptimizIA Lite require an API key? =

No. The Lite edition included in WordPress.org does not require an API key or a license key.

= Does the plugin contact an external licensing or update server? =

No. This Lite package contains no private license manager or private updater. WordPress.org handles updates for the directory edition.

= Can I use it with WooCommerce? =

Yes. The Lite edition includes SEO template handling and structured data support for WooCommerce product and product-category contexts when WooCommerce is active.

= Can I use it for a business directory? =

Yes. You can map a custom post type plus category, city and zone taxonomies. Common BuscaguIA post type and taxonomy names are detected automatically when available.

= What happens if the full OptimizIA plugin is active too? =

OptimizIA Lite stays inactive while the full edition is active, preventing duplicate SEO metadata and schema output.

= Does uninstalling the plugin delete my SEO fields? =

No. Uninstall removes the Lite settings option but intentionally preserves per-content SEO metadata so editorial work is not destroyed.

== Screenshots ==

1. General SEO output and directory mapping.
2. SEO template configuration.
3. Indexability and canonical controls.
4. Structured data options.
5. Per-content SEO overrides.

== Changelog ==

= 1.0.10 =
* WordPress.org compliance: moved admin CSS and JavaScript to dedicated enqueued asset files.
* Removed direct admin CSS and executable JavaScript blocks from PHP templates.
* Replaced remaining presentational inline styles with CSS classes and enqueued stylesheets.
* Output JSON-LD through the WordPress inline script tag API instead of hard-coded script markup.

= 1.0.9 =
* WordPress.org cleanup for the Help tab: prefixed template variables and added the required translators comment.

= 1.0.8 =
* Added a complete Help tab adapted from OptimizIA Pro for Lite features, with search, panel guide, workflows, FAQ and troubleshooting.

= 1.0.7 =
* Admin layout: force the OptimizIA Lite settings screen to use the full available viewport width even when another admin plugin reserves lateral space dynamically.

= 1.0.6 =
* Removed the generic WordPress `.wrap` class from the settings container and isolated the admin layout so every tab panel can use the full available admin width on large screens.

= 1.0.5 =
* Expanded every admin tab panel and field to the full available width, including large screens.
* Replaced multi-column settings grids with a single 100% width column.
* Hardened the admin layout against width constraints injected by WordPress or other plugins.

= 1.0.3 =
* Forced the root OptimizIA Lite admin wrapper to use the full available wpbody-content width, overriding inherited WordPress or third-party max-width/margin rules.
* Forced hero, tabs, forms, cards and grids to remain 100% wide on large screens, with safe right padding to prevent horizontal overflow.

= 1.0.2 =
* Expanded every OptimizIA Lite admin tab panel to the full available WordPress admin width, including large desktop screens.
* Removed the previous 1100px panel width limit and normalized form, tab, grid and field box sizing.

= 1.0.1 =
* Reworked read-only request handling to avoid direct superglobal processing warnings.
* Removed unnecessary review meta filtering, documented bounded relationship lookups, and replaced the directory tax_query path with term relationship resolution.
* Primed comment metadata before reading review ratings and reduced review query overhead.
* Kept directory ItemList schema generation while resolving term object IDs through WordPress term relationships.

= 1.0.0 =
* First WordPress.org-ready Lite release based on the OptimizIA 1.10.11 core.
* Removed commercial licensing and private updater code.
* Removed AI, PageSpeed, profiler/monitor, SSL/ACME, continuity, advanced database, redirects and task modules from the Lite package.
* Added a standalone Lite settings screen and per-content SEO fields.
* Added a unique Lite namespace and safe coexistence behavior with the full OptimizIA edition.
* Added an English WordPress.org readme, matching stable tag and a maximum of five directory tags.
