=== SEM GRUP KVKK Uyumluluk Eklentisi ===
Contributors: semgrup, safaktopallar
Donate link: https://www.semgrup.com
Tags: privacy, cookies, compliance, kvkk, tourism
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Publish KVKK-related texts (privacy notice, cookie policy, cancellation rules, sustainability, general sales terms) using shortcodes, optional WordPress pages, a cookie notice bar, and a consent checkbox.

== Description ==

This plugin helps Turkish hotels and tourism sites surface common legal and informational pages required or expected under local practice (including KVKK-related notices), without replacing legal advice.

**Features**

* Shortcodes for privacy / KVKK notice, privacy policy, cookie policy, cancellation & refund rules, sustainability text, and general sales & service terms
* Optional **page linking**: compose content in the block or classic editor and select those pages in settings; shortcodes render `the_content` when a page is set
* **Cookie notice bar** with accept button (cookie stored client-side)
* **Consent checkbox** shortcode for forms
* **Multilingual-ready settings** (Turkish / English by default) with Polylang and WPML language detection when available

**Important**

This plugin does not provide legal services. Have your texts reviewed by qualified counsel.

== Installation ==

1. Upload a ZIP whose root folder is named `sem-grup-kvkk-uyumluluk-eklentisi` and contains `kvkk-plugin.php`, `readme.txt`, and the `assets` directory (CSS/JS only), via **Plugins → Add New → Upload Plugin**, or install via FTP/SFTP into `wp-content/plugins/`.
2. Activate the plugin through the **Plugins** screen.
3. Go to **Settings → KVKK Ayarları** (settings page title may appear in Turkish) and enter your texts or choose pages per language.
4. Add shortcodes to the relevant pages (for example `[kvkk_gizlilik]`, `[kvkk_aydinlatma]`).

== Frequently Asked Questions ==

= Does this work on single-language sites? =

Yes. Multilingual features are optional.

= Which multilingual plugins are supported? =

Polylang (`pll_current_language`) and WPML (`ICL_LANGUAGE_CODE` / `wpml_current_language`). Otherwise the plugin falls back to `get_locale()`.

= Are the default texts legally valid? =

No. Defaults are placeholders only. You must supply your own content and obtain professional legal review.

== Screenshots ==

1. Settings screen with text fields and language selector.
2. Cookie notice bar on the front end.

== Changelog ==

= 1.0.3 =
* readme.txt description, installation, and FAQ translated to English (WordPress.org requirement).
* All gettext strings use the plugin slug as text domain; settings screen slug aligned with the plugin slug.
* readme.txt Tags limited to five (WordPress.org guideline).
* Added `uninstall.php` to remove stored options when the plugin is deleted.
* Removed misleading directory-style screenshot files from the plugin package guidance; enqueue script/style handles renamed (no functional change for users).
* Fixed a small HTML typo in an admin template.

= 1.0.2 =
* Optional page selection for long-form content; multilingual page IDs.
* PHPDoc comments for the main class.

= 1.0.1 =
* Multilingual (TR/EN) settings storage and admin language switcher.
* Legacy single-locale options preserved on upgrade.

= 1.0.0 =
* Initial release: shortcodes, cookie bar, consent checkbox, settings UI.

== Upgrade Notice ==

= 1.0.3 =
WordPress.org compliance update: English readme, text domain alignment, and packaging notes. Please re-save settings once if your admin URL for the settings page changed.
