=== AdMindra Site Care ===
Contributors: viktorgrahn
Tags: seo, schema, structured data, faq, ai
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.4.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connects your site to AdMindra and carries out the improvements AdMindra has already worked out. Every change can be undone.

== Description ==

AdMindra analyses a company's website and works out what is holding it back —
the objections buyers have, the trust signals that are missing, the technical
checks that fail. This plugin is how that reaches the website itself, instead
of staying in a report nobody has time to act on.

It changes things that live outside your page builder: titles, meta
descriptions, structured data, robots.txt, llms.txt, image alt text, and a
FAQ page built from the objections your own buyers actually have. It can also
draft new pages for services you sell that have no page yet.

**It does not touch page builder content.** Elementor, Divi, Beaver Builder,
WPBakery, Oxygen and Bricks each store content in their own format, and
writing into those can break a page. This plugin reads which builder a page
uses so AdMindra can tell you honestly what it can and cannot change, and it
leaves that content alone.

If Yoast, Rank Math, SEOPress or All in One SEO is installed, titles and
descriptions are written into that plugin's own fields rather than fighting
it for the `<title>` tag.

= Nothing happens without you =

* Nothing is sent anywhere until you paste a pairing code from AdMindra.
* Nothing is changed until you approve it in AdMindra, unless you switch on
  autopilot yourself.
* New pages are always created as **drafts**, even with autopilot on. You
  decide whether they are published.
* Every change stores what was there before, and **Ångra allt AdMindra har
  gjort** on the settings screen restores it — without needing AdMindra to
  be reachable.

= An AdMindra account is required =

This plugin is a client for the AdMindra service. It does nothing on its own.

== External services ==

This plugin connects to AdMindra, a service operated by 3on Reklambyrå &
Webbyrå AB (org.nr 556825-0566, Muskötvägen 23, 184 60 Åkersberga, Sweden).

**When it connects:** only after you have pasted a pairing code on the
plugin's settings screen. Before that, the plugin makes no outbound requests
at all. After pairing it contacts AdMindra twice a day on WP-Cron, and when
you press "Synka nu".

**What is sent:**

* the site URL, your WordPress version and the plugin version;
* the pairing code, once, during setup;
* for each published page and post: its ID, path, title, meta description,
  excerpt, visible text, the URLs of images on it, and links to other pages
  on the same site;
* which page builder and which SEO plugin are in use;
* the contents of your robots.txt, and whether sitemap.xml and llms.txt
  respond;
* after each run, which changes were carried out and whether they succeeded.

That page content is what the analysis is performed on. No visitor data, no
personal data about your users, and no WordPress credentials are sent.

**What is received:** a list of proposed changes, each with the reason it was
proposed and the line of your company profile it came from.

Service terms: https://admindra.com/terms
Privacy policy: https://admindra.com/privacy

== Installation ==

1. Install and activate the plugin.
2. In AdMindra, go to Growth → Sajtvård and press "Hämta kopplingskod".
3. In WordPress, go to Settings → AdMindra Site Care and paste the code.
4. Press "Synka nu", or wait for the scheduled run.

== Frequently Asked Questions ==

= Does it change my site without asking? =

No, unless you switch on autopilot in AdMindra. By default every change waits
for you to approve it there. Even with autopilot on, new pages are created as
drafts and never published.

= Can I undo what it did? =

Yes. "Ångra allt AdMindra har gjort" on the settings screen restores the
structured data, the robots.txt allowance and llms.txt, and bins pages the
plugin created. Individual changes can be undone from AdMindra. Content
changes also create ordinary WordPress revisions.

= Will it fight my SEO plugin? =

No. If Yoast, Rank Math, SEOPress or All in One SEO is active, titles and
descriptions are written into that plugin's own fields, so the value ends up
where you would have typed it yourself.

= Does it work with Elementor and Divi? =

Yes, for everything that lives outside the builder — titles, structured data,
robots.txt, alt text and so on. It does not edit content inside the builder,
and AdMindra says so plainly rather than pretending otherwise.

= What happens if I deactivate it? =

