=== LegalBlink for Aruba ===
Contributors: legalblink, arubait, arubasupport
Tags: gdpr, privacy, cookie, policy, compliance
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.1.7
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

== Description ==

**LegalBlink for Aruba** is a plugin that allows you to integrate the LegalBlink services from Aruba
into your WordPress site.

This tool lets you create privacy and cookie policies, cookie banners, and terms and conditions
for your showcase or e-commerce site.

You can generate documentation quickly and easily, with support from a team of legal
consultants. In this way, you can make your site compliant and keep it always up-to-date with
legislative changes, avoiding legal and administrative sanctions.

With LegalBlink, you can have **privacy policies, cookie policies, cookie banners with consent
management, and terms and conditions of sale**.

The main features include:

* Automatic synchronization with LegalBlink (no manual changes required)
* Cookie banner management (enable/disable, copy HTML snippet, site-wide activation)
* Legal documents with iframe integration, HTML snippet, or shortcode
* Shortcodes with advanced options (e.g. ```language="en" html="true"```)
* Association of pages with direct link copying
* Cache management (duration and manual clearing)
* Compatibility with WooCommerce, WordPress Multisite, WPML, and Polylang

All legal documents generated by LegalBlink are available in Italian, English, German,
French, and Spanish, and comply with GDPR requirements and European Directive
2011/83 on consumer rights.

== Installation ==

= From WordPress =

1. Go to **Plugins → Add New**
2. Search for “LegalBlink for Aruba”
3. Click **Install** and then **Activate**

= Manual =

1. Download the `.zip` file from the official website
2. Go to **Plugins → Add New** and **Upload Plugin**
3. Upload the `.zip` file and activate it, or upload the files via FTP to the ```/wp-content/plugins/``` folder

After activation, you will find the menu item: “LegalBlink for Aruba”.

== Configuration ==

1. Sign in to your Aruba account from [https://managehosting.aruba.it/AreaUtenti.asp?Lang=EN](https://managehosting.aruba.it/AreaUtenti.asp?Lang=EN)
2. From the “Services” tab, next to the desired hosting service, click on “Manage” → “Additional services”
3. Next to the “LegalBlink” service, click “Go to services” to access the service management page
4. From the side menu, move to “Settings” and then click on the “Generate token” button to generate an access token
5. Go to the “LegalBlink for Aruba” plugin on WordPress
6. Paste the generated token and click “Login”

== Frequently Asked Questions ==

= What makes LegalBlink different from other online generators? =

LegalBlink is the legal document generator that is:

* updated according to the Omnibus Directive in force since April 2, 2022
* updated with the latest on legal guarantees, in force since January 1, 2022
* with a website **legal checkup**
* multilingual (with no extra cost)
* backed by a team of expert legal consultants in e-commerce and privacy

= Do I need a LegalBlink account? =

Yes, authentication with your LegalBlink token is required.

= Are the documents multilingual? =

Legal documents can be generated in Italian, English, German, French, and Spanish.
The multilingual function is present in every package at no additional cost.

= Can I edit the texts? =

Yes, follow the steps below:
1. Sign in to your Aruba account from [https://managehosting.aruba.it/AreaUtenti.asp?Lang=EN](https://managehosting.aruba.it/AreaUtenti.asp?Lang=EN)
2. From the “Services” tab, next to the desired hosting service, click on “Manage” → “Additional services”
3. Next to the “LegalBlink” service, click “Go to services” to access the service management page
4. From the side menu, move to “Documents” area and edit the documents as needed.

Updates are synced automatically.

= Is LegalBlink compatible with WooCommerce? =

Yes, it is fully compatible with e-commerce.

= Is LegalBlink compatible with WordPress Multisite? =

Yes, it can be configured for every site.

== Changelog ==

= 1.1.7 =
- Added call to action on the token login screen to guide users on how to generate a token via the Aruba hosting panel.
= 1.1.6 =
- Minor fixes
= 1.1.5 =
- Minor fixes
= 1.1.4 =
- Improved: empty paragraphs and paragraphs containing only line breaks are removed from documents embedded in HTML mode, for a cleaner layout
= 1.1.3 =
- Fixed: stray JavaScript snippets no longer appear as text when embedding a document in HTML mode
= 1.1.2 =
- Fixed: language switching and other parameterized actions on "Plain" permalinks
= 1.1.1 =
- Fixed: the plugin admin now works on sites using "Plain" permalinks
= 1.1.0 =
- New: "Accessibility Declaration" tab to embed the accessibility declaration document in a WordPress page, with iframe / HTML snippet modes consistent with the existing GDPR documents
- New: "Accessibility Widget" tab with read-only widget status, snippet preview, and local toggle to inject the widget snippet on the public site
- New: Cookie Banner v2 support (Consent Mode V2 / IAB TCF) — automatically used when the active plan advertises it, with transparent fallback to the legacy banner otherwise
- Improved: cache invalidation also wipes orphan transients via a wpdb fallback (previously some transients survived "Clear cache" until natural expiration)
= 1.0.2 =
- Minor fixes
= 1.0.1 =
- Removed inline `<style>` blocks from embedded HTML documents to prevent layout conflicts with WordPress themes
- Cache is now automatically invalidated after plugin updates
= 1.0.0 =
* Initial plugin release.

== Upgrade Notice ==

= 1.0.0 =
Initial release of the LegalBlink for Aruba plugin.

== External Services ==

This plugin relies on the **LegalBlink API** to provide legal compliance
features for your WordPress website.

This plugin connects to the LegalBlink API to:

* Authenticate users with their LegalBlink account credentials
* Retrieve and display legal documents (privacy policies, cookie policies, terms and conditions)
* Fetch cookie banner configurations and manage consent

= Service links =

* **Service website**: [https://www.aruba.it/en/home.aspx](https://www.aruba.it/en/home.aspx)
* **Terms of Service**: [https://hosting.aruba.it/en/terms-conditions.aspx](https://hosting.aruba.it/en/terms-conditions.aspx)

== Developer Information ==

= Source Code =

This plugin uses compiled JavaScript and CSS for the admin interface. The human-readable source code is available in the project repository:

**Repository**: [https://github.com/hirooks-legalblink-it/wordpress-legalblink-for-aruba/](https://github.com/hirooks-legalblink-it/wordpress-legalblink-for-aruba/)
