=== Desdinova Game Card Embed From Itch.io ===
Contributors: desdinovait
Tags: itch, itchio, embed, gamedev, indiegame
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed customizable itch.io game cards directly inside Gutenberg editor with theme options and side-padding controls.

== Description ==

**Desdinova Game Card Embed From Itch.io** is block for indie game developers, bloggers, and gaming journalists who want to showcase itch.io game cards seamlessly on WordPress.

Paste your game URL, and the plugin automatically fetches game data via REST API to build a clean, interactive iframe widget.

### 🌟 Key Features
* **Auto Data Fetching:** Just paste the itch.io URL and click generate.
* **Custom Color Palette:** Adjust background, text, link, and border colors to match your theme.
* **Dark Theme Toggle:** Instantly switch between light and dark embed styles.
* **Independent Side Padding:** Fine-tune top, right, bottom, and left margins separately.
* **Gutenberg Native:** Features an official itch.io branded icon in the block inserter.
* **Lightweight & Fast:** Zero heavy external libraries loaded on the frontend.

== Installation ==

### Automatic Installation
1. Log in to your WordPress admin dashboard.
2. Go to **Plugins > Add New**.
3. Search for `Itch.io Embed`.
4. Click **Install Now**, then **Activate**.

### Manual Installation
1. Download the plugin ZIP file.
2. Upload the `itchio-embed` directory to your `/wp-content/plugins/` directory.
3. Activate the plugin through the **Plugins** menu in WordPress.

== Frequently Asked Questions ==

= Do I need an itch.io API Key? =
No API key or developer registration is required! The plugin fetches the required metadata using public endpoints.

= Can I customize the appearance of the embed card? =
Yes! You can change background color, text color, link color, border width/color, dark mode, and set individual side paddings.

= Is this block mobile responsive? =
Yes, the iframe wrapper automatically scales down to fit smaller screens.

== Screenshots ==

1. The Desdinova Game Card Embed from Itch.io block in action showing custom side padding and color settings in the sidebar.

== Changelog ==

= 1.0.0 =
* Initial public release.

== External Services ==

This plugin embeds game cards and content directly from itch.io via an iframe element to display game information and previews inside posts and pages.

* **Service Used:** itch.io Embed Service (provided by itch corp)
* **Purpose:** Loading and displaying interactive game cards, themes, and metadata inside the Gutenberg editor and on the public site.
* **Data Transmitted:** When a page containing an itch.io embed is loaded by a visitor (or rendered in the editor), the user's browser sends a standard HTTP request to `https://itch.io`. This includes the user's IP address, user-agent details, and standard HTTP headers required to serve the embedded content.
* **Terms of Service:** https://itch.io/docs/legal/terms
* **Privacy Policy:** https://itch.io/docs/legal/privacy-policy