{"id":13127,"date":"2026-07-06T13:20:44","date_gmt":"2026-07-06T04:20:44","guid":{"rendered":"https:\/\/code-plus.jp\/gp\/?p=13127"},"modified":"2026-07-10T09:51:31","modified_gmt":"2026-07-10T00:51:31","slug":"shopbox-13127","status":"publish","type":"post","link":"https:\/\/code-plus.jp\/gp\/shopbox-13127\/","title":{"rendered":"Rinker\u304c\u91cd\u3044\u30fb\u9762\u5012\u306a\u4eba\u3078\uff5c\u5546\u54c1\u30ea\u30f3\u30af\u3092\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\uff0b\u30d6\u30c3\u30af\u30de\u30fc\u30af\u30ec\u30c3\u30c8\u3067\u7206\u901f\u3067\u8cbc\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>WordPress\u3067\u5546\u54c1\u30ea\u30f3\u30af\u3092\u8cbc\u308b\u3068\u304d\u3001\u5b9a\u756a\u30d7\u30e9\u30b0\u30a4\u30f3\u300cRinker\u300d\u3092\u4f7f\u3063\u3066\u3044\u308b\u4eba\u306f\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u305f\u3060\u3001\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u307f\u308b\u3068\u300c\u5546\u54c1\u30ea\u30f3\u30af\u30921\u3064\u8cbc\u308b\u3060\u3051\u306a\u306e\u306b\u3001\u8a2d\u5b9a\u9805\u76ee\u304c\u591a\u304f\u3066\u6642\u9593\u304c\u304b\u304b\u308b\u300d\u3068\u611f\u3058\u305f\u3053\u3068\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\r\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Rinker\u3092\u3084\u3081\u3066\u3001<b class=\"fw-600\">\u81ea\u4f5c\u306e\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\uff0b\u30d6\u30c3\u30af\u30de\u30fc\u30af\u30ec\u30c3\u30c8<\/b>\u3067\u5546\u54c1\u30ea\u30f3\u30af\u3092\u7206\u901f\u3067\u8cbc\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002Amazon\u30fb\u697d\u5929\u30fbYahoo!\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0\u306e3\u30b7\u30e7\u30c3\u30d7\u306b\u5bfe\u5fdc\u3057\u3001\u30ab\u30b9\u30bf\u30e0\u30c6\u30fc\u30de\u3092\u4f7f\u3063\u3066\u3044\u308b\u4eba\u3001\u81ea\u5206\u3067HTML\u69cb\u9020\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3057\u305f\u3044\u4eba\u5411\u3051\u306e\u5185\u5bb9\u3067\u3059\u3002<\/p>\r\n\r\n<!-- \u2756\u76ee\u6b21\u30ea\u30b9\u30c8 -->\r\n<ul class=\"tocList mt-3r\" data-toc-id=\"js-tocBWGD\" style=\"height:28rem\"><\/ul>\r\n<ins class=\"tocBtn is-fixed\" data-toc-id=\"js-tocBWGD\"><\/ins>\r\n\r\n<hr class=\"separator mx-auto mt-3r\" \/>\r\n\r\n<h2 class=\"fz-xl\">\u306a\u305cRinker\u304c\u300c\u9762\u5012\u300d\u306b\u611f\u3058\u308b\u306e\u304b<\/h2>\r\n<p>Rinker\u306f\u3001\u5546\u54c1\u30c7\u30fc\u30bf\u3092\u4e00\u5143\u7ba1\u7406\u3067\u304d\u308b\u9ad8\u6a5f\u80fd\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u5546\u54c1\u30ea\u30f3\u30af\u30921\u3064\u767b\u9332\u3059\u308b\u3060\u3051\u3067\u3082\u3001\u5c02\u7528\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u3067\u5546\u54c1\u60c5\u5831\u30fbASIN\u30fb\u30bf\u30a4\u30c8\u30eb\u30fb\u5404\u30b7\u30e7\u30c3\u30d7\u306eURL\u30fb\u753b\u50cf\u306a\u3069\u3092\u5165\u529b\u3057\u3001\u751f\u6210\u3055\u308c\u305f\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u8a18\u4e8b\u306b\u8cbc\u308b\u3001\u3068\u3044\u3046\u624b\u9806\u3092\u8e0f\u3080\u5fc5\u8981\u304c\u3042\u308a\u3001\u3061\u3087\u3063\u3068\u3057\u305f\u5546\u54c1\u30ea\u30f3\u30af\u30921\u3064\u5165\u308c\u305f\u3044\u3060\u3051\u306e\u5834\u9762\u3067\u306f\u3001\u3053\u306e\u5de5\u7a0b\u304c\u91cd\u304f\u611f\u3058\u307e\u3059\u3002<\/p>\r\n<p>\u305d\u3053\u3067\u3001\u300c\u5546\u54c1\u30ea\u30f3\u30af\u3092\u8cbc\u308b\u300d\u3068\u3044\u3046\u4e00\u70b9\u306b\u7d5e\u3063\u3066\u3001\u81ea\u5206\u306e\u30c6\u30fc\u30de\u306b\u6700\u9069\u5316\u3057\u305f\u4ed5\u7d44\u307f\u3092\u81ea\u4f5c\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\r\n\r\n<hr class=\"separator mx-auto mt-3r\" \/>\r\n\r\n<h2 class=\"fz-xl\">\u5b8c\u6210\u30a4\u30e1\u30fc\u30b8\uff1a\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u8cbc\u308b\u3060\u3051<\/h2>\r\n<p>\u6700\u7d42\u7684\u306b\u3001\u8a18\u4e8b\u672c\u6587\u306b\u306f\u6b21\u306e\u3088\u3046\u306a\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3060\u3051\u3067\u6e08\u3080\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\r\n<pre><code class=\"language-\">&lsqb;amazon asin=\"B006T9B6R2\" brand=\"Anker\" title=\"USB 3.0 2-in-1 SD\u30ab\u30fc\u30c9\u30ea\u30fc\u30c0\u30fc \/ Micro SD\u30ab\u30fc\u30c9\u30ea\u30fc\u30c0\u30fc\" price=\"990\" img=\"\/wp-content\/uploads\/sample.jpg\"&rsqb;<\/code><\/pre>\r\n<p>\u3053\u308c\u304c\u3001\u6295\u7a3f\u3092\u4fdd\u5b58\u3057\u305f\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u3001\u81ea\u5206\u306e\u30c6\u30fc\u30de\u306e\u30af\u30e9\u30b9\u540d\u3092\u6301\u3063\u305fHTML\u306b\u81ea\u52d5\u5909\u63db\u3055\u308c\u307e\u3059\u3002\u30c7\u30b6\u30a4\u30f3\u306f\u81ea\u5206\u306eCSS\u3067\u81ea\u7531\u306b\u7d44\u3081\u308b\u306e\u3067\u3001\u30b5\u30a4\u30c8\u306e\u30c8\u30f3\u30de\u30ca\u306b\u591a\u304f\u306e\u99b4\u67d3\u307f\u307e\u3059\u3002\u3055\u3089\u306b\u5f8c\u8ff0\u3059\u308b\u30d6\u30c3\u30af\u30de\u30fc\u30af\u30ec\u30c3\u30c8\u3092\u4f7f\u3048\u3070\u3001\u3053\u306e\u5c5e\u6027\u306e\u5165\u529b\u3059\u3089\u307b\u307c\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\r\n\r\n<p class=\"mt-1r\"><b class=\"fw-600\">Amazon \u30b5\u30f3\u30d7\u30eb<\/b><\/p>\r\n<figure class=\"shopbox is-amazon mb-1.5r\"><picture class=\"shopbox-thumbnail\"><img decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/6108jujRa5L._AC_SX679_.jpg?ver=20260710095131\" alt=\"USB 3.0 2-in-1 SD\u30ab\u30fc\u30c9\u30ea\u30fc\u30c0\u30fc \/ Micro SD\u30ab\u30fc\u30c9\u30ea\u30fc\u30c0\u30fc\" loading=\"lazy\" \/><\/picture><span class=\"shopbox-brand\">Anker<\/span><h4 class=\"shopbox-title\">USB 3.0 2-in-1 SD\u30ab\u30fc\u30c9\u30ea\u30fc\u30c0\u30fc \/ Micro SD\u30ab\u30fc\u30c9\u30ea\u30fc\u30c0\u30fc<\/h4><p class=\"shopbox-price fz-lg\">990<u class=\"shopbox-price-unit\">&nbsp;\u5186<\/u><\/p><a href=\"https:\/\/www.amazon.co.jp\/dp\/B006T9B6R2\/?tag=sarap44-22\" class=\"shopbox-button button is-amazon is-solided is-success hvr-layInLeft\" target=\"_blank\" rel=\"nofollow sponsored noopener\">Amazon\u3067\u8a73\u7d30\u3092\u898b\u308b<\/a><\/figure>\r\n\r\n\r\n<p>\u697d\u5929\u30fbYahoo!\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0\u3082\u3001\u540c\u3058\u66f8\u304d\u5473\u3067\u8cbc\u308c\u307e\u3059\u3002<\/p>\r\n\r\n<p class=\"mt-1r\"><b class=\"fw-600\">\u697d\u5929 \u30b5\u30f3\u30d7\u30eb<\/b><\/p>\r\n<pre><code class=\"language-\">&lsqb;rakuten itemcode=\"ugreen-gear:70889\" brand=\"UGREEN\" title=\"USB\u5909\u63db\u30b1\u30fc\u30d6\u30eb Type C USB OTG \u30b1\u30fc\u30d6\u30eb TypeC Thunderbolt 3\u5bfe\u5fdc\" price=\"1399\" img=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/51exxsGHqL._AC_SY879_.jpg\"&rsqb;\r\n<\/code><\/pre>\r\n\r\n<figure class=\"shopbox is-rakuten mt-1r mb-1.5r\"><picture class=\"shopbox-thumbnail\"><img decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/51exxsGHqL._AC_SY879_.jpg?ver=20260710095131\" alt=\"USB\u5909\u63db\u30b1\u30fc\u30d6\u30eb Type C USB OTG \u30b1\u30fc\u30d6\u30eb TypeC Thunderbolt 3\u5bfe\u5fdc\" loading=\"lazy\" \/><\/picture><span class=\"shopbox-brand\">UGREEN<\/span><h4 class=\"shopbox-title\">USB\u5909\u63db\u30b1\u30fc\u30d6\u30eb Type C USB OTG \u30b1\u30fc\u30d6\u30eb TypeC Thunderbolt 3\u5bfe\u5fdc<\/h4><p class=\"shopbox-price fz-lg\">1,399<u class=\"shopbox-price-unit\">&nbsp;\u5186<\/u><\/p><a href=\"https:\/\/hb.afl.rakuten.co.jp\/ichiba\/5146b7fc.79b53cb9.5146b7fd.3553af10\/?pc=https%3A%2F%2Fitem.rakuten.co.jp%2Fugreen-gear%2F70889%2F&#038;m=https%3A%2F%2Fitem.rakuten.co.jp%2Fugreen-gear%2F70889%2F\" class=\"shopbox-button button is-rakuten is-solided is-success hvr-layInLeft\" target=\"_blank\" rel=\"nofollow sponsored noopener\">\u697d\u5929\u5e02\u5834\u3067\u8a73\u7d30\u3092\u898b\u308b<\/a><\/figure>\r\n\r\n<p class=\"mt-1r\"><b class=\"fw-600\">Yahoo!\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0 \u30b5\u30f3\u30d7\u30eb<\/b><\/p>\r\n<pre><code class=\"language-\">&lsqb;yshopping href=\"https:\/\/store.shopping.yahoo.co.jp\/ebisstore333\/eb931db04110.html\" brand=\"UGREEN\" title=\"USB Type C \u30b1\u30fc\u30d6\u30eb \u30ca\u30a4\u30ed\u30f3\u7de8\u307f 3A\u6025\u901f\u5145\u96fb Quick Charge 3.0\/2.0\u5bfe\u5fdc\" price=\"1351\" img=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/61dOb3gAxL._AC_SY606_.jpg\"&rsqb;<\/code><\/pre>\r\n\r\n<figure class=\"shopbox is-yahoo mt-1r mb-1.5r\"><picture class=\"shopbox-thumbnail\"><img decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/61dOb3gAxL._AC_SY606_.jpg?ver=20260710095131\" alt=\"USB Type C \u30b1\u30fc\u30d6\u30eb \u30ca\u30a4\u30ed\u30f3\u7de8\u307f 3A\u6025\u901f\u5145\u96fb Quick Charge 3.0\/2.0\u5bfe\u5fdc\" loading=\"lazy\" \/><\/picture><span class=\"shopbox-brand\">UGREEN<\/span><h4 class=\"shopbox-title\">USB Type C \u30b1\u30fc\u30d6\u30eb \u30ca\u30a4\u30ed\u30f3\u7de8\u307f 3A\u6025\u901f\u5145\u96fb Quick Charge 3.0\/2.0\u5bfe\u5fdc<\/h4><p class=\"shopbox-price fz-lg\">1,351<u class=\"shopbox-price-unit\">&nbsp;\u5186<\/u><\/p><a href=\"https:\/\/ck.jp.ap.valuecommerce.com\/servlet\/referral?sid=3763897&#038;pid=892653957&#038;vc_url=https%3A%2F%2Fstore.shopping.yahoo.co.jp%2Febisstore333%2Feb931db04110.html\" class=\"shopbox-button button is-yahoo is-solided is-success hvr-layInLeft\" target=\"_blank\" rel=\"nofollow sponsored noopener\">Yahoo!\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0\u3067\u898b\u308b<\/a><\/figure>\r\n\r\n\r\n\r\n\r\n<hr class=\"separator mx-auto mt-3r\" \/>\r\n\r\n<h2 class=\"fz-xl\">\u4ed5\u7d44\u307f\u306e\u5168\u4f53\u50cf<\/h2>\r\n<p>\u4f5c\u3063\u305f\u4ed5\u7d44\u307f\u306f\u3001\u5927\u304d\u304f3\u3064\u306e\u30d1\u30fc\u30c8\u306b\u5206\u304b\u308c\u307e\u3059\u3002<\/p>\r\n<p>\u3072\u3068\u3064\u76ee\u306f\u3001<code>&lsqb;amazon&rsqb;<\/code>\u30fb<code>&lsqb;rakuten&rsqb;<\/code>\u30fb<code>&lsqb;yshopping&rsqb;<\/code>\u3068\u3044\u30463\u3064\u306e\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3067\u3059\u3002\u3044\u305a\u308c\u3082\u5c5e\u6027\uff08\u30d6\u30e9\u30f3\u30c9\u30fb\u30bf\u30a4\u30c8\u30eb\u30fb\u4fa1\u683c\u30fb\u753b\u50cf\uff09\u3092\u53d7\u3051\u53d6\u308a\u3001\u30a2\u30d5\u30a3\u30ea\u30a8\u30a4\u30c8\u30ea\u30f3\u30af\u4ed8\u304d\u306eHTML\u306b\u6574\u5f62\u3057\u307e\u3059\u3002<br class=\"d-none_sp\" \/>\u3075\u305f\u3064\u76ee\u306f\u3001\u6295\u7a3f\u4fdd\u5b58\u6642\u306b\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u56fa\u5b9aHTML\u3078\u5909\u63db\u3059\u308b\u51e6\u7406\u3067\u3059\u3002<br class=\"d-none_sp\" \/>\u307f\u3063\u3064\u76ee\u306f\u3001\u5404\u30b7\u30e7\u30c3\u30d7\u306e\u5546\u54c1\u30da\u30fc\u30b8\u304b\u3089\u5c5e\u6027\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b\u30d6\u30c3\u30af\u30de\u30fc\u30af\u30ec\u30c3\u30c8\u3067\u3059\u3002<\/p>\r\n\r\n<h3 class=\"fz-ml\">\u306a\u305c\u300cAPI\u300d\u3067\u306f\u306a\u304f\u300c\u624b\u5165\u529b\uff0b\u30d6\u30c3\u30af\u30de\u30fc\u30af\u30ec\u30c3\u30c8\u300d\u306a\u306e\u304b<\/h3>\r\n<p>\u5546\u54c1\u30ea\u30f3\u30af\u306e\u81ea\u52d5\u5316\u3068\u3044\u3046\u3068\u3001\u5404\u30b7\u30e7\u30c3\u30d7\u306e\u5546\u54c1\u60c5\u5831API\u3092\u4f7f\u3046\u65b9\u6cd5\u3092\u601d\u3044\u6d6e\u304b\u3079\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u5b9f\u969b\u3001\u5f53\u521d\u306f\u697d\u5929\u306e\u5546\u54c1\u691c\u7d22API\u3092\u4f7f\u3046\u5b9f\u88c5\u3082\u8a66\u3057\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u6700\u7d42\u7684\u306bAPI\u3092\u3084\u3081\u3066\u3001\u5168\u30b7\u30e7\u30c3\u30d7\u3092\u300c\u30d6\u30c3\u30af\u30de\u30fc\u30af\u30ec\u30c3\u30c8\u3067\u5c5e\u6027\u3092\u751f\u6210\u3057\u3001\u624b\u5165\u529b\uff08\u8cbc\u308a\u4ed8\u3051\uff09\u3059\u308b\u65b9\u5f0f\u300d\u306b\u7d71\u4e00\u3057\u307e\u3057\u305f\u3002\u7406\u7531\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u3002<\/p>\r\n\r\n<p class=\"mt-1r\">\u307e\u305aAmazon\u306f\u3001\u5546\u54c1\u60c5\u5831\u3092\u6b63\u898f\u306b\u53d6\u5f97\u3059\u308b\u624b\u6bb5\u304c\u300cProduct Advertising API\uff08PA-API\uff09\u300d\u306b\u9650\u3089\u308c\u3066\u304a\u308a\u3001\u3053\u306eAPI\u306f\u5229\u7528\u6761\u4ef6\u304c\u53b3\u3057\u304f\u3001\u76f4\u8fd1\u3067\u4e00\u5b9a\u6570\u306e\u58f2\u4e0a\u304c\u306a\u3044\u3068\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\u3002\u304b\u3068\u3044\u3063\u3066\u5546\u54c1\u30da\u30fc\u30b8\u3092\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u53d6\u5f97\uff08\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\uff09\u3057\u3066\u753b\u50cf\u3084\u4fa1\u683c\u3092\u629c\u304d\u51fa\u3059\u884c\u70ba\u306f\u3001Amazon\u30a2\u30bd\u30b7\u30a8\u30a4\u30c8\u306e\u898f\u7d04\u3067\u7981\u6b62\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5546\u54c1\u753b\u50cf\u306e\u76f4\u30ea\u30f3\u30af\uff08\u30db\u30c3\u30c8\u30ea\u30f3\u30af\uff09\u3082\u540c\u69d8\u306b\u898f\u7d04\u9055\u53cd\u3067\u3059\u3002\u305d\u306e\u305f\u3081\u3001Amazon\u306f\u6700\u521d\u304b\u3089\u624b\u5165\u529b\u65b9\u5f0f\u306b\u305b\u3056\u308b\u3092\u5f97\u307e\u305b\u3093\u3002<\/p>\r\n\r\n<p class=\"mt-1r\">\u697d\u5929\u306f\u3082\u3068\u3082\u3068\u7121\u6599\u306e\u5546\u54c1\u691c\u7d22API\u304c\u4f7f\u3048\u305f\u306e\u3067\u3059\u304c\u30012026\u5e74\u306bAPI\u304c\u5237\u65b0\u3055\u308c\u3001\u8a8d\u8a3c\u65b9\u5f0f\u304c\u8907\u96d1\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u65b0\u3057\u3044API\u306f\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u306e\u4ed8\u4e0e\u3084\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u5143\u306e\u30c9\u30e1\u30a4\u30f3\u30fbIP\u30a2\u30c9\u30ec\u30b9\u306e\u767b\u9332\u304c\u5fc5\u8981\u306b\u306a\u308a\u3001\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u53e9\u304f\u306b\u306f\u8a2d\u5b9a\u3068\u904b\u7528\u306e\u30cf\u30fc\u30c9\u30eb\u304c\u4e0a\u304c\u3063\u3066\u3044\u307e\u3059\u3002\u3057\u304b\u3082\u3001\u3053\u3046\u3057\u305fAPI\u306f\u63d0\u4f9b\u5074\u306e\u90fd\u5408\u3067\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304c\u5909\u308f\u3063\u305f\u308a\u5ec3\u6b62\u3055\u308c\u305f\u308a\u3059\u308b\u305f\u3081\u3001\u4f9d\u5b58\u3059\u308b\u3068\u4fdd\u5b88\u30b3\u30b9\u30c8\u304c\u8aad\u3081\u307e\u305b\u3093\u3002<\/p>\r\n\r\n<p class=\"mt-1r\">\u4e00\u65b9\u3001\u30d6\u30c3\u30af\u30de\u30fc\u30af\u30ec\u30c3\u30c8\uff0b\u624b\u5165\u529b\u65b9\u5f0f\u306a\u3089\u3001API\u306e\u8a8d\u8a3c\u30fbIP\u5236\u9650\u30fb\u4ed5\u69d8\u5909\u66f4\u306b\u4e00\u5207\u632f\u308a\u56de\u3055\u308c\u307e\u305b\u3093\u3002\u305d\u3057\u3066\u91cd\u8981\u306a\u306e\u306f\u3001\u3053\u306e\u65b9\u5f0f\u3067\u306f<b class=\"fw-600\">\u4fdd\u5b58\u6642\u306b\u4e00\u5ea6\u3060\u3051HTML\u3078\u56fa\u5b9a\u5909\u63db\u3059\u308b<\/b>\u305f\u3081\u3001\u8868\u793a\u6642\u306b\u306fAPI\u3092\u53e9\u304f\u5fc5\u8981\u304c\u306a\u304f\u3001\u78ba\u5b9a\u6e08\u307f\u306eHTML\u3092\u8aad\u3080\u3060\u3051\u306b\u306a\u308b\u70b9\u3067\u3059\u3002<b class=\"fw-600\">\u8868\u793a\u304c\u8efd\u304f\u3001\u304b\u3064\u58ca\u308c\u306b\u304f\u3044\u3002<\/b>\u7d50\u679c\u7684\u306b\u30013\u30b7\u30e7\u30c3\u30d7\u3068\u3082\u540c\u3058\u8a2d\u8a08\u30fb\u540c\u3058\u904b\u7528\u306b\u7d71\u4e00\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\r\n<p class=\"mt-1r\">\u753b\u50cf\u306b\u3064\u3044\u3066\u3082\u3001\u5404\u30b7\u30e7\u30c3\u30d7\u306e\u753b\u50cf\u3092\u76f4\u30ea\u30f3\u30af\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u81ea\u5206\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u81ea\u30b5\u30a4\u30c8\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u3082\u306e\u3092\u4f7f\u3044\u307e\u3059\u3002\u3053\u308c\u304c\u898f\u7d04\u7684\u306b\u5b89\u5168\u306a\u65b9\u6cd5\u3067\u3059\u3002<\/p>\r\n\r\n<hr class=\"separator mx-auto mt-3r\" \/>\r\n\r\n<h2 class=\"fz-xl\">\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u306e\u5b9f\u88c5<\/h2>\r\n<p>\u5b9f\u88c5\u306e\u30b3\u30a2\u306f\u3001\u6295\u7a3f\u4fdd\u5b58\u6642\uff08<code>save_post<\/code>\u30d5\u30c3\u30af\uff09\u306b\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u691c\u51fa\u3057\u3001\u56fa\u5b9aHTML\u3078\u7f6e\u304d\u63db\u3048\u308b\u51e6\u7406\u3067\u3059\u3002\u65e2\u5b58\u306e\u30ea\u30f3\u30af\u30dc\u30c3\u30af\u30b9\u6a5f\u80fd\u3068\u540c\u3058\u300c\u4fdd\u5b58\u6642\u306bHTML\u3078\u56fa\u5b9a\u5909\u63db\u3059\u308b\u300d\u601d\u60f3\u3092\u8e0f\u8972\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n<p class=\"mt-1r\">\u4fdd\u5b58\u6642\u306b\u4e00\u5ea6\u3060\u3051\u5909\u63db\u3059\u308b\u3053\u3068\u3067\u3001<b class=\"fw-600\">\u8868\u793a\u306e\u305f\u3073\u306b\u51e6\u7406\u3092\u8d70\u3089\u305b\u308b\u5fc5\u8981\u304c\u306a\u304f\u306a\u308a\u3001\u8868\u793a\u304c\u8efd\u304f\u306a\u308a\u307e\u3059\u3002<\/b>\u7121\u9650\u30eb\u30fc\u30d7\u3092\u9632\u3050\u305f\u3081\u3001\u5909\u63db\u51e6\u7406\u4e2d\u306f\u30d5\u30e9\u30b0\uff08transient\uff09\u3092\u7acb\u3066\u3001<code>wp_update_post<\/code>\u3092\u547c\u3076\u524d\u306b\u4e00\u6642\u7684\u306b\u30d5\u30c3\u30af\u3092\u5916\u3059\u3001\u3068\u3044\u3046\u5b9a\u756a\u306e\u5bfe\u7b56\u3082\u5165\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n<p class=\"mt-1r\">\u5404\u30b7\u30e7\u30c3\u30d7\u3068\u3082\u3001\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u306e\u5c5e\u6027\u3092\u53d7\u3051\u53d6\u308a\u3001\u30a2\u30d5\u30a3\u30ea\u30a8\u30a4\u30c8\u30ea\u30f3\u30af\u3092\u7d44\u307f\u7acb\u3066\u3066\u3001\u81ea\u5206\u306e\u30c6\u30fc\u30de\u306e\u30af\u30e9\u30b9\u540d\u3092\u6301\u3063\u305fHTML\u3092\u751f\u6210\u3057\u307e\u3059\u3002Amazon\u306fASIN\u306b\u30a2\u30d5\u30a3\u30ea\u30a8\u30a4\u30c8\u30bf\u30b0\uff08<code>?tag=<\/code>\uff09\u3092\u4ed8\u4e0e\u3057\u3001\u697d\u5929\u306f\u30a2\u30d5\u30a3\u30ea\u30a8\u30a4\u30c8ID\u3092\u4f7f\u3063\u3066<code>hb.afl.rakuten.co.jp<\/code>\u5f62\u5f0f\u306e\u30ea\u30f3\u30af\u3092\u751f\u6210\u3001Yahoo\u306f\u30d0\u30ea\u30e5\u30fc\u30b3\u30de\u30fc\u30b9\u7d4c\u7531\u306e\u30ea\u30f3\u30af\u3092\u7d44\u307f\u7acb\u3066\u307e\u3059\u3002ASIN\u3084itemCode\u306f\u3001\u5c02\u7528\u5c5e\u6027\u3067\u76f4\u63a5\u6307\u5b9a\u3067\u304d\u308b\u307b\u304b\u3001\u5546\u54c1\u30da\u30fc\u30b8URL\u3092<code>href=<\/code>\u3067\u6e21\u305b\u3070\u81ea\u52d5\u62bd\u51fa\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\r\n\r\n<p class=\"mt-1r\">\u30a2\u30d5\u30a3\u30ea\u30a8\u30a4\u30c8ID\u3068\u3044\u3063\u305f\u8a8d\u8a3c\u60c5\u5831\u306f\u3001\u30b3\u30fc\u30c9\u306e\u5192\u982d\u3067\u5b9a\u6570\u3068\u3057\u3066\u5b9a\u7fa9\u3057\u3001\u516c\u958b\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30b3\u30df\u30c3\u30c8\u3057\u306a\u3044\u3088\u3046\u5206\u96e2\u3057\u3066\u304a\u304f\u306e\u304c\u5b89\u5168\u3067\u3059\u3002<\/p>\r\n\r\n<h3 class=\"fz-ml\">\u5b9f\u969b\u306e\u30b3\u30fc\u30c9<\/h3>\r\n<p>\u4ee5\u4e0b\u304c\u3001<code>functions.php<\/code>\uff08\u307e\u305f\u306f\u305d\u3053\u304b\u3089\u8aad\u307f\u8fbc\u3080<code>shortcodes.php<\/code>\uff09\u306b\u8ffd\u52a0\u3059\u308b\u30b3\u30fc\u30c9\u306e\u5168\u4f53\u3067\u3059\u3002\u5192\u982d\u306e\u5b9a\u6570\u3092\u3001\u81ea\u5206\u306e\u74b0\u5883\u306e\u5024\u306b\u7f6e\u304d\u63db\u3048\u3066\u4f7f\u3044\u307e\u3059\u3002\u697d\u5929\u30fbYahoo\u306eID\u306f\u3001\u4f7f\u3046\u3068\u304d\u306b\u8a2d\u5b9a\u3059\u308c\u3070\u3088\u304f\u3001\u672a\u8a2d\u5b9a\u3067\u3082Amazon\u306f\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\r\n<p>\u306a\u304a\u3001\u51fa\u529b\u3055\u308c\u308bHTML\u306e\u30af\u30e9\u30b9\u540d\uff08<code>shopbox<\/code>\u306a\u3069\uff09\u306f\u81ea\u5206\u306e\u30c6\u30fc\u30de\u306b\u5408\u308f\u305b\u305f\u3082\u306e\u306a\u306e\u3067\u3001\u305d\u306e\u307e\u307e\u3067\u306f\u306a\u304f\u3001\u5404\u81ea\u306e\u30af\u30e9\u30b9\u8a2d\u8a08\u306b\u8aad\u307f\u66ff\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u540d\u306f<code>&lsqb;yshopping&rsqb;<\/code>\u3067\u3059\u304c\u3001\u51fa\u529b\u306eCSS\u30af\u30e9\u30b9\u306f<code>is-yahoo<\/code>\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u5c06\u6765\u30e4\u30d5\u30aa\u30af\u306a\u3069Yahoo\u7cfb\u30b5\u30fc\u30d3\u30b9\u3092\u8db3\u3057\u305f\u3068\u304d\u3001\u30dc\u30bf\u30f3\u8272\u306a\u3069\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u5171\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\r\n<pre><code class=\"language-php\">&lt;?php \/\/\uff08functions.php \/ shortcodes.php \u306b\u8ffd\u52a0\uff09\r\n\r\n\/* -----------------------------------------------------------\r\n * \u8a2d\u5b9a\uff1a\u30a2\u30d5\u30a3\u30ea\u30a8\u30a4\u30c8ID\uff08\u81ea\u5206\u306e\u74b0\u5883\u306e\u5024\u306b\u7f6e\u304d\u63db\u3048\u308b\u3002\u516c\u958b\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30b3\u30df\u30c3\u30c8\u3057\u306a\u3044\u3053\u3068\uff09\r\n * --------------------------------------------------------- *\/\r\nif (!defined('AMAZON_ASSOCIATE_TAG')) {\r\n  define('AMAZON_ASSOCIATE_TAG', 'xxxxxxxx-22'); \/\/ Amazon\u30a2\u30bd\u30b7\u30a8\u30a4\u30c8\u30bf\u30b0\r\n}\r\nif (!defined('RAKUTEN_AFFILIATE_ID')) {\r\n  define('RAKUTEN_AFFILIATE_ID', 'YOUR_RAKUTEN_AFFILIATE_ID'); \/\/ \u697d\u5929\u30a2\u30d5\u30a3\u30ea\u30a8\u30a4\u30c8ID\uff08xxxx.xxxx.xxxx.xxxx\uff09\r\n}\r\nif (!defined('YAHOO_VALUECOMMERCE_SID')) {\r\n  define('YAHOO_VALUECOMMERCE_SID', ''); \/\/ \u30d0\u30ea\u30e5\u30fc\u30b3\u30de\u30fc\u30b9sid\uff08Yahoo\u3002\u7a7a\u306a\u3089\u7d20\u306eURL\uff09\r\n}\r\nif (!defined('YAHOO_VALUECOMMERCE_PID')) {\r\n  define('YAHOO_VALUECOMMERCE_PID', ''); \/\/ \u30d0\u30ea\u30e5\u30fc\u30b3\u30de\u30fc\u30b9pid\uff08Yahoo\uff09\r\n}\r\n\r\n\r\n\/* ===========================================================\r\n * \u4fdd\u5b58\u6642\u30d5\u30c3\u30af\uff1a<div style=\"border:2px dashed #f0a;padding:10px;margin:10px 0;\">\n<strong>Amazon\u30ea\u30f3\u30af\u30d7\u30ec\u30d3\u30e5\u30fc:<\/strong> ASIN= \/ <br>\n<small>\u203b\u4fdd\u5b58\u6642\u306b\u5546\u54c1\u30ea\u30f3\u30af\u30dc\u30c3\u30af\u30b9\u3078\u5909\u63db\u3055\u308c\u307e\u3059<\/small><\/div> \/ <div style=\"border:2px dashed #c00;padding:10px;margin:10px 0;\">\n<strong>\u697d\u5929\u30ea\u30f3\u30af\u30d7\u30ec\u30d3\u30e5\u30fc:<\/strong>  \/ <br>\n<small>\u203b\u4fdd\u5b58\u6642\u306b\u5546\u54c1\u30ea\u30f3\u30af\u30dc\u30c3\u30af\u30b9\u3078\u5909\u63db\u3055\u308c\u307e\u3059<\/small><\/div> \/ <div style=\"border:2px dashed #609;padding:10px;margin:10px 0;\">\n<strong>Yahoo\u30ea\u30f3\u30af\u30d7\u30ec\u30d3\u30e5\u30fc:<\/strong>  \/ <br>\n<small>\u203b\u4fdd\u5b58\u6642\u306b\u5546\u54c1\u30ea\u30f3\u30af\u30dc\u30c3\u30af\u30b9\u3078\u5909\u63db\u3055\u308c\u307e\u3059<\/small><\/div>]+)]\/',    'convert_single_amazon_to_html',    $updated_content);\r\n  $updated_content = preg_replace_callback('\/[rakutens+([^]]+)]\/',   'convert_single_rakuten_to_html',   $updated_content);\r\n  $updated_content = preg_replace_callback('\/[yshoppings+([^]]+)]\/', 'convert_single_yshopping_to_html', $updated_content);\r\n\r\n  if ($updated_content !== $content) {\r\n    remove_action('save_post', 'convert_product_shortcodes_to_html', 10);\r\n    wp_update_post(array('ID' =&gt; $post_id, 'post_content' =&gt; $updated_content));\r\n    add_action('save_post', 'convert_product_shortcodes_to_html', 10, 3);\r\n  }\r\n\r\n  delete_transient('product_linkbox_processing_' . $post_id);\r\n}\r\n\r\n\r\n\/* -----------------------------------------------------------\r\n * \u5c5e\u6027\u6587\u5b57\u5217\u3092\u914d\u5217\u306b\u30d1\u30fc\u30b9\u3059\u308b\u7c21\u6613\u30d8\u30eb\u30d1\u30fc\r\n * --------------------------------------------------------- *\/\r\nfunction product_parse_shortcode_atts($atts_string)\r\n{\r\n  $atts = array();\r\n  if (preg_match_all('\/(w+)s*=s*[\"']([^\"']*)[\"']\/', $atts_string, $m, PREG_SET_ORDER)) {\r\n    foreach ($m as $pair) {\r\n      $atts[strtolower($pair[1])] = trim($pair[2]);\r\n    }\r\n  }\r\n  return $atts;\r\n}\r\n\r\n\r\n\/* ===========================================================\r\n * Amazon\r\n * ========================================================= *\/\r\nfunction convert_single_amazon_to_html($matches)\r\n{\r\n  $atts = product_parse_shortcode_atts($matches[1]);\r\n\r\n  $asin = isset($atts['asin']) ? trim($atts['asin']) : '';\r\n  if ($asin === '' &amp;&amp; !empty($atts['href'])) {\r\n    $asin = amazon_extract_asin_from_url($atts['href']);\r\n  }\r\n  if ($asin === '') {\r\n    return '&lt;p&gt;Amazon: ASIN \u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002&lt;\/p&gt;';\r\n  }\r\n\r\n  $url = 'https:\/\/www.amazon.co.jp\/dp\/' . rawurlencode($asin) . '\/';\r\n  if (AMAZON_ASSOCIATE_TAG !== '') {\r\n    $url = add_query_arg('tag', AMAZON_ASSOCIATE_TAG, $url);\r\n  }\r\n\r\n  return build_product_linkbox_html(array(\r\n    'shop'       =&gt; 'amazon',\r\n    'shop_label' =&gt; 'Amazon\u3067\u8a73\u7d30\u3092\u898b\u308b',\r\n    'url'        =&gt; $url,\r\n    'brand'      =&gt; isset($atts['brand']) ? $atts['brand'] : '',\r\n    'title'      =&gt; isset($atts['title']) ? $atts['title'] : '',\r\n    'price'      =&gt; isset($atts['price']) ? $atts['price'] : '',\r\n    'img'        =&gt; isset($atts['img'])   ? $atts['img']   : '',\r\n  ));\r\n}\r\n\r\nfunction amazon_extract_asin_from_url($url)\r\n{\r\n  if (preg_match('#\/(?:dp|gp\/product|gp\/aw\/d|exec\/obidos\/asin)\/([A-Z0-9]{10})#i', $url, $m)) {\r\n    return strtoupper($m[1]);\r\n  }\r\n  if (preg_match('#\/([A-Z0-9]{10})(?:[\/?]|$)#i', $url, $m)) {\r\n    return strtoupper($m[1]);\r\n  }\r\n  return '';\r\n}\r\n\r\n\r\n\/* ===========================================================\r\n * \u697d\u5929\uff08\u5c5e\u6027\u3092\u6574\u5f62\uff0b\u30a2\u30d5\u30a3\u30ea\u30a8\u30a4\u30c8URL\u3092\u81ea\u524d\u751f\u6210\uff09\r\n * ========================================================= *\/\r\nfunction convert_single_rakuten_to_html($matches)\r\n{\r\n  $atts = product_parse_shortcode_atts($matches[1]);\r\n\r\n  $item_url = !empty($atts['href']) ? trim($atts['href']) : '';\r\n  if ($item_url === '' &amp;&amp; !empty($atts['itemcode'])) {\r\n    $parts = explode(':', $atts['itemcode']);\r\n    if (count($parts) === 2) {\r\n      $item_url = 'https:\/\/item.rakuten.co.jp\/' . $parts[0] . '\/' . $parts[1] . '\/';\r\n    }\r\n  }\r\n  if ($item_url === '') {\r\n    return '&lt;p&gt;\u697d\u5929: \u5546\u54c1URL \/ itemCode \u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002&lt;\/p&gt;';\r\n  }\r\n\r\n  $url = rakuten_build_affiliate_url($item_url);\r\n\r\n  return build_product_linkbox_html(array(\r\n    'shop'       =&gt; 'rakuten',\r\n    'shop_label' =&gt; '\u697d\u5929\u5e02\u5834\u3067\u8a73\u7d30\u3092\u898b\u308b',\r\n    'url'        =&gt; $url,\r\n    'brand'      =&gt; isset($atts['brand']) ? $atts['brand'] : '',\r\n    'title'      =&gt; isset($atts['title']) ? $atts['title'] : '',\r\n    'price'      =&gt; isset($atts['price']) ? $atts['price'] : '',\r\n    'img'        =&gt; isset($atts['img'])   ? $atts['img']   : '',\r\n  ));\r\n}\r\n\r\n\/\/ \u697d\u5929\u30a2\u30d5\u30a3\u30ea\u30a8\u30a4\u30c8URL\u3092\u81ea\u524d\u751f\u6210\r\nfunction rakuten_build_affiliate_url($item_url)\r\n{\r\n  if ($item_url === '') {\r\n    return '';\r\n  }\r\n  if (strpos($item_url, 'hb.afl.rakuten.co.jp') !== false) {\r\n    return $item_url; \/\/ \u3059\u3067\u306b\u30a2\u30d5\u30a3\u30ea\u30a8\u30a4\u30c8URL\r\n  }\r\n  if (RAKUTEN_AFFILIATE_ID === '' || RAKUTEN_AFFILIATE_ID === 'YOUR_RAKUTEN_AFFILIATE_ID') {\r\n    return $item_url; \/\/ \u672a\u8a2d\u5b9a\u306a\u3089\u7d20\u306eURL\r\n  }\r\n  return 'https:\/\/hb.afl.rakuten.co.jp\/ichiba\/'\r\n    . RAKUTEN_AFFILIATE_ID . '\/?pc=' . rawurlencode($item_url)\r\n    . '&amp;m=' . rawurlencode($item_url);\r\n}\r\n\r\n\r\n\/* ===========================================================\r\n * Yahoo!\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0\uff08\u5c5e\u6027\u3092\u6574\u5f62\uff0b\u4efb\u610f\u3067VC\u30a2\u30d5\u30a3\u30ea\uff09\r\n * \u203b \u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u306f <div style=\"border:2px dashed #609;padding:10px;margin:10px 0;\">\n<strong>Yahoo\u30ea\u30f3\u30af\u30d7\u30ec\u30d3\u30e5\u30fc:<\/strong>  \/ <br>\n<small>\u203b\u4fdd\u5b58\u6642\u306b\u5546\u54c1\u30ea\u30f3\u30af\u30dc\u30c3\u30af\u30b9\u3078\u5909\u63db\u3055\u308c\u307e\u3059<\/small><\/div>);\r\n\r\n  $item_url = !empty($atts['href']) ? trim($atts['href']) : '';\r\n  if ($item_url === '') {\r\n    return '&lt;p&gt;Yahoo: \u5546\u54c1URL\uff08href\uff09\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002&lt;\/p&gt;';\r\n  }\r\n\r\n  $url = yahoo_build_affiliate_url($item_url);\r\n\r\n  return build_product_linkbox_html(array(\r\n    'shop'       =&gt; 'yahoo', \/\/ \u2190 CSS\u30af\u30e9\u30b9 is-yahoo \u306b\u5bfe\u5fdc\r\n    'shop_label' =&gt; 'Yahoo!\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0\u3067\u898b\u308b',\r\n    'url'        =&gt; $url,\r\n    'brand'      =&gt; isset($atts['brand']) ? $atts['brand'] : '',\r\n    'title'      =&gt; isset($atts['title']) ? $atts['title'] : '',\r\n    'price'      =&gt; isset($atts['price']) ? $atts['price'] : '',\r\n    'img'        =&gt; isset($atts['img'])   ? $atts['img']   : '',\r\n  ));\r\n}\r\n\r\n\/\/ Yahoo\uff08\u30d0\u30ea\u30e5\u30fc\u30b3\u30de\u30fc\u30b9\uff09\u30a2\u30d5\u30a3\u30ea\u30a8\u30a4\u30c8URL\u3092\u751f\u6210\u3002sid\/pid\u672a\u8a2d\u5b9a\u306a\u3089\u7d20\u306eURL\r\nfunction yahoo_build_affiliate_url($item_url)\r\n{\r\n  if (YAHOO_VALUECOMMERCE_SID === '' || YAHOO_VALUECOMMERCE_PID === '') {\r\n    return $item_url;\r\n  }\r\n  return 'https:\/\/ck.jp.ap.valuecommerce.com\/servlet\/referral'\r\n    . '?sid=' . rawurlencode(YAHOO_VALUECOMMERCE_SID)\r\n    . '&amp;pid=' . rawurlencode(YAHOO_VALUECOMMERCE_PID)\r\n    . '&amp;vc_url=' . rawurlencode($item_url);\r\n}\r\n\r\n\r\n\/* ===========================================================\r\n * \u5171\u901a\uff1a\u5546\u54c1\u30ea\u30f3\u30af\u30dc\u30c3\u30af\u30b9\u306eHTML\u3092\u751f\u6210\r\n *   \u69cb\u9020\uff1afigure.shopbox.is-{shop}\uff08\u30af\u30e9\u30b9\u540d\u306f\u81ea\u5206\u306e\u30c6\u30fc\u30de\u306b\u5408\u308f\u305b\u308b\uff09\r\n * ========================================================= *\/\r\nfunction build_product_linkbox_html($p)\r\n{\r\n  $shop       = $p['shop'];\r\n  $shop_label = $p['shop_label'];\r\n  $url        = $p['url'];\r\n  $brand      = $p['brand'];\r\n  $title      = $p['title'];\r\n  $price      = $p['price'];\r\n  $img        = $p['img'];\r\n\r\n  \/\/ \u753b\u50cf\uff08alt \u306f title \u306e\u307f\uff09\r\n  $img_html = '';\r\n  if ($img !== '') {\r\n    $img_html = sprintf(\r\n      '&lt;picture class=\"shopbox-thumbnail\"&gt;&lt;img width=\"300\" height=\"300\" src=\"%s\" alt=\"%s\" loading=\"lazy\" \/&gt;&lt;\/picture&gt;',\r\n      esc_url($img),\r\n      esc_attr($title)\r\n    );\r\n  }\r\n\r\n  \/\/ \u30d6\u30e9\u30f3\u30c9\r\n  $brand_html = $brand !== ''\r\n    ? sprintf('&lt;span class=\"shopbox-brand\"&gt;%s&lt;\/span&gt;', esc_html($brand))\r\n    : '';\r\n\r\n  \/\/ \u30bf\u30a4\u30c8\u30eb\r\n  $title_html = sprintf('&lt;h4 class=\"shopbox-title\"&gt;%s&lt;\/h4&gt;', esc_html($title));\r\n\r\n  \/\/ \u4fa1\u683c\uff08\u6570\u5024\u306a\u30893\u6841\u533a\u5207\u308a\u3002\u5358\u4f4d\u306f &lt;u&gt; \u3067\u5206\u96e2\uff09\r\n  $price_html = '';\r\n  if ($price !== '') {\r\n    $price_num = preg_replace('\/[^d]\/', '', (string)$price);\r\n    if ($price_num !== '') {\r\n      $price_html = sprintf(\r\n        '&lt;p class=\"shopbox-price fz-lg\"&gt;%s&lt;u class=\"shopbox-price-unit\"&gt;&amp;nbsp;\u5186&lt;\/u&gt;&lt;\/p&gt;',\r\n        number_format((int)$price_num)\r\n      );\r\n    }\r\n  }\r\n\r\n  \/\/ \u30dc\u30bf\u30f3\r\n  $button_html = sprintf(\r\n    '&lt;a href=\"%s\" class=\"shopbox-button button is-%s is-solided is-success hvr-layInLeft\" target=\"_blank\" rel=\"nofollow sponsored noopener\"&gt;%s&lt;\/a&gt;',\r\n    esc_url($url),\r\n    esc_attr($shop),\r\n    esc_html($shop_label)\r\n  );\r\n\r\n  return sprintf(\r\n    '&lt;figure class=\"shopbox is-%s my-1.5r\"&gt;%s%s%s%s%s&lt;\/figure&gt;',\r\n    esc_attr($shop),\r\n    $img_html,\r\n    $brand_html,\r\n    $title_html,\r\n    $price_html,\r\n    $button_html\r\n  );\r\n}\r\n\r\n\r\n\/* ===========================================================\r\n * \u4e0b\u66f8\u304d\u30d7\u30ec\u30d3\u30e5\u30fc\u7528\uff08\u4fdd\u5b58\u524d\u306e\u78ba\u8a8d\uff09\r\n * ========================================================= *\/\r\nfunction shortcode_amazon_preview($atts)\r\n{\r\n  $a = shortcode_atts(array('asin' =&gt; '', 'href' =&gt; '', 'brand' =&gt; '', 'title' =&gt; '', 'price' =&gt; '', 'img' =&gt; ''), $atts);\r\n  $asin = $a['asin'] !== '' ? $a['asin'] : amazon_extract_asin_from_url($a['href']);\r\n  return '&lt;div style=\"border:2px dashed #f0a;padding:10px;margin:10px 0;\"&gt;\r\n&lt;strong&gt;Amazon\u30ea\u30f3\u30af\u30d7\u30ec\u30d3\u30e5\u30fc:&lt;\/strong&gt; ASIN=' . esc_html($asin) . ' \/ ' . esc_html($a['title']) . '&lt;br&gt;\r\n&lt;small&gt;\u203b\u4fdd\u5b58\u6642\u306b\u5546\u54c1\u30ea\u30f3\u30af\u30dc\u30c3\u30af\u30b9\u3078\u5909\u63db\u3055\u308c\u307e\u3059&lt;\/small&gt;&lt;\/div&gt;';\r\n}\r\nadd_shortcode('amazon', 'shortcode_amazon_preview');\r\n\r\nfunction shortcode_rakuten_preview($atts)\r\n{\r\n  $a = shortcode_atts(array('itemcode' =&gt; '', 'href' =&gt; '', 'brand' =&gt; '', 'title' =&gt; '', 'price' =&gt; '', 'img' =&gt; ''), $atts);\r\n  $ref = $a['href'] !== '' ? $a['href'] : $a['itemcode'];\r\n  return '&lt;div style=\"border:2px dashed #c00;padding:10px;margin:10px 0;\"&gt;\r\n&lt;strong&gt;\u697d\u5929\u30ea\u30f3\u30af\u30d7\u30ec\u30d3\u30e5\u30fc:&lt;\/strong&gt; ' . esc_html($ref) . ' \/ ' . esc_html($a['title']) . '&lt;br&gt;\r\n&lt;small&gt;\u203b\u4fdd\u5b58\u6642\u306b\u5546\u54c1\u30ea\u30f3\u30af\u30dc\u30c3\u30af\u30b9\u3078\u5909\u63db\u3055\u308c\u307e\u3059&lt;\/small&gt;&lt;\/div&gt;';\r\n}\r\nadd_shortcode('rakuten', 'shortcode_rakuten_preview');\r\n\r\nfunction shortcode_yshopping_preview($atts)\r\n{\r\n  $a = shortcode_atts(array('href' =&gt; '', 'brand' =&gt; '', 'title' =&gt; '', 'price' =&gt; '', 'img' =&gt; ''), $atts);\r\n  return '&lt;div style=\"border:2px dashed #609;padding:10px;margin:10px 0;\"&gt;\r\n&lt;strong&gt;Yahoo\u30ea\u30f3\u30af\u30d7\u30ec\u30d3\u30e5\u30fc:&lt;\/strong&gt; ' . esc_html($a['href']) . ' \/ ' . esc_html($a['title']) . '&lt;br&gt;\r\n&lt;small&gt;\u203b\u4fdd\u5b58\u6642\u306b\u5546\u54c1\u30ea\u30f3\u30af\u30dc\u30c3\u30af\u30b9\u3078\u5909\u63db\u3055\u308c\u307e\u3059&lt;\/small&gt;&lt;\/div&gt;';\r\n}\r\nadd_shortcode('yshopping', 'shortcode_yshopping_preview');<\/code><\/pre>\r\n<p>\u30b3\u30fc\u30c9\u306f\u5927\u304d\u304f\u3001\u8a8d\u8a3c\u60c5\u5831\u306e\u5b9a\u7fa9\u3001\u4fdd\u5b58\u6642\u30d5\u30c3\u30af\u3001Amazon\u5909\u63db\u3001\u697d\u5929\u5909\u63db\u3001Yahoo\u5909\u63db\u3001\u5171\u901a\u306eHTML\u751f\u6210\u3001\u4e0b\u66f8\u304d\u30d7\u30ec\u30d3\u30e5\u30fc\u3001\u3068\u3044\u3046\u30d1\u30fc\u30c8\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002<code>build_product_linkbox_html()<\/code>\u304c3\u30b7\u30e7\u30c3\u30d7\u5171\u901a\u306eHTML\u751f\u6210\u90e8\u5206\u306a\u306e\u3067\u3001\u30c7\u30b6\u30a4\u30f3\u3092\u5909\u3048\u305f\u3044\u3068\u304d\u306f\u3053\u3053\u3060\u3051\u89e6\u308c\u3070\u3088\u3044\u4f5c\u308a\u3067\u3059\u3002<\/p>\r\n\r\n<hr class=\"separator mx-auto mt-3r\" \/>\r\n\r\n<h2 class=\"fz-xl\">\u30d6\u30c3\u30af\u30de\u30fc\u30af\u30ec\u30c3\u30c8\u3067\u5c5e\u6027\u5165\u529b\u3082\u81ea\u52d5\u5316<\/h2>\r\n<p>\u5c5e\u6027\u3092\u624b\u5165\u529b\u3059\u308b\u65b9\u5f0f\u306b\u3057\u307e\u3057\u305f\u304c\u3001\u6bce\u56de\u30bf\u30a4\u30c8\u30eb\u3084\u4fa1\u683c\u3092\u624b\u3067\u6253\u3064\u306e\u306f\u73fe\u5b9f\u7684\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u305d\u3053\u3067\u3001\u5404\u30b7\u30e7\u30c3\u30d7\u306e\u5546\u54c1\u30da\u30fc\u30b8\u3092\u958b\u3044\u305f\u72b6\u614b\u3067\u30af\u30ea\u30c3\u30af\u3059\u308b\u3060\u3051\u3067\u3001\u5fc5\u8981\u306a\u5c5e\u6027\u304c\u57cb\u307e\u3063\u305f\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3059\u308b\u30d6\u30c3\u30af\u30de\u30fc\u30af\u30ec\u30c3\u30c8\u3092\u4f5c\u308a\u307e\u3057\u305f\u3002<\/p>\r\n<p>\u30d6\u30c3\u30af\u30de\u30fc\u30af\u30ec\u30c3\u30c8\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u304c\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u8868\u793a\u3055\u308c\u3001\u540c\u6642\u306b\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u3082\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3059\u3002\u3042\u3068\u306f\u8a18\u4e8b\u306b\u8cbc\u308a\u4ed8\u3051\u3066\u3001\u30d6\u30e9\u30f3\u30c9\u3092\u6574\u3048\u3001\u753b\u50cf\u30d1\u30b9\u3092\u81ea\u5206\u306e\u3082\u306e\u306b\u5dee\u3057\u66ff\u3048\u308c\u3070\u5b8c\u6210\u3067\u3059\u3002<\/p>\r\n\r\n<picture class=\"bd-bounds my-0.5r\"><img decoding=\"async\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/SS-20260706-131518.jpg?ver=20260710095131\" alt=\"\" width=\"1163\" height=\"801\" class=\"alignnone size-full wp-image-13138\" \/><\/picture>\r\n\r\n<h3 class=\"fz-ml\">Amazon\u7528\u30d6\u30c3\u30af\u30de\u30fc\u30af\u30ec\u30c3\u30c8<\/h3>\r\n<p>\u4fa1\u683c\u306e\u53d6\u5f97\u3060\u3051\u306f\u5de5\u592b\u304c\u5fc5\u8981\u3067\u3057\u305f\u3002Amazon\u306e\u5546\u54c1\u30da\u30fc\u30b8\u306b\u306f\u3001\u672c\u4f53\u4fa1\u683c\u30fb\u30af\u30fc\u30dd\u30f3\u4fa1\u683c\u30fb\u30dd\u30a4\u30f3\u30c8\u30fb\u5206\u5272\u6255\u3044\u306a\u3069\u8907\u6570\u306e\u4fa1\u683c\u8981\u7d20\u304c\u6df7\u5728\u3059\u308b\u305f\u3081\u3001\u30e1\u30a4\u30f3\u306e\u4fa1\u683c\u30d6\u30ed\u30c3\u30af\u3092\u5148\u306b\u7d5e\u308a\u8fbc\u3093\u3067\u304b\u3089\u4fa1\u683c\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n<pre><code class=\"language-javascript\">javascript:(function(){ var host = location.host; if (host.indexOf('amazon.co.jp') === -1) { alert('Error:Amazon\u306e\u5546\u54c1\u30da\u30fc\u30b8\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002'); return; } var matched = location.href.match(\/(?:dp|gp\/product|gp\/aw\/d|o|-|ASIN|product)\/(B[0-9A-Z]{9}|[0-9]{9}(?:X|[0-9]))\/); var asin = matched != null ? matched[1] : ''; var titleElems = [ document.getElementById('productTitle'), document.getElementById('ebooksProductTitle'), document.getElementById('aiv-content-title'), document.getElementById('title_feature_div') ].filter(function(v){ return v != null; }); var title = titleElems.length ? titleElems[0].innerText.trim().replace(\/[[]]\/g, '') : ''; var brand = ''; var storeEl = document.getElementById('visitStoreDesktopUrl') || document.getElementById('bylineInfo'); if (storeEl) { brand = storeEl.innerText.trim().replace(\/\u306e\u30b9\u30c8\u30a2\u3092\u8868\u793a$\/, '').replace(\/\u30d6\u30e9\u30f3\u30c9:s*\/, '').replace(\/\u3092\u691c\u7d22$\/, '').replace(\/\u306e\u30b9\u30c8\u30a2$\/, '').trim(); } var price = ''; var priceScope = document.getElementById('corePriceDisplay_desktop_feature_div') || document.getElementById('corePrice_feature_div') || document.querySelector('.priceToPay') || document.querySelector('.reinventPricePriceToPayMargin') || document; var priceEl = priceScope.querySelector('.a-price-whole'); if (priceEl) { price = priceEl.innerText.replace(\/[^d]\/g, ''); } if (!asin) { alert('Error:ASIN\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002'); return; } var shortcode = '<p>Amazon: ASIN \u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>'; function done(){ alert('\u30b3\u30d4\u30fc\u3057\u307e\u3057\u305f\u3002nn' + shortcode); } function fallback(){ var ta = document.createElement('textarea'); ta.value = shortcode; ta.style.position = 'fixed'; ta.style.top = '-1000px'; document.body.appendChild(ta); ta.focus(); ta.select(); try { document.execCommand('copy'); } catch (e) {} document.body.removeChild(ta); done(); } if (navigator.clipboard && navigator.clipboard.writeText) { navigator.clipboard.writeText(shortcode).then(done, fallback); } else { fallback(); } })();void(0);<\/code><\/pre>\r\n\r\n<h3 class=\"fz-ml\">\u697d\u5929\u7528\u30d6\u30c3\u30af\u30de\u30fc\u30af\u30ec\u30c3\u30c8<\/h3>\r\n<p>\u697d\u5929\u306f<code>itemprop=\"price\"<\/code>\u304b\u3089\u4fa1\u683c\u3092\u78ba\u5b9f\u306b\u53d6\u5f97\u3057\u3001<code>og:title<\/code>\u304b\u3089\u63a5\u982d\u8f9e\u300c\u3010\u697d\u5929\u5e02\u5834\u3011\u300d\u3068\u63a5\u5c3e\u8f9e\u300c\uff1a\u3007\u3007\u697d\u5929\u5e02\u5834\u5e97\u300d\u3092\u9664\u53bb\u3057\u3066\u5546\u54c1\u540d\u3060\u3051\u6b8b\u3057\u307e\u3059\u3002\u30d6\u30e9\u30f3\u30c9\u306f\u5e97\u8217\u540d\u3057\u304b\u6301\u305f\u306a\u3044\u305f\u3081\u7a7a\u306b\u3057\u3066\u304a\u304d\u3001\u5fc5\u8981\u306a\u3089\u624b\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\r\n\r\n<pre><code class=\"language-javascript\">javascript:(function(){ var host = location.host; if (host.indexOf('rakuten.co.jp') === -1) { alert('Error:\u697d\u5929\u5e02\u5834\u306e\u5546\u54c1\u30da\u30fc\u30b8\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002'); return; } var itemUrl = location.href.split('?')[0]; var mItem = itemUrl.match(\/item.rakuten.co.jp\/([^\/]+)\/([^\/]+)\/); var itemcode = mItem ? (mItem[1] + ':' + mItem[2]) : ''; var title = ''; var ogTitle = document.querySelector('meta[property=\"og:title\"]'); if (ogTitle) { title = ogTitle.content; } else if (document.title) { title = document.title; } title = title.replace(\/^\u3010\u697d\u5929\u5e02\u5834\u3011\/, '').replace(\/\uff1a[^\uff1a]*$\/, '').trim().replace(\/[[]]\/g, ''); var price = ''; var priceEl = document.querySelector('[itemprop=\"price\"]'); if (priceEl) { price = (priceEl.getAttribute('content') || priceEl.textContent).replace(\/[^d]\/g, ''); } if (!price) { var pm = document.body.innerHTML.match(\/itemprop=\"price\"s+content=\"(d+)\"\/); if (pm) { price = pm[1]; } } var brand = ''; if (!itemcode) { alert('Error:itemCode\u304c\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002'); return; } var shortcode = '<p>\u697d\u5929: \u5546\u54c1URL \/ itemCode \u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>'; function done(){ alert('\u30b3\u30d4\u30fc\u3057\u307e\u3057\u305f\u3002nn' + shortcode); } function fallback(){ var ta = document.createElement('textarea'); ta.value = shortcode; ta.style.position = 'fixed'; ta.style.top = '-1000px'; document.body.appendChild(ta); ta.focus(); ta.select(); try { document.execCommand('copy'); } catch (e) {} document.body.removeChild(ta); done(); } if (navigator.clipboard && navigator.clipboard.writeText) { navigator.clipboard.writeText(shortcode).then(done, fallback); } else { fallback(); } })();void(0);<\/code><\/pre>\r\n\r\n<h3 class=\"fz-ml\">Yahoo!\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0\u7528\u30d6\u30c3\u30af\u30de\u30fc\u30af\u30ec\u30c3\u30c8<\/h3>\r\n<p>Yahoo\u3082\u540c\u69d8\u306b\u3001\u5546\u54c1URL\u3068og:title\u3001\u4fa1\u683c\u3092\u629c\u304d\u51fa\u3057\u307e\u3059\u3002\u30bf\u30a4\u30c8\u30eb\u304b\u3089Yahoo\u7cfb\u306e\u63a5\u5c3e\u8f9e\u3092\u9664\u53bb\u3057\u3001\u751f\u6210\u3059\u308b\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u306f<code>&lsqb;yshopping&rsqb;<\/code>\u3067\u3059\u3002<\/p>\r\n\r\n<pre><code class=\"language-javascript\">javascript:(function(){ var host = location.host; if (host.indexOf('yahoo.co.jp') === -1) { alert('Error:Yahoo!\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0\u306e\u5546\u54c1\u30da\u30fc\u30b8\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002'); return; } var itemUrl = location.href.split('?')[0]; var title = ''; var ogTitle = document.querySelector('meta[property=\"og:title\"]'); if (ogTitle) { title = ogTitle.content; } else if (document.title) { title = document.title; } title = title.replace(\/s*[-|\uff5c]s*Yahoo!?\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0.*$\/, '').replace(\/s*-s*PayPay.*$\/, '').trim().replace(\/[[]]\/g, ''); var price = ''; var ogPrice = document.querySelector('meta[property=\"product:price:amount\"], meta[property=\"og:price:amount\"]'); if (ogPrice) { price = (ogPrice.content || '').replace(\/[^d]\/g, ''); } if (!price) { var ip = document.querySelector('[itemprop=\"price\"]'); if (ip) { price = (ip.getAttribute('content') || ip.textContent).replace(\/[^d]\/g, ''); } } var brand = ''; var shortcode = '<p>Yahoo: \u5546\u54c1URL\uff08href\uff09\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>'; function done(){ alert('\u30b3\u30d4\u30fc\u3057\u307e\u3057\u305f\u3002nn' + shortcode); } function fallback(){ var ta = document.createElement('textarea'); ta.value = shortcode; ta.style.position = 'fixed'; ta.style.top = '-1000px'; document.body.appendChild(ta); ta.focus(); ta.select(); try { document.execCommand('copy'); } catch (e) {} document.body.removeChild(ta); done(); } if (navigator.clipboard && navigator.clipboard.writeText) { navigator.clipboard.writeText(shortcode).then(done, fallback); } else { fallback(); } })();void(0);<\/code><\/pre>\r\n\r\n<p>\u30d6\u30c3\u30af\u30de\u30fc\u30af\u3092\u65b0\u898f\u4f5c\u6210\u3057\u3001\u540d\u524d\u3092\u4efb\u610f\uff08\u4f8b\uff1a\u300cAmazon\u2192shopbox\u300d\uff09\u306b\u3001URL\u6b04\u306b\u3053\u306e1\u884c\u3092\u8cbc\u308a\u4ed8\u3051\u308c\u3070\u5b8c\u6210\u3067\u3059\u3002\u30b7\u30e7\u30c3\u30d7\u3054\u3068\u306b3\u3064\u767b\u9332\u3057\u3066\u304a\u3051\u3070\u3001\u5404\u5546\u54c1\u30da\u30fc\u30b8\u3067\u30af\u30ea\u30c3\u30af\u3059\u308b\u3060\u3051\u3067\u5c5e\u6027\u306e\u57cb\u307e\u3063\u305f\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u304c\u624b\u306b\u5165\u308a\u307e\u3059\u3002<\/p>\r\n\r\n<hr class=\"separator mx-auto mt-3r\" \/>\r\n\r\n<h2 class=\"fz-xl\">CSS\u3067\u30c7\u30b6\u30a4\u30f3\u3092\u7d44\u3080<\/h2>\r\n<p>\u51fa\u529b\u3055\u308c\u308bHTML\u306f<code>figure.shopbox.is-{shop}<\/code>\u3068\u3044\u3046\u69cb\u9020\u306a\u306e\u3067\u3001\u3042\u3068\u306f\u81ea\u5206\u306eCSS\u3067\u81ea\u7531\u306b\u30c7\u30b6\u30a4\u30f3\u3067\u304d\u307e\u3059\u3002\u30b5\u30e0\u30cd\u30a4\u30eb\u3092\u5de6\u306b\u56de\u308a\u8fbc\u307e\u305b\u3001\u53f3\u5074\u306b\u30d6\u30e9\u30f3\u30c9\u30fb\u30bf\u30a4\u30c8\u30eb\u30fb\u4fa1\u683c\u30fb\u30dc\u30bf\u30f3\u3092\u7a4d\u3080\u3001MyBest\u98a8\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u4f8b\u3067\u3059\uff08\u30ab\u30b9\u30bf\u30e0\u30d7\u30ed\u30d1\u30c6\u30a3\u540d\u306f\u81ea\u5206\u306e\u30c6\u30fc\u30de\u306b\u5408\u308f\u305b\u3066\u8aad\u307f\u66ff\u3048\u3066\u304f\u3060\u3055\u3044\uff09\u3002<\/p>\r\n<pre><code class=\"language-css\">.shopbox {\r\n  display: flow-root;\r\n  padding: calc(var(--\u2154fem) * 1.5);\r\n  border: 1px solid var(--c-base-200, hsl(224, 6%, 84%));\r\n  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);\r\n  background: var(--c-base, hsl(224, 6%, 100%));\r\n}\r\n\r\n.shopbox .shopbox-thumbnail {\r\n  float: left;\r\n  max-width: calc(var(--\u2157fem) * 12 + (var(--\u215dfem) * 1.5));\r\n  padding: 0lh calc(var(--\u215dfem) * 1.5) 0.08lh 0pc;\r\n}\r\n\r\n.shopbox .shopbox-thumbnail img {\r\n  width: 100%;\r\n  height: 100%;\r\n}\r\n\r\n.shopbox .shopbox-brand {\r\n  font-weight: 600;\r\n  color: var(--c-base-400, hsl(224, 6%, 63%));\r\n}\r\n\r\n.shopbox .shopbox-title {\r\n  line-height: 1.33;\r\n  font-weight: 600;\r\n  color: var(--c-base-900, hsl(224, 6%, 13%));\r\n  margin-block: calc(var(--\u215efem) * 0.5) calc(var(--\u215efem) * 0.25);\r\n}\r\n\r\n.shopbox .shopbox-price {\r\n  font-weight: 600;\r\n  color: var(--c-error, hsl(13, 99%, 43%));\r\n}\r\n\r\n.shopbox .shopbox-price-unit {\r\n  color: var(--c-base-900, hsl(224, 6%, 13%));\r\n}\r\n\r\n.shopbox .shopbox-button {\r\n  display: flex;\r\n  min-height: 4rem;\r\n  margin-top: 0.5rem;\r\n  border-radius: 4px;\r\n}<\/code><\/pre>\r\n<p>\u30dc\u30bf\u30f3\u306e\u8272\u306f<code>is-amazon<\/code>\u30fb<code>is-rakuten<\/code>\u30fb<code>is-yahoo<\/code>\u306e\u30af\u30e9\u30b9\u3067\u51fa\u3057\u5206\u3051\u3067\u304d\u307e\u3059\u3002\u30b7\u30e7\u30c3\u30d7\u306e\u30d6\u30e9\u30f3\u30c9\u30ab\u30e9\u30fc\u306b\u5408\u308f\u305b\u3066\u304a\u304f\u3068\u3001\u8aad\u8005\u304c\u3069\u306e\u30b7\u30e7\u30c3\u30d7\u3078\u306e\u30ea\u30f3\u30af\u304b\u4e00\u76ee\u3067\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\r\n\r\n<hr class=\"separator mx-auto mt-3r\" \/>\r\n\r\n<h2 class=\"fz-xl\">\u307e\u3068\u3081<\/h2>\r\n<p>\u5546\u54c1\u30ea\u30f3\u30af\u3092\u5927\u91cf\u306b\u6271\u3046\u672c\u683c\u7684\u306a\u7269\u8ca9\u30b5\u30a4\u30c8\u3067\u3042\u308c\u3070\u3001\u5546\u54c1\u30c7\u30fc\u30bf\u3092\u4e00\u5143\u7ba1\u7406\u3067\u304d\u308bRinker\u306e\u3088\u3046\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u6069\u6075\u306f\u5927\u304d\u3044\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u300c\u81ea\u5206\u306e\u30c6\u30fc\u30de\u306b\u6700\u9069\u5316\u3057\u305f\u898b\u305f\u76ee\u3067\u3001\u5546\u54c1\u30ea\u30f3\u30af\u3092\u30b5\u30c3\u3068\u8cbc\u308a\u305f\u3044\u3060\u3051\u300d\u3068\u3044\u3046\u7528\u9014\u306a\u3089\u3001\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3068\u30d6\u30c3\u30af\u30de\u30fc\u30af\u30ec\u30c3\u30c8\u306e\u81ea\u4f5c\u304c\u3001\u30b7\u30f3\u30d7\u30eb\u3067\u901f\u304f\u3001\u30c7\u30b6\u30a4\u30f3\u306e\u81ea\u7531\u5ea6\u3082\u9ad8\u3044\u9078\u629e\u80a2\u306b\u306a\u308a\u307e\u3059\u3002<\/p>","protected":false},"excerpt":{"rendered":"WordPress\u306e\u5b9a\u756a\u30d7\u30e9\u30b0\u30a4\u30f3\u300cRinker\u300d\u304c\u9762\u5012\u3060\u3068\u611f\u3058\u308b\u4eba\u5411\u3051\u306b\u3001\u5546\u54c1\u30ea\u30f3\u30af\u3092\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3068\u30d6\u30c3\u30af\u30de\u30fc\u30af\u30ec\u30c3\u30c8\u3067\u7206\u901f\u3067\u8cbc\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3002Amazon\u30fb\u697d\u5929\u30fbYahoo!\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0\u306e3\u30b7\u30e7\u30c3\u30d7\u306b\u5bfe\u5fdc\u3057\u3001API\u3092\u4f7f\u308f\u305a\u4fdd\u5b58\u6642\u306bHTML\u3092\u56fa\u5b9a\u751f\u6210\u3059\u308b\u306e\u3067\u8868\u793a\u304c\u8efd\u304f\u58ca\u308c\u306b\u304f\u3044\u3002\u30ab\u30b9\u30bf\u30e0\u30c6\u30fc\u30de\u306b\u5b8c\u5168\u306b\u99b4\u67d3\u3080\u5546\u54c1\u30ea\u30f3\u30af\u304c\u4f5c\u308c\u307e\u3059\u3002","protected":false},"author":1,"featured_media":13129,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","footnotes":"","vk-ltc-link":"","vk-ltc-target":"0"},"categories":[13],"tags":[1009,1008,1010,1006,1005,1004,1003,519,192,102],"class_list":["post-13127","post","type-post","status-publish","format-standard","has-post-thumbnail","category-wordpress","tag-yahoo","tag-1008","tag-1010","tag-amazon","tag-1005","tag-1004","tag-rinker","tag-519","tag-192","tag-wordpress"],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/13127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/comments?post=13127"}],"version-history":[{"count":12,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/13127\/revisions"}],"predecessor-version":[{"id":13418,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/13127\/revisions\/13418"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media\/13129"}],"wp:attachment":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media?parent=13127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/categories?post=13127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/tags?post=13127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}