Changes already made stay as they are; they are your content now. Removing
the plugin deletes its own settings, the structured data it added, the
robots.txt allowance and llms.txt. It does not delete titles, descriptions,
alt text or pages — use "Ångra allt" first if that is what you want.

== Upgrade Notice ==

= 1.1.1 =
Approved changes now run about once an hour instead of twice a day. If you
already have 1.1.0 the schedule is corrected automatically on the next page
load; you do not need to reactivate anything.

= 1.1.0 =
Renamed from "AdMindra Sajtvård". WordPress treats the new folder as a
separate plugin, so install this one and delete the old one. Your pairing
with AdMindra is stored under the same option name and survives the swap —
you do not need a new pairing code, and nothing already applied is undone.

== Changelog ==

= 1.4.0 =
* Adds the [admindra_pressroom] shortcode, so a site can publish its own
  press releases without pasting a script tag into a theme file — which
  many installs strip anyway, and which an editor rather than an
  administrator cannot add at all.
* Rendered on the server and cached for fifteen minutes. The releases are
  therefore in the HTML a crawler sees, indexable on the site's own
  domain; the visitor's browser makes no request to admindra.com, so no
  visitor data reaches us; and if AdMindra is unreachable the page renders
  without the block rather than showing an empty box.
* Usage: [admindra_pressroom slug="your-pressroom" limit="3"]

= 1.3.0 =
* Reports the site's security state to AdMindra: WordPress and PHP
  versions, which active plugins and themes have updates waiting, whether
  admin file editing is on, whether PHP errors are visible to visitors, and
  a few settings that decide how much damage one stolen login can do.
* It reads and reports. It does not update anything, and it never will on a
  schedule — an update that breaks a site at eleven on a Friday is worse
  than a version number three releases behind. AdMindra shows what was
  found and what it means.
* A check that could not be performed is reported as unknown rather than as
  fine.

= 1.2.0 =
* A drafted page now arrives as a finished, designed page instead of bare
  paragraphs and headings. AdMindra builds the layout — hero, cards,
  questions, closing section — in your own site's colours, with inline
  styles so it works in any theme and inside a Raw HTML block. What the
  previous version created looked unfinished, because it was.
* Structured data for a drafted page (WebPage, and FAQPage when the page
  answers real questions) is printed in that page's head.

= 1.1.1 =
* Approved changes are carried out about once an hour instead of twice a
  day. Approving something in AdMindra queues it for this plugin's next
  run, and a twelve-hour wait with nothing on screen explaining it read as
  "nothing happened". Sites already on 1.1.0 are rescheduled automatically.
* The plugin reported its version as 1.0.0 whatever version was installed,
  so AdMindra could not tell whether a site had been updated.

= 1.1.0 =
* Fewer and better suggestions. A first sync on a real WooCommerce site
  produced 101 of them, of which forty were "the title is too short" on
  pages called Varukorg, Kassan and Kontakt, and fifty were meta
  descriptions repeating the same company sentence on theme demo pages.
  Nothing is now proposed for WooCommerce plumbing, WordPress defaults,
  theme component showcases or lorem ipsum left over from a demo import;
  the plugin reports which pages those are rather than leaving AdMindra to
  guess, and passes on what your SEO plugin has already set to noindex.
* A short page title is no longer treated as a bad one. "Kontakt" is a
  correct title. What gets flagged is a title that says nothing: missing,
  only the company name, a nav label, or cut off in the search result.
* A page with nothing of its own to say gets no meta description, instead
  of the company's own sentence copied onto every page.
* At most ten findings of each kind per sync, so the list is one you can
  work through. What is held back is proposed on the next sync.
* Renamed to AdMindra Site Care. The plugin slug was Swedish and a slug
  cannot be changed once the plugin is approved, so this happened before
  submission rather than after. The option prefix is unchanged, so an
  existing pairing survives the swap.
* Page titles: AdMindra no longer proposes a rewrite for a title that is a
  nav label ("Hem", "Sida") or a leftover from a theme demo ("Home 3",
  "Shop Left Sidebar"). Appending the company name to one of those made a
  longer bad title rather than a better one.

= 1.0.0 =
* First release.
