=== Japanized Popup – Japanese Popups for Newsletter Signups, Coupons & Announcements ===
Contributors: kohyoshida, officek
Tags: popup, japanese, newsletter, exit intent, lead generation
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.1.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

完全日本語対応のポップアッププラグイン。管理画面・ドキュメント・サポートのすべてが日本語です。A no-code popup plugin with a fully Japanese admin UI, documentation, and support.

== Description ==

**完全日本語対応。コーディング不要のWordPressポップアッププラグインです。**

メルマガ登録・クーポン配布・お知らせ・キャンペーン告知のポップアップを、日本語の管理画面から迷わず設置できます。海外製プラグインにありがちな「英語で分からない」「設定項目が多すぎて挫折する」を解消するために作りました。管理画面・ドキュメント・サポートのすべてが日本語です。

= 主な機能 =

* コーディング不要のポップアップ作成
* 5種類の表示トリガー：ページ読み込み時 / 一定時間経過後 / スクロール到達時 / 離脱意図を検知した時 / 要素クリック時
* 表示条件：デバイス別（PC・モバイル）、訪問者別（新規・リピート）
* 表示するページのURL指定（指定したURLを含むページだけ、または含むページ以外）
* 再表示までの日数指定（一度閉じた訪問者に再表示するまでの日数）
* 表示位置：中央 / 右下 / 左下 / 上部バー
* キャッシュプラグインと併用可能（表示条件の判定はすべてブラウザ側で行います）
* キーボード操作・スクリーンリーダーに対応（Escキーで閉じる、フォーカス移動の制御）

---

**A no-code popup plugin with a fully Japanese admin interface, documentation, and support.**

Many popular popup plugins are developed overseas, and their documentation and support are only available in English. Japanized Popup solves that by providing every part of the experience — the admin screen, the documentation, and support — entirely in Japanese for Japanese-speaking site owners.

= Features =

* Visual popup creation, no coding required
* Display triggers: on page load / after a time delay / on scroll / on exit intent / on element click
* Display conditions: by device (desktop/mobile), by visitor type (new/returning)
* Page targeting by URL (show only on, or exclude, pages whose URL contains a given string)
* Re-display frequency control (days before the same visitor sees the popup again)
* Display position: center / bottom-right / bottom-left / top bar
* Works alongside caching plugins (all display conditions are evaluated in the browser)
* Keyboard and screen reader support (close with Esc, managed focus)

有料の拡張プラグイン「Japanized Popup Pro」（A/Bテスト、詳細アナリティクス、表示優先度、定型テンプレート、ホワイトラベル）を別途ご用意していますが、本プラグインの利用に有料版は必要ありません。本プラグインの機能に制限はかかっていません。

A separate paid add-on, "Japanized Popup Pro" (A/B testing, detailed analytics, display priority, ready-made templates, white-labeling), is available independently and is not required to use this plugin. No feature of this plugin is locked or limited.

== Installation ==

1. プラグインをアップロードして有効化します。 / Upload and activate the plugin.
2. 管理画面の「Japanized Popup」メニューから新しいポップアップを作成します。 / From the "Japanized Popup" admin menu, create a new popup.
3. トリガーと表示条件を設定して公開すると、サイトに自動的に表示されます。 / Set the trigger and display conditions, then publish — it will automatically appear on your site.
4. キャッシュ系プラグイン（WP-Optimize、Autoptimize、W3 Total Cache など）をお使いの場合は、公開後に一度キャッシュを削除してください。ページ全体がキャッシュされていると、プラグインを読み込んでいない古いページが配信され続け、ポップアップが表示されないことがあります。 / If you use a caching plugin, clear the cache once after publishing.

== Frequently Asked Questions ==

= キャッシュプラグインと一緒に使えますか？ / Does this work with caching plugins? =

使えます。表示条件（デバイス・訪問者の種別・再表示までの日数）の判定は、サーバー側ではなくブラウザ側（localStorage）で行うため、ページキャッシュと競合しません。

ただし、ページ全体を静的ファイルとして保存するタイプのプラグインでは、新しいポップアップを公開した直後に一度だけ手動でキャッシュを削除してください。

Yes. All display conditions (device, visitor type, re-display frequency) are evaluated entirely in the browser (localStorage) rather than on the server, so it works fine with page caching. However, with plugins that cache the entire page as a static file, clear the cache manually right after publishing a new popup.

= ポップアップの中にお問い合わせフォームを入れられますか？ / Can I put a contact form inside a popup? =

入れられます。Contact Form 7 や WPForms などのショートコードを、ポップアップの本文にそのまま貼り付けてください。

Yes. Paste the shortcode from Contact Form 7, WPForms, or a similar plugin into the popup content.

= 海外製のポップアッププラグインから移行できますか？ / Can I migrate from an overseas popup plugin? =

現在のバージョンには自動インポート機能はありません。ポップアップは手動で作り直していただく必要があります。

There is no automatic import in the current version. Popups need to be recreated manually.

= どのレンタルサーバーで動作確認していますか？ / Which hosting providers has this been tested on? =

ロリポップ！で動作確認しています。標準的なWordPress環境（WordPress 6.0以上、PHP 7.4以上）であれば、他のレンタルサーバーでも動作します。

Verified on Lolipop!. It should work on any standard WordPress environment (WordPress 6.0+, PHP 7.4+).

== Changelog ==

= 0.1.2 =
* 製品サイトのURLが変わったため、プラグイン内の案内リンクを新しいURLに更新しました。機能の変更はありません。
* Updated the product site links inside the plugin to the new URL. No functional changes.

= 0.1.1 =
* 「要素クリック時」トリガーに正しくないCSSセレクタが設定されていた場合、ページ上のクリックでエラーが出ないよう修正しました。保存時にも形式を確認します。
* Fixed: an invalid CSS selector in the click trigger no longer throws on every click. The selector is now checked when saving.

= 0.1.0 =
* 初回リリース。ビジュアル作成、5種類のトリガー、表示条件、表示ページのURL指定に対応。
* Initial release. Visual builder, 5 trigger types, display conditions, and URL-based page targeting.
