Watrix Popup Banner
·
Display image popups and banners from the WordPress admin with no code. Rotation, 9 positions, scheduling, animations, and per-image links.
Watrix Popup Banner lets you show image popups and banners on your site without writing any code. Create a banner from the admin, pick images, and configure how and when it appears.
Features:
- Separate images for desktop (PC) and mobile (SP); the PC image is reused when no SP image is set
- Multiple images with rotation (configurable interval) or random display
- 9 display positions (four corners, four edge centers, screen center) and a width (px) setting
- Scheduling with start/end date and time, evaluated against your site time zone
- Six entrance animations: none (instant), fade, slide-in, pop-in, zoom-up, and rotate-zoom (respects prefers-reduced-motion)
- Close button with Esc key support and a configurable delay (0–60000 ms) before the close button appears; the Esc key works even during the delay
- Re-display suppression days (0 = show every time), remembered per visitor via browser localStorage
- Configurable display delay (0–60000 ms) before the banner appears after page load
- Drop shadow on/off, rounded corners (0–100 px), and a configurable border (color + width 0–20 px)
- Test mode: show the banner only to logged-in administrators, so you can preview it on the live site before releasing it
- Per-image link URLs (empty image = no link); “open links in a new tab” applies to all image links of the banner
- Subtle hover effect on linked banners (press-in, respects prefers-reduced-motion, no accidental firing on touch devices)
- Optional GA4 tracking tag: set a per-banner name to send impression, click and close events to Google Analytics via the site’s existing Google tag or Google Tag Manager (no tag = nothing is sent)
日本語補足:
- PC用/SP用の画像をそれぞれ指定できます(SP未設定時はPC画像を流用)。
- 複数画像のローテーション(切替間隔指定)またはランダム表示に対応します。
- 表示位置は9箇所、幅はpxで指定します。
- 表示期間(開始/終了日時)はサイトのタイムゾーン設定に基づいて判定します。開始日時は含み、終了日時は含みません(開始 <= 現在 < 終了)。
- 表示アニメーションは6種から選べます(通常/フェード/スライドイン/ポップイン/ズームアップ/回転ズーム)。
- 閉じるボタンの表示遅延中もEscキーでバナーを閉じられます。
- 再表示抑止は訪問者のブラウザのlocalStorage(キー: bpop_closed_{バナーID})に保存し、個人を識別する情報は保存しません。
- テストモードをONにすると、そのバナーは管理者権限(manage_options)でログイン中の人にだけ表示されます。公開前の確認に使えます。
- GA4計測タグ(任意)にバナーごとの識別名を入れると、表示(watrix_popup_impression)・クリック(watrix_popup_click)・閉じる(watrix_popup_close)の3イベントをGoogleアナリティクスへ送信します。サイトに設置済みのGoogleタグ(gtag)またはGoogleタグマネージャー(dataLayer)を利用し、本プラグインは外部スクリプトを読み込みません。空欄なら一切送信しません。
- v1ではアンインストール時にデータ(バナー投稿・設定)を削除しません。
