=== LabVaxe ===
Contributors: labvaxe, kisyamalgavisya
Donate link: https://labvaxe.com
Tags: seo, schema, open graph, hreflang, performance
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Modular WordPress platform: enable only the modules you need (SEO/Head output, per-post metadata, JSON-LD, hreflang, and head cleanup).

== Description ==

LabVaxe is a lightweight, modular platform plugin. It adds a LabVaxe menu in wp-admin where you can enable/disable modules independently.
After activation, all modules are disabled by default until you enable them in LabVaxe.

Included modules:

= SEO & Head Studio =
A “no-bloat” head manager with global settings + per-page overrides:
* Document title override (via WordPress title filters).
* Meta description, canonical, robots meta.
* Open Graph tags (og:title, og:description, og:image, og:url, og:locale, etc.).
* Twitter Cards tags (twitter:card, twitter:title, twitter:description, twitter:image, etc.).
* Identity / web-app tags: favicon links, Apple touch icon, manifest URL, theme-color.
* Per-post metabox on all public post types (except attachments):
  - SEO title / description / canonical override
  - Robots mode override (default / index,follow / noindex,follow / noindex,nofollow)
  - OG/Twitter overrides
  - Per-page custom JSON-LD (application/ld+json)

Optional extras:
* Hreflang output from a simple language map.
* Tracking toggles (opt-in):
  - Google Analytics 4 (GA4)
  - Google Tag Manager (GTM)
  - Meta Pixel
* Optional GTM/Meta Pixel noscript body output (with automatic wp_footer fallback when themes do not call wp_body_open).

= Head Cleaner =
Performance-focused cleanup for head output and certain core assets:
* Disable emoji detection scripts/styles.
* Disable feed links, REST discovery links, oEmbed discovery links.
* Disable RSD link, shortlink, wp_generator meta.
* Optional removal of core rel=canonical output (use with care).
* Optional removal of the core “skip to content” link (accessibility impact—use only if your theme replaces it).
* Optional cleanup of inline block CSS handles (may affect block styling—use only with a custom theme).
* Optional disable of WordPress `wp_img_tag_add_auto_sizes` behavior (can reduce responsive image optimization quality).

Important: Head Cleaner is intentionally “sharp”. If you disable something your theme/site relies on, you can break UX, styling, embeds, feeds, accessibility, or SEO. Enable only what you understand.

== Installation ==

1. Upload the plugin folder to /wp-content/plugins/ (or install via ZIP).
2. Activate “LabVaxe”.
3. Go to wp-admin → LabVaxe.
4. In LabVaxe → Modules, enable only the modules you need.
5. Configure each enabled module in its submenu page.

== Frequently Asked Questions ==

= Does LabVaxe replace Yoast/RankMath/etc.? =
Not by default. LabVaxe is meant for lean setups where you control output. You can use it instead of a large SEO suite if you only need head tags + per-page overrides + JSON-LD.

= Will this conflict with other SEO plugins? =
It can if multiple plugins output the same tags (title, canonical, OG, robots, etc.). Use one “source of truth” for head output.

= I activated LabVaxe, but nothing changed. Why? =
By design, modules are disabled by default. Open wp-admin → LabVaxe and enable the module(s) you want to run.

= How do I add JSON-LD to a specific page? =
Edit the page/post → LabVaxe metabox → “Schema” tab:
1) enable JSON-LD for the page
2) paste valid JSON (without <script> tags)

= Can I enable tracking without IDs? =
No. Tracking scripts are only output when:
* “Enable tracking (global)” is on
* the specific tracker is enabled (GA4/GTM/Meta Pixel)
* the corresponding ID is set

= Does LabVaxe implement cookie consent? =
No. If you enable tracking, you are responsible for consent banners and legal compliance in your country.

== External Services ==

LabVaxe itself stores only plugin settings (wp_options) and per-post metadata (postmeta) that you enter in wp-admin.

However, the “SEO & Head Studio” module can load external services if you explicitly enable them. All tracking options are disabled by default.
A tracker is output only when:
* “Enable tracking (global)” is enabled
* the specific tracker is enabled (GA4/GTM/Meta Pixel)
* the tracker ID is set

When enabled, the plugin may load scripts/iframes from these services:

= Google Analytics 4 (GA4) =
* Loaded from:
  - https://www.googletagmanager.com/gtag/js
  - https://www.google-analytics.com/
* What may be sent:
  - page URL, referrer, device/browser info, events you configure, cookies/identifiers set by Google.
* Provider policies:
  - Google Privacy Policy: https://policies.google.com/privacy

= Google Tag Manager (GTM) =
* Loaded from:
  - https://www.googletagmanager.com/
  - https://www.googletagmanager.com/ns.html (optional noscript iframe when enabled)
* What may be sent:
  - depends on your GTM container configuration (can include page URL, events, cookies, etc.).
* Provider policies:
  - Google Privacy Policy: https://policies.google.com/privacy

= Meta Pixel =
* Loaded from:
  - https://connect.facebook.net/
  - https://www.facebook.com/
  - https://www.facebook.com/tr (optional noscript image request)
* What may be sent:
  - page URL, referrer, device/browser info, events you configure, cookies/identifiers set by Meta.
* Provider policies:
  - Meta Privacy Policy: https://www.facebook.com/privacy/policy/

You control whether these services load by toggles in:
wp-admin → LabVaxe → SEO & Head Studio → Tracking.

== Screenshots ==

1. Modules screen with enable/disable controls.
2. SEO & Head Studio settings page.
3. Post editor metabox with SEO, OG/Twitter, and Schema tabs.
4. Head Cleaner settings page.

== Changelog ==

= 0.1.0 =
* Initial release.
* Core: module manager + admin UI.
* Modules: Head Cleaner, SEO & Head Studio.

== Upgrade Notice ==

= 0.1.0 =
Initial release.
