=== Hotelier7 Hotel Affiliate Cards ===
Contributors: hotelier7, freemius
Tags: hotel, affiliate, booking, travel, rakuten
Requires at least: 5.9
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.2.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create and manage hotel booking affiliate cards easily.

== Description ==

**🇯🇵 日本語の詳細説明・使い方はランディングページをご覧ください：[https://hotelier-plugins.pages.dev/](https://hotelier-plugins.pages.dev/)**

Hotelier is a WordPress plugin for creating hotel booking cards for blogs and affiliate sites.

It supports major Japanese domestic travel services and lets you display clean, responsive
hotel cards in your posts using a simple shortcode.

**Features**

* Search and register hotels via the Rakuten Travel API
* Embed cards in posts using shortcodes
* 7 domestic services (Rakuten Travel, Jalan, Ikyu.com, Yahoo! Travel, Rurubu Travel, JTB, KNT)
* Manual URL fields for official hotel sites (Hilton, Marriott, IHG, Hyatt)
* Custom buttons with your own links
* Per-hotel show/hide control for each service

== Installation ==

1. Upload and activate the plugin.
2. Go to Settings > Hotelier and configure your API credentials.
3. Go to Hotelier > Register Hotel to add hotels.
4. Add [hotelier id="123"] to your posts to display cards.

== Frequently Asked Questions ==

= Is it free to use? =

Yes. All features of this plugin are free to use.

= Where can I get a Rakuten App ID? =

Create an account at Rakuten Web Service (https://webservice.rakuten.co.jp/) to obtain your App ID.

== External Services ==

This plugin connects to the following external services.
このプラグインは以下の外部サービスに接続します。

= Rakuten Travel API / 楽天トラベルAPI =
Used to search for hotels and retrieve hotel information (name, price, review score, image).
A Rakuten Developer account and Application ID are required.
Data is sent to Rakuten servers when the user performs a hotel search from the admin screen.
ホテルの検索および情報取得（名称・価格・レビュースコア・画像）に使用します。
楽天デベロッパーアカウントとアプリケーションIDが必要です。
管理画面でホテル検索を行った場合に楽天サーバーへデータが送信されます。
* Website: https://webservice.rakuten.co.jp/
* Terms of Service / 利用規約: https://webservice.rakuten.co.jp/guide/rule
* Privacy Policy / プライバシーポリシー: https://privacy.rakuten.co.jp/

= Rakuten Affiliate / Moshimo Affiliate / 楽天アフィリエイト・もしもアフィリエイト =
Used to generate affiliate links to Rakuten Travel hotel pages.
The affiliate ID entered by the user is appended to outbound hotel links.
No data is sent to these services by the plugin itself.
楽天トラベルのホテルページへのアフィリエイトリンク生成に使用します。
ユーザーが設定したアフィリエイトIDをリンクに付加します。プラグイン自体がこれらのサービスにデータを送信することはありません。
* Rakuten Affiliate: https://affiliate.rakuten.co.jp/
* Rakuten Affiliate Terms / 利用規約: https://affiliate.rakuten.co.jp/guideline/
* Moshimo Affiliate: https://af.moshimo.com/
* Moshimo Affiliate Terms / 利用規約: https://af.moshimo.com/af/www/terms/shop
* Privacy Policy / プライバシーポリシー: https://privacy.rakuten.co.jp/

= ValueCommerce =
Used to generate affiliate links for Jalan, Rurubu Travel, Yahoo! Travel, JTB, and Ikyu.com.
The ValueCommerce SID and PID entered by the user are used to construct outbound links.
No data is sent to ValueCommerce servers by the plugin itself.
じゃらん・るるぶトラベル・Yahoo!トラベル・JTB・一休.comのアフィリエイトリンク生成に使用します。
ユーザーが設定したValueCommerce SIDおよびPIDをリンク構築に使用します。プラグイン自体がValueCommerceサーバーにデータを送信することはありません。
* Website: https://www.valuecommerce.ne.jp/
* Terms of Service / 利用規約: https://www.valuecommerce.ne.jp/st_affiliate/terms.html
* Privacy Policy / プライバシーポリシー: https://www.valuecommerce.co.jp/privacy_policy/

= Hotel Official Sites / ホテル公式サイト (Hilton, Marriott, IHG, Hyatt) =
These are supported via manual URL input only.
The plugin provides input fields for users to enter their own links.
No data is transmitted to these services by the plugin itself.
これらは手動URL入力のみ対応しています。
プラグインはユーザーが独自のリンクを入力するための入力欄を提供します。プラグイン自体がこれらのサービスにデータを送信することはありません。

Connections to the above services are made only when the user has configured
the respective service IDs or URLs in the plugin settings.
上記サービスへの接続は、ユーザーがプラグイン設定で各サービスIDまたはURLを設定した場合にのみ行われます。

== Screenshots ==

1. Hotel booking card with multiple reservation buttons, shown in a post. / 記事内に表示されるホテル予約カード（複数の予約サービス対応）
2. Register hotels by searching the Rakuten Travel API. / 楽天トラベルAPIでホテルを検索して登録
3. Configure affiliate IDs for each booking service. / 各予約サービスのアフィリエイトIDを設定
4. Display options and per-service visibility control. / 表示項目とサービス別の表示・非表示設定
5. Premium plan: show microcopy and sale text above each button to boost clicks (PRO/MAX). / 有料プラン：各ボタン上にマイクロコピー・セール文を表示してクリックを促進（PRO/MAX）
6. Button animations and design options — shape, style, and column count (MAX). / ボタンのアニメーション・形・スタイル・列数などのデザイン設定（MAX）
7. Quick registration for overseas hotels via Expedia / Booking.com (PRO). / Expedia・Booking.comから海外ホテルを簡単登録（PRO）
8. Click analytics report with daily trends and per-service / per-hotel breakdown (MAX). / クリック計測レポート：日別推移とサービス別・ホテル別の内訳（MAX）

== Changelog ==

= 1.2.1 =
* Fix: Added !important to plugin CSS to prevent theme styles from overriding hotel card colors (hotel name, price, buttons).

= 1.2.0 =
* Added a guided notice on the settings page for trial/paid users still running the free build, explaining how to safely switch to the premium version (deactivate the free version first to avoid a fatal redeclare error).

= 1.1.9 =
* Click tracking now records clicks on all plans (including the free version). Reports remain a paid (PRO/MAX) feature.

= 1.1.3 =
* Added a persistent trial CTA banner on the settings page for free users who have not yet started a trial or purchased a plan.

= 1.1.2 =
* Improved Japanese wording of the trial promotion banner and trial start dialog.
* Added forum support link so users can get help via the WordPress.org support forum.

= 1.1.1 =
* Added an Upgrade / Pricing page so users can view premium plans and start a free trial. All free features remain unchanged.

= 1.1.0 =
* Added an optional upgrade path for premium plans. The free plugin remains fully functional; opt-in is optional and not required to use any free feature.

= 1.0.1 =
* Fixed missing affiliate URL generation for KNT (Kinki Nippon Tourist).
* Fixed button display order (KNT now appears after JTB).

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.1.3 =
Adds a trial CTA banner on the settings page for free users.

= 1.1.2 =
Improves Japanese wording for the trial promotion and dialog. Adds forum support link.

= 1.1.1 =
Adds an Upgrade / Pricing page with a free trial option. Free features are unchanged.

= 1.1.0 =
Adds an optional upgrade path for premium plans. All free features remain unchanged and opt-in is optional.

= 1.0.1 =
Fixes affiliate URL and button order for KNT (Kinki Nippon Tourist).

= 1.0.0 =
Initial release.
