=== Affiliate Quick Link Shortcode for DMM ===
Contributors: trok1986
Tags: affiliate, shortcode, DMM, FANZA, video
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 1.4.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html

Generate quick affiliate links for DMM/FANZA content using shortcodes. Supports video thumbnails, auction pages, and plain URL output.

== Description ==

This plugin allows you to embed DMM/FANZA affiliate links using shortcodes.

== Features ==

- Generate DMM affiliate links by specifying `cid` (content ID) or `aid` (auction ID)
- Show large or small thumbnails (or sample video iframe)
- Option to output plain link only
- WordPress admin page to store your DMM API ID
- Support for custom affiliate ID per shortcode
- Fully works with both adult and general DMM content

== Usage ==

Basic:
[quick_link_dmm cid="1dandy00463"]

Options:
[quick_link_dmm cid="1dandy00463" size="small" aff="lab888-999"]
[quick_link_dmm aid="2011464"]
[quick_link_dmm cid="1dandy00463" link_only="1"]
[quick_link_dmm aid="2011464" link_only="wp"]


== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`
2. Activate the plugin from admin
3. Go to **Settings > Quick Link DMM** and enter your API ID

== Frequently Asked Questions ==

= What is required to use this plugin? =
You must be a registered DMM affiliate and have your API ID and affiliate ID ready.

= What’s the difference between `aff` and the API affiliate ID? =
`aff` controls what is embedded in the visible link (default: lab888-001).  
The API requests use the assigned ID with suffix `-990 ~ -999`.

= What does `link_only="wp"` do? =
It outputs the link with a leading exclamation mark (!) to suppress WordPress auto-embedding (e.g. blog cards).

== Changelog ==

= 1.4.1 =
* Floating banner: show_at/delay parameters for flexible display timing
* show_at=0 for delay-only display after page load
* z-index can be set between sidebar and modal (default 2250)
* Banner is moved to body for stacking context fix
* All display logic unified in external JS (floating-banner.js)
* Mouseover enlarge/opacity, close button, responsive support
* Removed old inline JS and opacity hacks
* Bug fixes and stability improvements

== Screenshots ==

(You may add screenshot images later)

== License ==

This plugin is released under the GPL v2 or later.
