=== UK Business AI Visibility by Whito ===
Contributors: whitouksignin
Tags: ai seo, ai visibility, llms.txt, local business schema, companies house
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Make your UK business website readable and trustworthy to AI engines like ChatGPT, Gemini and Google AI Mode.

== Description ==

AI engines now answer questions people used to type into Google. If they cannot read your site, or cannot confirm you are a real UK business, they recommend someone else.

UK Business AI Visibility by Whito fixes the basics in one place:

* **UK business profile** - name, company number, contact details, address, opening hours and service areas, stored once and reused everywhere.
* **LocalBusiness schema** - clean JSON-LD on every page so AI engines read your details instead of guessing them. One toggle to switch off if your SEO plugin already covers it.
* **llms.txt** - a short plain-text summary of your business served at /llms.txt. llms.txt is a proposed convention for giving AI tools a clean summary of a site; support varies between AI tools. Generated for you, editable if you want.
* **Companies House verification** - verify your company number against the free public Companies House API and show the result. The number also goes into your schema as a machine-readable identifier.
* **AI crawler check** - see at a glance whether GPTBot, Google-Extended, ClaudeBot, PerplexityBot and the rest are blocked in your robots.txt, with a one-click fix (your confirmation required) or a copy-paste snippet. The plugin never overwrites a robots.txt file you manage yourself.
* **Company number display** - a shortcode and a block to show your company number, linked to Companies House, with an optional "UK company" trust badge.
* **Visibility score** - a six-point checklist on your dashboard so you know what is done and what is missing.

Built by Whito, an independent UK research publisher on AI visibility. The plugin is free, needs no account, and the only external request it makes is the Companies House lookup you trigger yourself.

== Installation ==

1. Upload the plugin folder to /wp-content/plugins/, or install the zip via Plugins > Add New > Upload.
2. Activate it.
3. Go to Settings > AI Visibility and fill in your business profile.
4. Save, then use the Verify button and the robots.txt check.

== Frequently Asked Questions ==

= Do I need a Companies House API key? =

No. Without one, the Verify button links you to the public register to check manually. With a free key (from the Companies House developer hub) the plugin verifies the number for you and records the result.

= Will this clash with Yoast, Rank Math or All in One SEO? =

The schema output is a single toggle. If your SEO plugin already outputs LocalBusiness schema, switch ours off and keep everything else. The plugin also exposes a `whito_air_schema` filter for full control.

= Does it change my robots.txt without asking? =

Never. The check is read-only. The fix is applied only if you tick the option and press the button, it only touches the WordPress virtual robots.txt, and it is reversible by unticking.

= Is anything sent to Whito? =

No. No tracking, no phoning home. Links to Whito's free tools appear only inside your WordPress admin and are plain links you can ignore.

= Does it add credits or links to my public site? =

No, unless you choose to. The optional "AI-ready with Whito" footer badge is off by default and only appears if you tick it in the settings. Nothing else the plugin outputs (schema, llms.txt, robots.txt rules) contains a credit or a link to Whito.

= Will this guarantee that AI tools recommend my business? =

No. The plugin makes your business details clearer and easier for AI tools to read. How any AI tool chooses what to recommend is up to that tool.

== External services ==

This plugin can connect to one external service: the Companies House API, run by Companies House (the UK government's registrar of companies).

* What it is used for: checking that the company number in your business profile belongs to a real UK company, and reading its registered name and status.
* What is sent, and when: only when an administrator presses "Verify with Companies House" on the settings page, and only if a Companies House API key has been saved. The request sends the company number and your own API key. Nothing is sent automatically, and no visitor data is ever sent.
* If no API key is saved, nothing is sent. The button gives you a link to the public register instead.

Companies House developer guidelines: https://developer.company-information.service.gov.uk/developer-guidelines
Companies House personal information charter: https://www.gov.uk/government/organisations/companies-house/about/personal-information-charter

The AI crawler check reads your own site's robots.txt. It does not contact any third party.

== Changelog ==

= 1.0.3 =
* Translator note added for the Companies House error message.
* Extra input sanitisation on the Companies House check.
* Admin text containing links is sanitised before output.

= 1.0.2 =
* Removed the plugin credit line from the generated llms.txt, so nothing public links to Whito unless you turn on the optional badge.
* Neutral comment on the optional robots.txt allow rules.
* Clearer readme wording about llms.txt.

= 1.0.1 =
* Plugin identifier aligned with the WordPress.org directory name.
* The saved Companies House API key is never printed back into the settings page.
* Plain-English error message when Companies House cannot be reached.
* Tidier description text after unsafe markup is removed.
* Denied admin actions now return a proper 403.
* Tested up to WordPress 7.1.

= 1.0.0 =
* First release: business profile, LocalBusiness schema, llms.txt, Companies House verification, AI crawler check, company number shortcode and block, visibility score.
