Doujinavi – Affiliate Studio for DLsite は、DLsiteの作品をWordPressのブログで紹介するための、非公式・独立したアフィリエイト支援プラグインです。DLsiteが提供・公認するプラグインではありません。
作品名・画像URL・紹介文・正式に発行されたアフィリエイトURLを手動で登録し、記事やサイドバーに見やすい作品カードを設置できます。登録した作品をランダムに紹介したり、自分のサイトでクリックされた作品をランキングにしたりと、作品紹介から反応の確認までをWordPress内でまとめて行えます。
管理画面は日本語・英語に対応しています。WordPressの言語に合わせた自動選択に加え、プラグインの設定から言語を選べます。
ウィジェットに対応したテーマでは「外観 ウィジェット」からDoujinaviの「ランダム・おすすめ作品」を追加します。ブロックテーマでは、サイトエディターで対応するブロックをご利用ください。
表示件数は1~12件、列数は最大3列です。表示・除外する作品ID、8種類のデザイン、4種類の色設定、画像や価格などの表示項目を調整できます。全体設定の成人向け作品の表示制限やPR表記も適用されます。
ランダム表示はページが生成されるたびに選ばれます。一定時間ごとに自動で切り替わるスライドショーではありません。ページキャッシュを利用している場合は、キャッシュが更新されるまで同じ作品が表示されることがあります。
「ショートコード」ブロックなどに、次のコードを貼り付けて使えます。id=”123″ は、登録した作品・ブログパーツ・画像広告グループの該当IDに置き換えてください。
登録作品をランダムに3件表示:
[affilumo_widget mode="random" count="3" style="compact"]
指定した作品を横長のカードで表示:
[affilumo id="123" style="horizontal"]
直近30日間のクリック数をもとに、上位5件の作品を表示:
[affilumo_ranking days="30" limit="5" style="compact"]
登録した公式ブログパーツを表示:
[affilumo_blogpart id="123"]
登録した画像広告グループを表示:
[affilumo_ads id="123"]
コード内の「affilumo」は、以前に設置した記事との互換性を保つための名称です。プラグインの表示名はDoujinaviです。既存のコードを書き換える必要はありません。
クリック計測では、クリックされた作品とリンク元のページを記録します。IPアドレスとユーザーエージェントは、60秒間の重複クリックを抑制するため、ソルト付きハッシュとしてWordPressの一時データ(transient)で利用します。生のIPアドレスやユーザーエージェントを恒久的なクリック記録テーブルに保存しません。
管理者が設定した外部画像は、表示時に画像の配信元へ接続します。その際、閲覧者のIPアドレスなどが配信元へ伝わる場合があります。本プラグインが外部JavaScriptを読み込むことはありません。
既存のaffilumoショートコード、ブロックの内部ID、ウィジェットID、保存済み設定、投稿タイプ、クリック記録用テーブルは維持しています。今回の表示名の変更によって、過去の記事に設置したブロックやコードを書き換える必要はありません。
旧Affiliate Studioプラグインが別にインストールされている場合は、Doujinaviを有効化する前に旧プラグインを停止してください。両方を同時に有効化しないでください。
Doujinavi is an unofficial, independent WordPress toolkit for DLsite affiliate publishers. It is not endorsed by or affiliated with DLsite. Manually register product information and officially issued affiliate URLs, then display products using eight card layouts, three editor blocks, widgets or shortcodes. Japanese and English administration interfaces are available.
Features include random/latest/manual product displays, on-site click reports for 7/30 days/all-time, click-based rankings, filtered static official blog-part HTML, image-ad groups, before/after-post placement, and CSV import/export (2MB and 1,000 rows for imports).
It does not issue affiliate IDs, modify issued URLs, scrape DLsite, automatically update product details, or track purchases, sales or commissions. Prices and image URLs are entered manually. Use images in accordance with the publisher’s rights. Scripts and iframes are not supported in blog parts. Adult-rated product cards are hidden by default; this filter does not inspect blog-part contents. Administrators are responsible for age-gating and advertising disclosures.
Click records contain clicked products and source pages. IP address and user-agent data are used only through a salted hash in WordPress transients to suppress duplicate clicks for 60 seconds; raw values are not stored in the permanent click table. Remote images contact their hosting services and may expose visitor IP addresses. No external JavaScript is loaded. Data is retained on deactivation and uninstall; delete unwanted records manually. Test updates on a staging site first.
Existing affilumo shortcodes and internal block identifiers remain compatible. Deactivate the previous Affiliate Studio plugin before activating Doujinavi; do not run both copies together.
JavaScript・CSSは、読みやすい非圧縮のソースとしてassets/に同梱しています。ビルドやnpmのインストールは不要です。
All JavaScript and CSS is included in readable, unminified form and loaded directly by WordPress. No compilation, bundling, npm installation or build step is required. The plugin uses WordPress-provided block editor APIs and bundles no third-party JavaScript libraries.