Aprašymas
This plugin allows you to embed DMM/FANZA affiliate links using shortcodes.
Features
- Generate DMM affiliate links by specifying
cid(content ID) oraid(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”]
License
This plugin is released under the GPL v2 or later.
Diegimas
- Upload the plugin folder to
/wp-content/plugins/ - Activate the plugin from admin
- Go to Settings > Quick Link DMM and enter your API ID
DUK
-
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).
Atsiliepimai
Įskiepis neturi atsiliepimų.
Programuotojai ir komandos nariai
“Affiliate Quick Link Shortcode for DMM” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.
AutoriaiIšverskite “Affiliate Quick Link Shortcode for DMM” į savo kalbą.
Domina programavimas?
Peržiūrėkite kodą, naršykite SVN repozitorijoje, arba užsiprenumeruokite kodo pakeitimų žurnalą per RSS.
Pakeitimų istorija
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