WP Manifestindependent plugin directory
manifest / media / modal-scroll-img

modal scroll img

広告表示のwordpressプラグイン

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/ishimaki0627/modal-scroll-img/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

2026-05-21

ファイル構成
> main.php          メイン
> admin-input.php   管理画面のUI
> modal.html        フロント側(html+js)
> style.css         フロント側

main.php
  管理画面に「モーダル画像」メニューを追加
    POST値をサニタイズしてwp_optionに追加
    投稿記事にアクションフックでモーダルを追加

admin-input.php
    管理画面の中身のhtml
    初期値に入力値を表示
    form送信

modal.html
    フロント側のモーダルのhtml
    スクロールイベントと出す出さないのjavascript

style.css
  フロント側のcss