=== klevAI Conector ===
Contributors: klevai
Tags: seo, schema, structured data, search console, local seo
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.3.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Let klevAI manage your SEO fields, structured data and Google verification, with a change log you can undo.
It can also fix your robots.txt and publish an llms.txt, always with an Undo button.

== Description ==

klevAI is a marketing and customer care platform with AI for local businesses. It answers
messages, looks after reviews and books appointments, and this plugin is the part that lives
inside your WordPress site.

The plugin lets klevAI take care of the SEO fields, the structured data and the verification
tags of your posts and pages, so search engines understand them better.

Connecting takes one click. You do not copy any key by hand: WordPress creates an application
password for klevAI when you approve the connection, and you can revoke it whenever you want.

= What klevAI can change =

Only the actions listed in Settings → klevAI:

* SEO title, meta description, focus keyword, canonical URL, noindex and social image, written
  with the fields of Yoast SEO, Rank Math or All in One SEO, and directly when your site has no
  SEO plugin.
* Alternative text of your images, so search engines and screen readers understand them.
* Structured data for questions and answers (FAQPage), articles (Article), navigation
  (BreadcrumbList) and local businesses (LocalBusiness or Restaurant).
* Verification tags for Google Search Console and Bing.
* Landing pages for your ads, published as real pages of your site with a full-screen template.
* 301 and 302 redirects, hreflang links between pages in different languages (also next to
  Polylang and WPML), and IndexNow notifications when you publish (only if you turn it on).
* Elementor Pro header and footer display conditions, so each page shows them in its own
  language.
* The klevAI chat on your site, without copying any code.
* A read-only SEO health report: versions, SEO plugin, sitemap, pages without title or
  description, images without alternative text and broken internal links.

= Every change can be undone =

Every change is saved in a change log inside Settings → klevAI, with its date and the value
that was there before. If you do not like a change, press Undo and the previous value comes
back.

= What the plugin never does =

The plugin never runs code sent from outside, never edits files of your theme or your plugins,
and never installs anything on your site.

To connect the plugin you need a klevAI account.

== Installation ==

1. In your WordPress admin, go to Plugins → Add New and search for «klevAI».
2. Press «Install Now» and then «Activate».
3. Open Settings → klevAI and press «Connect with klevAI».
4. A WordPress screen asks you to approve the connection. Press «Yes, I approve».

== Frequently Asked Questions ==

= Do I need a klevAI account? =

Yes. The plugin works together with klevAI, so you need an account to connect the site.

= What can klevAI change on my site? =

Only the actions listed in Settings → klevAI: SEO fields, structured data and verification
tags. Nothing else.

= Can I undo a change? =

Yes. Every change appears in the log with an Undo button that restores the previous value.

= How do I disconnect? =

Press the Disconnect button in Settings → klevAI, or delete the application password named
«klevAI» in Users → Profile.

= Does it work without an SEO plugin? =

Yes. If you use Yoast SEO, Rank Math or All in One SEO the plugin writes in their fields; if
you have none, it prints the title, the description, the canonical, the robots tag and the
Open Graph data itself.

== External services ==

= klevAI =

Service: klevAI (https://landing.klevai.es/).

The plugin itself does not send any data and does not contact any server on its own.

When you click «Connect with klevAI», your browser opens app.klevai.es with your site address
so you can log in and approve the connection. WordPress then creates an application password
for klevAI and sends it to app.klevai.es; you can revoke it at any time.

With that password, klevAI calls your site's REST API to read your posts, pages and their SEO
fields, the WordPress and plugin versions, and to apply the actions listed in Settings →
klevAI. This only happens while the site is connected.

= Landing pages =

Landing pages that klevAI publishes on your site send what a visitor writes in their form to
klevAI (`https://<your-page>.klevai.site/enviar`), so your business receives the request. The page
also tells klevAI when it is visited and when a button is clicked, so you can see how your ads
perform. No cookies are set and nothing is stored in the visitor's browser.

= klevAI chat =

If you turn on the chat from klevAI, the plugin loads the chat script from
`https://app.klevai.es/w/chat/…` on the public pages of your site. What visitors write in the chat
is sent to klevAI so it can answer them.

= IndexNow =

Only if you turn it on from klevAI, the plugin tells search engines that support IndexNow
(Bing, Yandex and others) about pages you publish or update, by sending their addresses to
`https://api.indexnow.org/indexnow`. IndexNow terms: https://www.indexnow.org/terms

Terms of use: https://landing.klevai.es/?p=condiciones
Privacy policy: https://landing.klevai.es/?p=privacidad

== Screenshots ==

1. Settings → klevAI: connection status and change log with Undo.

== Changelog ==

= 1.3.0 =
* klevAI can add the Google Analytics tag to your site (skipped if Site Kit already adds the same one), with undo.

= 1.2.0 =
* klevAI can fix your robots.txt and publish an llms.txt, with undo.

= 1.1.0 =
* Landing pages published as real WordPress pages, with their own full-screen template.
* Redirects, hreflang and IndexNow.
* Elementor Pro header and footer conditions per language.
* klevAI chat without copying code.
* Read-only SEO health report.

= 1.0.0 =
* One-click connection with klevAI, using a WordPress application password.
* SEO actions: title, description, focus keyword, canonical, noindex and social image.
* Structured data for questions, articles, navigation and local businesses.
* Verification tags for Google Search Console and Bing.
* Change log with Undo.
* Removed the manual connection code and the site proxy; they will come back as WordPress
  pages in a future version.

= 0.2.0 =
* klevAI blog articles: title and description for Google and frequently asked questions in the search results.

= 0.1.0 =
* First version: connection with klevAI, routes and form.

== Upgrade Notice ==

= 1.1.0 =
Adds landing pages, redirects, hreflang, IndexNow, the klevAI chat and an SEO health report.

= 1.0.0 =
The manual connection code is replaced by one-click connection. Reconnect from Settings → klevAI.
