Changeset 3730075
- Timestamp:
- 10/06/2026 05:53:09 AM (3 weeks ago)
- Location:
- yadokko-hotel-cards
- Files:
-
- 20 added
- 8 edited
- 1 copied
-
tags/1.2.0 (copied) (copied from yadokko-hotel-cards/trunk )
-
tags/1.2.0/admin/css/admin.css (modified) (1 diff)
-
tags/1.2.0/blocks (added)
-
tags/1.2.0/blocks/hotel-card (added)
-
tags/1.2.0/blocks/hotel-card/block.json (added)
-
tags/1.2.0/blocks/hotel-card/editor.css (added)
-
tags/1.2.0/blocks/hotel-card/index.asset.php (added)
-
tags/1.2.0/blocks/hotel-card/index.js (added)
-
tags/1.2.0/blocks/hotel-card/index.php (added)
-
tags/1.2.0/blocks/index.php (added)
-
tags/1.2.0/readme.txt (modified) (5 diffs)
-
tags/1.2.0/src/AdminNotices.php (added)
-
tags/1.2.0/src/BlockEmbed.php (added)
-
tags/1.2.0/src/Plugin.php (modified) (2 diffs)
-
tags/1.2.0/yadokko-hotel-cards.php (modified) (2 diffs)
-
trunk/admin/css/admin.css (modified) (1 diff)
-
trunk/blocks (added)
-
trunk/blocks/hotel-card (added)
-
trunk/blocks/hotel-card/block.json (added)
-
trunk/blocks/hotel-card/editor.css (added)
-
trunk/blocks/hotel-card/index.asset.php (added)
-
trunk/blocks/hotel-card/index.js (added)
-
trunk/blocks/hotel-card/index.php (added)
-
trunk/blocks/index.php (added)
-
trunk/readme.txt (modified) (5 diffs)
-
trunk/src/AdminNotices.php (added)
-
trunk/src/BlockEmbed.php (added)
-
trunk/src/Plugin.php (modified) (2 diffs)
-
trunk/yadokko-hotel-cards.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
yadokko-hotel-cards/tags/1.2.0/admin/css/admin.css
r3694318 r3730075 630 630 color: #1d2327; 631 631 } 632 633 /* 管理画面の案内通知(AdminNotices) */ 634 .yad-notice .yad-notice__actions { 635 display: flex; 636 flex-wrap: wrap; 637 align-items: center; 638 gap: 8px; 639 } 640 .yad-notice .yad-notice__dismiss { 641 margin-left: 4px; 642 color: #646970; 643 } -
yadokko-hotel-cards/tags/1.2.0/readme.txt
r3728816 r3730075 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1. 1.27 Stable tag: 1.2.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 10 11 ホテル予約サイトへのリンクを1枚のカードにまとめ、 ショートコードで記事に埋め込めます。Hotel booking affiliate cards, embedded witha shortcode.11 ホテル予約サイトへのリンクを1枚のカードにまとめ、ブロックまたはショートコードで記事に埋め込めます。Hotel booking affiliate cards, embedded with a block or a shortcode. 12 12 13 13 == Description == 14 14 15 複数の予約サイトへのリンクを1枚のカードにまとめて、記事に ショートコードで埋め込めるプラグインです。旅行・ホテル系ブロガー向けに作られています。15 複数の予約サイトへのリンクを1枚のカードにまとめて、記事にブロックまたはショートコードで埋め込めるプラグインです。旅行・ホテル系ブロガー向けに作られています。 16 16 17 Yadokko Hotel Cards lets travel and hotel bloggers create a single, tidy card that links to several hotel booking services at once, and embed it in any post or page with a shortcode.17 Yadokko Hotel Cards lets travel and hotel bloggers create a single, tidy card that links to several hotel booking services at once, and embed it in any post or page with a block or a shortcode. 18 18 19 ホテルはカスタム投稿として一度だけ登録すれば、 `[yadokko id="123"]` で何度でも呼び出せます。カードにはホテルの写真・名称・住所・口コミ評価・最低価格が表示され、その下に予約サイトへのボタンが並びます。アフィリエイトのラッピング(バリューコマース・A8.net・楽天アフィリエイト)は設定画面で入力したIDから自動で適用され、未入力の場合は各サイトへ直接リンクします。19 ホテルはカスタム投稿として一度だけ登録すれば、「Yadokko ホテルカード」ブロックや `[yadokko id="123"]` で何度でも呼び出せます。カードにはホテルの写真・名称・住所・口コミ評価・最低価格が表示され、その下に予約サイトへのボタンが並びます。アフィリエイトのラッピング(バリューコマース・A8.net・楽天アフィリエイト)は設定画面で入力したIDから自動で適用され、未入力の場合は各サイトへ直接リンクします。 20 20 21 You register each hotel once as a custom post, then reuse it anywhere with `[yadokko id="123"]`. The card shows the hotel photo, name, address, review score and lowest price, followed by a row of booking buttons. Affiliate wrapping (ValueCommerce, A8.net, Rakuten Affiliate) is applied automatically from the IDs you enter in the settings; if you leave them blank the buttons link directly to each site.21 You register each hotel once as a custom post, then reuse it anywhere with the "Yadokko Hotel Card" block or `[yadokko id="123"]`. The card shows the hotel photo, name, address, review score and lowest price, followed by a row of booking buttons. Affiliate wrapping (ValueCommerce, A8.net, Rakuten Affiliate) is applied automatically from the IDs you enter in the settings; if you leave them blank the buttons link directly to each site. 22 22 23 23 Yadokko公式サイト: [https://www.yadokko.com/](https://www.yadokko.com/) … … 30 30 31 31 * ホテルをカスタム投稿タイプとして登録・管理 32 * ブロックエディタ対応:「Yadokko ホテルカード」ブロックからホテルを検索して挿入し、編集画面でそのままカードをプレビュー(楽天トラベルからその場で新規登録も可能) 32 33 * 楽天トラベルでホテル名検索し、写真・住所・口コミ評価・最低価格を自動取得 33 34 * 最低価格・口コミ評価を毎日自動更新(WP-Cron) … … 41 42 42 43 * Register and manage hotels as a custom post type 44 * Block editor support: search and insert a hotel from the "Yadokko Hotel Card" block and preview the real card in the editor (you can also register a new hotel from Rakuten Travel right there) 43 45 * Search Rakuten Travel by hotel name and import the photo, address, review score and lowest price 44 46 * Keep the lowest price and review score up to date automatically (daily WP-Cron) … … 74 76 2. wp-adminの「Yadokko」メニューを開き、ホテルを登録します。 / Open the "Yadokko" menu in wp-admin and register your hotels. 75 77 3. 「設定」で楽天のアプリID・アフィリエイトIDを入力します。 / In "Settings", enter your Rakuten application ID / access key and your affiliate IDs. 76 4. 記事やページに `[yadokko id="ホテルの投稿ID"]` を貼り付けます。 / Paste `[yadokko id="THE_HOTEL_POST_ID"]` into a post or page.78 4. ブロックエディタで「Yadokko ホテルカード」ブロックを追加してホテルを選びます。クラシックエディタでは `[yadokko id="ホテルの投稿ID"]` を貼り付けます。 / In the block editor, add the "Yadokko Hotel Card" block and pick a hotel. In the classic editor, paste `[yadokko id="THE_HOTEL_POST_ID"]`. 77 79 78 80 == External services == … … 151 153 == Changelog == 152 154 155 = 1.2.0 = 156 * Added the "Yadokko Hotel Card" block for the block editor. Search your registered hotels and insert one, or search Rakuten Travel and register a new hotel without leaving the editor. The real card is previewed in the editor. 157 * Existing `[yadokko id="…"]` shortcodes can be converted to the block, and back. 158 153 159 = 1.1.2 = 154 160 * The IHG official button now also appears when the hotel name includes "by IHG", so brands such as Vignette Collection are recognized even when the Rakuten hotel name omits the brand. -
yadokko-hotel-cards/tags/1.2.0/src/Plugin.php
r3694318 r3730075 33 33 ( new AssetLoader() )->register(); 34 34 ( new CardEmbed() )->register(); 35 // ブロックエディタ用ブロック(フロント描画・REST プレビューのため is_admin() の外で登録)。 36 ( new BlockEmbed() )->register(); 35 37 36 38 // クリック記録・カード表示回数の記録(全プラン)。 … … 57 59 ( new HotelRegister() )->register(); 58 60 ( new GlobalConfig() )->register(); 61 ( new AdminNotices() )->register(); 59 62 60 63 // レポート画面はプレミアム限定(無料版ビルドには ClickReport 本体が存在しない)。 -
yadokko-hotel-cards/tags/1.2.0/yadokko-hotel-cards.php
r3724661 r3730075 4 4 * Plugin Name: Yadokko Hotel Cards 5 5 * Plugin URI: https://yadokko.com/ 6 * Description: ホテル予約アフィリエイトカードを作成・管理するプラグイン。国内・海外・ホテル公式サイトの予約ボタンを1枚のカードにまとめ、記事に ショートコードで埋め込めます。7 * Version: 1. 1.26 * Description: ホテル予約アフィリエイトカードを作成・管理するプラグイン。国内・海外・ホテル公式サイトの予約ボタンを1枚のカードにまとめ、記事にブロックまたはショートコードで埋め込めます。 7 * Version: 1.2.0 8 8 * Requires at least: 6.2 9 9 * Requires PHP: 7.4 … … 23 23 |-------------------------------------------------------------------------- 24 24 */ 25 define( 'YADOKKO_VERSION', '1. 1.2' );25 define( 'YADOKKO_VERSION', '1.2.0' ); 26 26 define( 'YADOKKO_FILE', __FILE__ ); 27 27 define( 'YADOKKO_DIR', plugin_dir_path( __FILE__ ) ); -
yadokko-hotel-cards/trunk/admin/css/admin.css
r3694318 r3730075 630 630 color: #1d2327; 631 631 } 632 633 /* 管理画面の案内通知(AdminNotices) */ 634 .yad-notice .yad-notice__actions { 635 display: flex; 636 flex-wrap: wrap; 637 align-items: center; 638 gap: 8px; 639 } 640 .yad-notice .yad-notice__dismiss { 641 margin-left: 4px; 642 color: #646970; 643 } -
yadokko-hotel-cards/trunk/readme.txt
r3728816 r3730075 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1. 1.27 Stable tag: 1.2.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 10 11 ホテル予約サイトへのリンクを1枚のカードにまとめ、 ショートコードで記事に埋め込めます。Hotel booking affiliate cards, embedded witha shortcode.11 ホテル予約サイトへのリンクを1枚のカードにまとめ、ブロックまたはショートコードで記事に埋め込めます。Hotel booking affiliate cards, embedded with a block or a shortcode. 12 12 13 13 == Description == 14 14 15 複数の予約サイトへのリンクを1枚のカードにまとめて、記事に ショートコードで埋め込めるプラグインです。旅行・ホテル系ブロガー向けに作られています。15 複数の予約サイトへのリンクを1枚のカードにまとめて、記事にブロックまたはショートコードで埋め込めるプラグインです。旅行・ホテル系ブロガー向けに作られています。 16 16 17 Yadokko Hotel Cards lets travel and hotel bloggers create a single, tidy card that links to several hotel booking services at once, and embed it in any post or page with a shortcode.17 Yadokko Hotel Cards lets travel and hotel bloggers create a single, tidy card that links to several hotel booking services at once, and embed it in any post or page with a block or a shortcode. 18 18 19 ホテルはカスタム投稿として一度だけ登録すれば、 `[yadokko id="123"]` で何度でも呼び出せます。カードにはホテルの写真・名称・住所・口コミ評価・最低価格が表示され、その下に予約サイトへのボタンが並びます。アフィリエイトのラッピング(バリューコマース・A8.net・楽天アフィリエイト)は設定画面で入力したIDから自動で適用され、未入力の場合は各サイトへ直接リンクします。19 ホテルはカスタム投稿として一度だけ登録すれば、「Yadokko ホテルカード」ブロックや `[yadokko id="123"]` で何度でも呼び出せます。カードにはホテルの写真・名称・住所・口コミ評価・最低価格が表示され、その下に予約サイトへのボタンが並びます。アフィリエイトのラッピング(バリューコマース・A8.net・楽天アフィリエイト)は設定画面で入力したIDから自動で適用され、未入力の場合は各サイトへ直接リンクします。 20 20 21 You register each hotel once as a custom post, then reuse it anywhere with `[yadokko id="123"]`. The card shows the hotel photo, name, address, review score and lowest price, followed by a row of booking buttons. Affiliate wrapping (ValueCommerce, A8.net, Rakuten Affiliate) is applied automatically from the IDs you enter in the settings; if you leave them blank the buttons link directly to each site.21 You register each hotel once as a custom post, then reuse it anywhere with the "Yadokko Hotel Card" block or `[yadokko id="123"]`. The card shows the hotel photo, name, address, review score and lowest price, followed by a row of booking buttons. Affiliate wrapping (ValueCommerce, A8.net, Rakuten Affiliate) is applied automatically from the IDs you enter in the settings; if you leave them blank the buttons link directly to each site. 22 22 23 23 Yadokko公式サイト: [https://www.yadokko.com/](https://www.yadokko.com/) … … 30 30 31 31 * ホテルをカスタム投稿タイプとして登録・管理 32 * ブロックエディタ対応:「Yadokko ホテルカード」ブロックからホテルを検索して挿入し、編集画面でそのままカードをプレビュー(楽天トラベルからその場で新規登録も可能) 32 33 * 楽天トラベルでホテル名検索し、写真・住所・口コミ評価・最低価格を自動取得 33 34 * 最低価格・口コミ評価を毎日自動更新(WP-Cron) … … 41 42 42 43 * Register and manage hotels as a custom post type 44 * Block editor support: search and insert a hotel from the "Yadokko Hotel Card" block and preview the real card in the editor (you can also register a new hotel from Rakuten Travel right there) 43 45 * Search Rakuten Travel by hotel name and import the photo, address, review score and lowest price 44 46 * Keep the lowest price and review score up to date automatically (daily WP-Cron) … … 74 76 2. wp-adminの「Yadokko」メニューを開き、ホテルを登録します。 / Open the "Yadokko" menu in wp-admin and register your hotels. 75 77 3. 「設定」で楽天のアプリID・アフィリエイトIDを入力します。 / In "Settings", enter your Rakuten application ID / access key and your affiliate IDs. 76 4. 記事やページに `[yadokko id="ホテルの投稿ID"]` を貼り付けます。 / Paste `[yadokko id="THE_HOTEL_POST_ID"]` into a post or page.78 4. ブロックエディタで「Yadokko ホテルカード」ブロックを追加してホテルを選びます。クラシックエディタでは `[yadokko id="ホテルの投稿ID"]` を貼り付けます。 / In the block editor, add the "Yadokko Hotel Card" block and pick a hotel. In the classic editor, paste `[yadokko id="THE_HOTEL_POST_ID"]`. 77 79 78 80 == External services == … … 151 153 == Changelog == 152 154 155 = 1.2.0 = 156 * Added the "Yadokko Hotel Card" block for the block editor. Search your registered hotels and insert one, or search Rakuten Travel and register a new hotel without leaving the editor. The real card is previewed in the editor. 157 * Existing `[yadokko id="…"]` shortcodes can be converted to the block, and back. 158 153 159 = 1.1.2 = 154 160 * The IHG official button now also appears when the hotel name includes "by IHG", so brands such as Vignette Collection are recognized even when the Rakuten hotel name omits the brand. -
yadokko-hotel-cards/trunk/src/Plugin.php
r3694318 r3730075 33 33 ( new AssetLoader() )->register(); 34 34 ( new CardEmbed() )->register(); 35 // ブロックエディタ用ブロック(フロント描画・REST プレビューのため is_admin() の外で登録)。 36 ( new BlockEmbed() )->register(); 35 37 36 38 // クリック記録・カード表示回数の記録(全プラン)。 … … 57 59 ( new HotelRegister() )->register(); 58 60 ( new GlobalConfig() )->register(); 61 ( new AdminNotices() )->register(); 59 62 60 63 // レポート画面はプレミアム限定(無料版ビルドには ClickReport 本体が存在しない)。 -
yadokko-hotel-cards/trunk/yadokko-hotel-cards.php
r3724661 r3730075 4 4 * Plugin Name: Yadokko Hotel Cards 5 5 * Plugin URI: https://yadokko.com/ 6 * Description: ホテル予約アフィリエイトカードを作成・管理するプラグイン。国内・海外・ホテル公式サイトの予約ボタンを1枚のカードにまとめ、記事に ショートコードで埋め込めます。7 * Version: 1. 1.26 * Description: ホテル予約アフィリエイトカードを作成・管理するプラグイン。国内・海外・ホテル公式サイトの予約ボタンを1枚のカードにまとめ、記事にブロックまたはショートコードで埋め込めます。 7 * Version: 1.2.0 8 8 * Requires at least: 6.2 9 9 * Requires PHP: 7.4 … … 23 23 |-------------------------------------------------------------------------- 24 24 */ 25 define( 'YADOKKO_VERSION', '1. 1.2' );25 define( 'YADOKKO_VERSION', '1.2.0' ); 26 26 define( 'YADOKKO_FILE', __FILE__ ); 27 27 define( 'YADOKKO_DIR', plugin_dir_path( __FILE__ ) );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)