{"id":26389,"date":"2024-11-24T00:57:46","date_gmt":"2024-11-23T15:57:46","guid":{"rendered":"https:\/\/motoki-design.co.jp\/wordpress\/?p=26389"},"modified":"2026-10-04T08:10:55","modified_gmt":"2026-10-03T23:10:55","slug":"swell-pjax-swiper-customization","status":"publish","type":"post","link":"https:\/\/motoki-design.co.jp\/wordpress\/swell-pjax-swiper-customization\/","title":{"rendered":"SWELL\u2502Pjax\u9077\u79fb\u306eSwiper\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306e\u5bfe\u5fdc\u65b9\u6cd5"},"content":{"rendered":"<p class=\"wp-block-paragraph\">SWELL\u306ePjax\u3067\u5225\u30da\u30fc\u30b8\u304b\u3089\u623b\u308b\u3068\u3001\u81ea\u4f5c\u306eSwiper\u304c\u52d5\u304b\u306a\u304f\u306a\u308b\u5834\u5408\u306e\u5b9f\u88c5\u4f8b\u3067\u3059\u3002\u521d\u56de\u8868\u793a\u3068Pjax\u9077\u79fb\u5f8c\u306e\u4e21\u65b9\u3067\u521d\u671f\u5316\u3057\u3001\u5c02\u7528\u30af\u30e9\u30b9\u3092\u4ed8\u3051\u305f\u30b9\u30e9\u30a4\u30c0\u30fc\u3060\u3051\u3092\u5bfe\u8c61\u306b\u3057\u307e\u3059\u3002<\/p>\n<p class=\"wp-block-paragraph\">2026\u5e7410\u67082\u65e5\u306bPHP\u306e\u4f9d\u5b58\u30d5\u30a1\u30a4\u30eb\u767b\u9332\u3068\u51fa\u529b\u9806\u3092\u78ba\u8a8d\u3057\u300110\u67083\u65e5\u306b\u9694\u96e2\u74b0\u5883\u306e\u5b9fPjax\u9077\u79fb\u3001\u30d6\u30e9\u30a6\u30b6\u30fc\u306e\u623b\u308b\u30fb\u9032\u3080\u3001\u4e8c\u3064\u306e\u30b9\u30e9\u30a4\u30c0\u30fc\u306e\u500b\u5225\u64cd\u4f5c\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n<p class=\"wp-block-paragraph\">Pjax\u306f\u30c6\u30fc\u30de\u5185\u90e8\u306e\u30d5\u30c3\u30af\u306b\u4f9d\u5b58\u3059\u308b\u305f\u3081\u3001\u30c6\u30fc\u30de\u66f4\u65b0\u5f8c\u306f\u518d\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/swell-theme.com\/function\/5978\/\">SWELL\u516c\u5f0f\u306ePjax\u89e3\u8aac<\/a>\u3082\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2 class=\"wp-block-heading\">\u9069\u7528\u524d\u306e\u6e96\u5099<\/h2>\n<p class=\"wp-block-paragraph\">\u5b50\u30c6\u30fc\u30de\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3001\u691c\u8a3c\u74b0\u5883\u3067\u4f5c\u696d\u3057\u307e\u3059\u3002\u540c\u3058\u8981\u7d20\u3092\u521d\u671f\u5316\u3059\u308b\u30b3\u30fc\u30c9\u304c\u5225\u306b\u3042\u308b\u5834\u5408\u306f\u3001\u91cd\u8907\u3057\u306a\u3044\u3088\u3046\u505c\u6b62\u3057\u307e\u3059\u3002\u672c\u4f8b\u306e\u305f\u3081\u306b\u672c\u756a\u30b5\u30a4\u30c8\u306ePjax\u3092\u6709\u52b9\u306b\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3059\u3067\u306bPjax\u3092\u4f7f\u3046\u30b5\u30a4\u30c8\u3067\u3001\u72ec\u81ea\u30b9\u30e9\u30a4\u30c0\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u5834\u5408\u306e\u4f8b\u3067\u3059\u3002<\/p>\n<h2 class=\"wp-block-heading\">1. \u30b9\u30e9\u30a4\u30c0\u30fc\u306eHTML<\/h2>\n<p class=\"wp-block-paragraph\">\u6295\u7a3f\u307e\u305f\u306f\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u300c\u30ab\u30b9\u30bf\u30e0HTML\u300d\u30d6\u30ed\u30c3\u30af\u306b\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002\u30b9\u30e9\u30a4\u30c9\u3092\u5897\u3084\u3059\u5834\u5408\u306fswiper-slide\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002waza-pjax-slider\u306f\u672c\u4f8b\u5c02\u7528\u306e\u30af\u30e9\u30b9\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;div class=&quot;swiper-container waza-pjax-slider&quot; aria-label=&quot;\u30b5\u30f3\u30d7\u30eb\u30b9\u30e9\u30a4\u30c0\u30fc&quot;&gt;\n  &lt;div class=&quot;swiper-wrapper&quot;&gt;\n    &lt;div class=&quot;swiper-slide&quot;&gt;&lt;p&gt;\u30b9\u30e9\u30a4\u30c91&lt;\/p&gt;&lt;\/div&gt;\n    &lt;div class=&quot;swiper-slide&quot;&gt;&lt;p&gt;\u30b9\u30e9\u30a4\u30c92&lt;\/p&gt;&lt;\/div&gt;\n    &lt;div class=&quot;swiper-slide&quot;&gt;&lt;p&gt;\u30b9\u30e9\u30a4\u30c93&lt;\/p&gt;&lt;\/div&gt;\n  &lt;\/div&gt;\n  &lt;button type=&quot;button&quot; class=&quot;waza-prev&quot;&gt;\u524d\u3078&lt;\/button&gt;\n  &lt;button type=&quot;button&quot; class=&quot;waza-next&quot;&gt;\u6b21\u3078&lt;\/button&gt;\n  &lt;div class=&quot;swiper-pagination&quot;&gt;&lt;\/div&gt;\n&lt;\/div&gt;<\/code><\/pre><\/div>\n<h2 class=\"wp-block-heading\">2. \u898b\u305f\u76ee\u306eCSS<\/h2>\n<p class=\"wp-block-paragraph\">\u5b50\u30c6\u30fc\u30de\u306estyle.css\u3001\u307e\u305f\u306f\u8ffd\u52a0CSS\u306b\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002\u4ed6\u306e\u30b9\u30e9\u30a4\u30c0\u30fc\u306b\u306f\u9069\u7528\u3057\u307e\u305b\u3093\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.waza-pjax-slider { max-width: 40rem; margin: 1rem auto; overflow: hidden; }\n.waza-pjax-slider .swiper-slide { box-sizing: border-box; padding: 2rem; background: #f4f4f4; }\n.waza-pjax-slider .swiper-pagination { position: static; margin-top: .5rem; }\n.waza-pjax-slider button { padding: .5rem 1rem; border: 1px solid currentColor; }\n.waza-pjax-slider button:focus-visible { outline: 2px solid #075cab; outline-offset: 2px; }<\/code><\/pre><\/div>\n<h2 class=\"wp-block-heading\">3. JavaScript\u3092\u5b50\u30c6\u30fc\u30de\u306b\u4fdd\u5b58<\/h2>\n<p class=\"wp-block-paragraph\">\u5b50\u30c6\u30fc\u30de\u306bjs\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u4f5c\u308a\u3001\u6b21\u306e\u5185\u5bb9\u3092js\/waza-pjax-slider.js\u3068\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002\u8a18\u4e8b\u306e\u30ab\u30b9\u30bf\u30e0HTML\u30d6\u30ed\u30c3\u30af\u306b\u306fJavaScript\u3092\u8ffd\u52a0\u3057\u307e\u305b\u3093\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>(() =&gt; {\n  if (window.wazaPjaxSliderReady) return;\n  window.wazaPjaxSliderReady = true;\n  const instances = new Map();\n  function init() {\n    for (const [element, instance] of instances) {\n      if (!element.isConnected) {\n        if (!instance.destroyed) instance.destroy(true, true);\n        instances.delete(element);\n      }\n    }\n    if (typeof window.Swiper !== &#x27;function&#x27;) return;\n    document.querySelectorAll(&#x27;.waza-pjax-slider&#x27;).forEach(element =&gt; {\n      if (element.swiper &amp;&amp; !element.swiper.destroyed) return;\n      try {\n      const instance = new Swiper(element, {\n        loop: false,\n        autoplay: false,\n        speed: window.matchMedia(&#x27;(prefers-reduced-motion: reduce)&#x27;).matches ? 0 : 300,\n        slidesPerView: 1,\n        spaceBetween: 16,\n        navigation: {\n          nextEl: element.querySelector(&#x27;.waza-next&#x27;),\n          prevEl: element.querySelector(&#x27;.waza-prev&#x27;)\n        },\n        pagination: { el: element.querySelector(&#x27;.swiper-pagination&#x27;), clickable: true }\n      });\n      instances.set(element, instance);\n      } catch (error) {\n        \/\/ 1\u4ef6\u306e\u5931\u6557\u3067\u3001\u307b\u304b\u306e\u30b9\u30e9\u30a4\u30c0\u30fc\u306e\u521d\u671f\u5316\u3092\u6b62\u3081\u306a\u3044\u3002\n        console.warn(&quot;waza-pjax-slider: \u521d\u671f\u5316\u3067\u304d\u306a\u3044\u898b\u672c\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u307e\u3057\u305f&quot;, error);\n      }\n    });\n  }\n  const after = window.SWELLHOOK &amp;&amp; window.SWELLHOOK.barbaAfter;\n  if (after &amp;&amp; typeof after.add === &#x27;function&#x27;) after.add(init);\n  if (document.readyState === &#x27;loading&#x27;) document.addEventListener(&#x27;DOMContentLoaded&#x27;, init, {once: true});\n  else init();\n})();<\/code><\/pre><\/div>\n<p class=\"wp-block-paragraph\">\u5404\u30b9\u30e9\u30a4\u30c0\u30fc\u5185\u306e\u30dc\u30bf\u30f3\u3092\u6307\u5b9a\u3059\u308b\u305f\u3081\u3001\u5225\u30b9\u30e9\u30a4\u30c0\u30fc\u306e\u30dc\u30bf\u30f3\u3068\u6df7\u7dda\u3057\u307e\u305b\u3093\u3002\u521d\u671f\u5316\u6e08\u307f\u306e\u8981\u7d20\u306f\u518d\u4f5c\u6210\u305b\u305a\u3001\u9077\u79fb\u3067\u6587\u66f8\u304b\u3089\u5916\u308c\u305f\u8981\u7d20\u306f\u7834\u68c4\u3057\u307e\u3059\u3002\u81ea\u52d5\u518d\u751f\u306f\u7121\u52b9\u3067\u3001\u300c\u6b21\u3078\u300d\u300c\u524d\u3078\u300d\u306fTab\u3067\u79fb\u52d5\u3057\u3066Enter\u307e\u305f\u306fSpace\u3067\u64cd\u4f5c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2 class=\"wp-block-heading\">4. \u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080PHP<\/h2>\n<p class=\"wp-block-paragraph\">\u5b50\u30c6\u30fc\u30de\u306efunctions.php\u3078\u8ffd\u52a0\u3057\u307e\u3059\u3002\u3059\u3067\u306bPHP\u958b\u59cb\u30bf\u30b0\u304c\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u3067\u306f\u3001\u5148\u982d\u306e&lt;?php\u3092\u91cd\u306d\u3066\u8cbc\u308a\u4ed8\u3051\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002SWELL\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3068Swiper\u3092\u4f9d\u5b58\u95a2\u4fc2\u306b\u6307\u5b9a\u3057\u3001\u30c6\u30fc\u30de\u306e\u30d5\u30c3\u30af\u304c\u7528\u610f\u3055\u308c\u305f\u5f8c\u306b\u672c\u4f8b\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>&lt;?php\nadd_action( &#x27;wp_enqueue_scripts&#x27;, &#x27;waza_enqueue_pjax_slider&#x27;, 20 );\nfunction waza_enqueue_pjax_slider() {\n    \/\/ Pjax\u3067\u9014\u4e2d\u304b\u3089\u30b9\u30e9\u30a4\u30c0\u30fc\u306e\u30da\u30fc\u30b8\u3078\u5165\u308c\u308b\u3088\u3046\u3001\u521d\u56de\u30da\u30fc\u30b8\u306b\u3082\u8aad\u307f\u8fbc\u3080\u3002\n    wp_enqueue_style( &#x27;swell_swiper&#x27; );\n    wp_enqueue_script( &#x27;waza-pjax-slider&#x27;, get_stylesheet_directory_uri() . &#x27;\/js\/waza-pjax-slider.js&#x27;,\n        array( &#x27;swell_script&#x27;, &#x27;swell_swiper&#x27; ), &#x27;1.0.0&#x27;, true );\n}\n<\/code><\/pre><\/div>\n<p class=\"wp-block-paragraph\">\u30b9\u30e9\u30a4\u30c0\u30fc\u304c\u306a\u3044\u30da\u30fc\u30b8\u304b\u3089Pjax\u3067\u5165\u308b\u5834\u5408\u306b\u3082\u5099\u3048\u3001\u3053\u306e\u5c0f\u3055\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u3068Swiper\u306f\u5168\u30da\u30fc\u30b8\u3067\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002is_front_page()\u306a\u3069\u3067\u521d\u56de\u306e\u8aad\u307f\u8fbc\u307f\u3092\u7d5e\u308b\u3068\u3001\u5165\u53e3\u306b\u3088\u3063\u3066\u52d5\u304b\u306a\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u30b9\u30e9\u30a4\u30c0\u30fc\u81ea\u4f53\u306e\u521d\u671f\u5316\u306f\u5c02\u7528\u30af\u30e9\u30b9\u304c\u3042\u308b\u30da\u30fc\u30b8\u3060\u3051\u3067\u3059\u3002<\/p>\n<h2 class=\"wp-block-heading\">\u78ba\u8a8d\u3057\u305f\u52d5\u4f5c\u3068\u78ba\u8a8d\u304c\u5fc5\u8981\u306a\u7bc4\u56f2<\/h2>\n<p class=\"wp-block-paragraph\">\u30ed\u30fc\u30ab\u30eb\u306e\u5b9f\u30c6\u30fc\u30de\u3067\u3001\u30b9\u30e9\u30a4\u30c0\u30fc\u306a\u3057\u306e\u30da\u30fc\u30b8\u304b\u3089\u79fb\u52d5\u2192\u64cd\u4f5c\u2192\u96e2\u8131\u2192\u518d\u5165\u5834\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002\u540c\u3058\u6587\u66f8\u306e\u307e\u307e\u9077\u79fb\u3057\u3001\u521d\u671f\u5316\u51e6\u7406\u304c\u5404\u9077\u79fb\u3067\u547c\u3070\u308c\u308b\u3053\u3068\u3082\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u30021280px\u3068390px\u5e45\u3067\u8868\u793a\u3057\u3001390px\u5e45\u3067\u306f\u30da\u30fc\u30b8\u5168\u4f53\u306e\u6a2a\u306f\u307f\u51fa\u3057\u304c\u306a\u304f\u3001Enter\u3067\u6b21\u3078\u3001Space\u3067\u524d\u3078\u64cd\u4f5c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u5b9f\u6a5f\u306e\u30bf\u30c3\u30c1\u64cd\u4f5c\u3068\u3001\u9045\u5ef6\u8aad\u307f\u8fbc\u307f\u30fb\u6700\u9069\u5316\u30d7\u30e9\u30b0\u30a4\u30f3\u4f75\u7528\u306f\u672a\u691c\u8a3c\u3067\u3059\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u5c0e\u5165\u30b5\u30a4\u30c8\u3067\u306f\u3053\u308c\u3089\u3082\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p class=\"wp-block-paragraph\">OS\u306e\u52d5\u304d\u3092\u6e1b\u3089\u3059\u8a2d\u5b9a\u306f\u30b3\u30fc\u30c9\u3067\u53c2\u7167\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u8a2d\u5b9a\u5207\u308a\u66ff\u3048\u306e\u5b9f\u6a5f\u691c\u8a3c\u306f\u884c\u3063\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<h2 class=\"wp-block-heading\">\u5143\u306b\u623b\u3059\u65b9\u6cd5<\/h2>\n<p class=\"wp-block-paragraph\">\u8ffd\u52a0\u3057\u305fwaza_enqueue_pjax_slider\u306e\u95a2\u6570\u3068add_action\u3001\u5c02\u7528CSS\u3001\u30ab\u30b9\u30bf\u30e0HTML\u3092\u53d6\u308a\u9664\u304d\u3001\u8ffd\u52a0\u3057\u305fJS\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u308f\u306a\u3044\u72b6\u614b\u306b\u623b\u3057\u307e\u3059\u3002\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u66f4\u65b0\u3057\u3066\u901a\u5e38\u8868\u793a\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30c6\u30fc\u30de\u3084\u30b5\u30a4\u30c8\u5168\u4f53\u306ePjax\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u51e6\u7406\u306f\u3001\u3053\u306e\u30b3\u30fc\u30c9\u306b\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u5b9f\u88c5\u3059\u308b\u969b\u306f\u672c\u7a3f\u306e4\u3064\u306e\u30b3\u30fc\u30c9\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"416\" height=\"900\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-pjax-verified-20261001.jpg\" alt=\"SWELL 2.19.0\u306e\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067Pjax\u518d\u5165\u5834\u5f8c\u306b\u8868\u793a\u3055\u308c\u305f\u30b9\u30e9\u30a4\u30c0\u30fc\" class=\"wp-image-29690\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-pjax-verified-20261001.jpg 416w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-pjax-verified-20261001-382x826.jpg 382w\" sizes=\"(max-width: 416px) 100vw, 416px\" \/><figcaption class=\"wp-element-caption\">2026\u5e7410\u67081\u65e5\u64ae\u5f71\u3002\u5b9f\u30c6\u30fc\u30de\u3092\u4f7f\u3063\u305f\u30ed\u30fc\u30ab\u30eb\u691c\u8a3c\u753b\u9762\u3067\u3059\u3002\u672c\u756a\u30b5\u30a4\u30c8\u306ePjax\u8a2d\u5b9a\u306f\u5909\u66f4\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/figcaption><\/figure><h2 class=\"wp-block-heading\">\u8907\u6570\u8a2d\u7f6e\u6642\u306b1\u4ef6\u3060\u3051\u521d\u671f\u5316\u3067\u304d\u306a\u3044\u5834\u5408<\/h2>\n<p class=\"wp-block-paragraph\">\u30b9\u30e9\u30a4\u30c0\u30fc\u3054\u3068\u306b\u521d\u671f\u5316\u3092try\u30fbcatch\u3067\u56f2\u307f\u30011\u4ef6\u304c\u5931\u6557\u3057\u3066\u3082\u5f8c\u7d9a\u306e\u521d\u671f\u5316\u3092\u7d9a\u3051\u307e\u3059\u3002\u5931\u6557\u3057\u305f\u4f8b\u306f\u4f5c\u6210\u6e08\u307f\u306eMap\u3078\u767b\u9332\u3057\u307e\u305b\u3093\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u8907\u6570\u8981\u7d20\u3001\u4f8b\u5916\u3001\u96e2\u8131\u6642\u306e\u7834\u68c4\u3092\u6a21\u3057\u305f\u30c6\u30b9\u30c8\u306b\u52a0\u3048\u30012026\u5e7410\u67083\u65e5\u306b\u5b9fWordPress \/ SWELL\u306ePjax\u9077\u79fb\u3068\u5c65\u6b74\u79fb\u52d5\u5f8c\u306e\u64cd\u4f5c\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u672c\u756aWAZA\u306b\u306f\u3053\u306e\u4f8b\u306e\u30b9\u30e9\u30a4\u30c0\u30fc\u3092\u5c0e\u5165\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u8a18\u4e8b\u9593\u306e\u901a\u5e38\u79fb\u52d5\u3060\u3051\u3067\u306fPjax\u691c\u8a3c\u306e\u4ee3\u308f\u308a\u306b\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<h2 class=\"wp-block-heading\">\u521d\u56de\u30da\u30fc\u30b8\u3067\u4f9d\u5b58\u30d5\u30a1\u30a4\u30eb\u3092\u78ba\u8a8d\u3059\u308b<\/h2><p class=\"wp-block-paragraph\">\u6700\u521d\u306b\u958b\u304f\u30da\u30fc\u30b8\u3067\u3082swell_script\u30fbswell_swiper\u306e\u5f8c\u306b\u5b50\u30c6\u30fc\u30de\u306ejs\/waza-pjax-slider.js\u304c\u51fa\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002WordPress\u306e\u5b9f\u969b\u306e\u51fa\u529b\u9806\u306f\u78ba\u8a8d\u6e08\u307f\u3067\u3059\u304c\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u914d\u7f6e\u3068HTTP\u3067\u306e\u53d6\u5f97\u306f\u5c0e\u5165\u5148\u3067\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u5225\u306e\u8a18\u4e8b\u304b\u3089\u30b9\u30e9\u30a4\u30c0\u30fc\u3078\u79fb\u52d5\u3057\u3001\u623b\u308b\u30fb\u9032\u3080\u306e\u5f8c\u3082\u64cd\u4f5c\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u672c\u756a\u3078\u53cd\u6620\u3057\u307e\u3059\u3002Pjax\u3092\u4f7f\u308f\u306a\u3044\u901a\u5e38\u306e\u8a18\u4e8b\u79fb\u52d5\u306f\u3001\u3053\u306e\u691c\u8a3c\u306e\u4ee3\u308f\u308a\u306b\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<h2 class=\"wp-block-heading\">\u5b9fPjax\u306e\u5c65\u6b74\u79fb\u52d5\u3068\u4e8c\u3064\u306e\u30b9\u30e9\u30a4\u30c0\u30fc\u3092\u78ba\u8a8d\u3059\u308b<\/h2>\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u78ba\u8a8d\u9806<\/th><th>\u671f\u5f85\u3059\u308b\u7d50\u679c<\/th><\/tr><\/thead><tbody><tr><td>\u30b9\u30e9\u30a4\u30c0\u30fc\u306a\u3057\u2192\u4e8c\u3064\u306e\u30b9\u30e9\u30a4\u30c0\u30fc<\/td><td>A\u30fbB\u304c\u305d\u308c\u305e\u308c\u521d\u671f\u5316\u3055\u308c\u308b<\/td><\/tr><tr><td>A\u3092Enter\u3001B\u3092Space\u3067\u64cd\u4f5c<\/td><td>\u64cd\u4f5c\u3057\u305f\u30b9\u30e9\u30a4\u30c0\u30fc\u3060\u3051\u304c1\u679a\u9032\u3080<\/td><\/tr><tr><td>\u30b9\u30e9\u30a4\u30c0\u30fc\u306a\u3057\u3078\u79fb\u52d5\u2192\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u623b\u308b<\/td><td>\u672c\u6587\u304c\u623b\u308a\u3001\u518d\u3073\u6b21\u3078\u30dc\u30bf\u30f3\u3092\u64cd\u4f5c\u3067\u304d\u308b<\/td><\/tr><tr><td>\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u9032\u3080<\/td><td>\u79fb\u52d5\u5148\u306e\u672c\u6587\u3078\u5207\u308a\u66ff\u308f\u308b<\/td><\/tr><\/tbody><\/table><\/figure>\n<p class=\"wp-block-paragraph\">Pjax\u306fURL\u3060\u3051\u5148\u306b\u5909\u308f\u308b\u5834\u5408\u304c\u3042\u308b\u305f\u3081\u3001\u672c\u6587\u304c\u5207\u308a\u66ff\u308f\u3063\u3066\u304b\u3089\u6b21\u306e\u64cd\u4f5c\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p class=\"wp-block-paragraph\">2026\u5e7410\u67083\u65e5\u3001WordPress 7.1.2 \/ SWELL 2.19.0\u306e\u9694\u96e2\u74b0\u5883\u3067\u3001\u5b9f\u969b\u306e\u30da\u30fc\u30b8\u53d6\u5f97\u3068\u30d6\u30e9\u30a6\u30b6\u30fc\u5c65\u6b74\u3092\u4f7f\u3063\u3066\u4e0a\u8868\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u901a\u5e38\u306e\u30ea\u30f3\u30af\u79fb\u52d5\u3067\u306f\u30da\u30fc\u30b8\u5168\u4f53\u3092\u518d\u8aad\u8fbc\u305b\u305a\u306b\u672c\u6587\u304c\u5165\u308c\u66ff\u308f\u308a\u3001A\u3068B\u306e\u64cd\u4f5c\u306f\u4e92\u3044\u306b\u5f71\u97ff\u3057\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u7570\u306a\u308bURL\u30d1\u30b9\u306e\u30da\u30fc\u30b8\u304b\u3089\u623b\u3063\u305f\u5f8c\u306f\u3001A\u30fbB\u305d\u308c\u305e\u308c\u306e\u30da\u30fc\u30b8\u9001\u308a\u304c3\u500b\u3067\u3001A\u306e\u6b21\u3078\u30dc\u30bf\u30f3\u3082\u518d\u64cd\u4f5c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p class=\"wp-block-paragraph\">URL\u306e\u30af\u30a8\u30ea\u30fc\u3060\u3051\u3092\u5909\u66f4\u3059\u308b\u5f62\u5f0f\u3067\u306f\u3001\u4eca\u56de\u3001\u623b\u308b\u64cd\u4f5c\u3067URL\u3068\u672c\u6587\u304c\u4e00\u81f4\u3057\u306a\u3044\u72b6\u614b\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u5c65\u6b74\u306e\u6210\u529f\u78ba\u8a8d\u306b\u306f\u7570\u306a\u308b\u30d1\u30b9\u3092\u4f7f\u3044\u3001\u30af\u30a8\u30ea\u30fc\u3060\u3051\u306e\u5f62\u5f0f\u3092\u542b\u3080\u5168URL\u3067\u306e\u4e92\u63db\u6027\u306f\u4fdd\u8a3c\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u5c0e\u5165\u5148\u3067\u3082\u672c\u6587\u30fb\u30dc\u30bf\u30f3\u30fb\u30da\u30fc\u30b8\u9001\u308a\u306e\u6570\u3092\u78ba\u8a8d\u3057\u3001\u91cd\u8907\u3057\u305f\u521d\u671f\u5316\u304c\u306a\u3044\u304b\u3092\u8abf\u3079\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u753b\u50cf\u306fA\u3060\u3051\u30922\u679a\u76ee\u306b\u9032\u3081\u3001B\u30921\u679a\u76ee\u306b\u6b8b\u3057\u305f\u72b6\u614b\u3067\u3059\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u5b9f\u6a5f\u30bf\u30c3\u30c1\u64cd\u4f5c\u3001\u30b9\u30de\u30db\u3067\u306e\u8ffd\u52a0\u64cd\u4f5c\u3001WP Rocket\u306a\u3069\u306e\u6700\u9069\u5316\u3068\u306e\u4f75\u7528\u306f\u5225\u9014\u78ba\u8a8d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-js-26389-20261003.jpg\"><img decoding=\"async\" width=\"1265\" height=\"712\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-js-26389-20261003.jpg\" alt=\"\u4e8c\u3064\u306e\u30b9\u30e9\u30a4\u30c0\u30fc\u306e\u3046\u3061\u4e0a\u5074\u3060\u3051\u30922\u679a\u76ee\u306b\u9032\u3081\u305f\u5b9f\u753b\u9762\" class=\"wp-image-30583\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-js-26389-20261003.jpg 1265w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-js-26389-20261003-382x215.jpg 382w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-js-26389-20261003-812x457.jpg 812w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-js-26389-20261003-768x432.jpg 768w\" sizes=\"(max-width: 1265px) 100vw, 1265px\" \/><\/a><figcaption class=\"wp-element-caption\">A\u30922\u679a\u76ee\u3001B\u30921\u679a\u76ee\u306b\u3057\u305f\u500b\u5225\u64cd\u4f5c\u306e\u753b\u9762\u3002\u5c65\u6b74\u79fb\u52d5\u306f\u5225\u9014\u5b9fPjax\u3067\u78ba\u8a8d\u30022026\u5e7410\u67083\u65e5\u3001\u9694\u96e2\u74b0\u5883\u3067\u64ae\u5f71\u3002<\/figcaption><\/figure>","protected":false},"excerpt":{"rendered":"<p>SWELL\u306ePjax\u3067\u5225\u30da\u30fc\u30b8\u304b\u3089\u623b\u308b\u3068\u3001\u81ea\u4f5c\u306eSwiper\u304c\u52d5\u304b\u306a\u304f\u306a\u308b\u5834\u5408\u306e\u5b9f\u88c5\u4f8b\u3067\u3059\u3002\u521d\u56de\u8868\u793a\u3068Pjax\u9077\u79fb\u5f8c\u306e\u4e21\u65b9\u3067\u521d\u671f\u5316\u3057\u3001\u5c02\u7528\u30af\u30e9\u30b9\u3092\u4ed8\u3051\u305f\u30b9\u30e9\u30a4\u30c0\u30fc\u3060\u3051\u3092\u5bfe\u8c61\u306b\u3057\u307e\u3059\u3002 2026\u5e7410\u67082\u65e5\u306bPHP\u306e\u4f9d\u5b58\u30d5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":26393,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","book_review_data":"","footnotes":"","ssp_meta_title":"SWELL\u3067Swiper\u304c\u52d5\u304b\u306a\u3044\u6642\u306e\u5bfe\u51e6\u6cd5","ssp_meta_description":"SWELL\u306ePjax\u9077\u79fb\u6642\u306bSwiper\u304c\u52d5\u304b\u306a\u304f\u306a\u308b\u4e0d\u5177\u5408\u306e\u89e3\u6d88\u6cd5\u3092\u89e3\u8aac\u3002window.SWELLHOOK.barbaAfter\u3092\u7528\u3044\u3066\u30b9\u30e9\u30a4\u30c0\u30fc\u3092\u518d\u521d\u671f\u5316\u3059\u308b\u3001\u5bfe\u5fdc\u524d\u30fb\u5bfe\u5fdc\u5f8c\u306ePHP\u30b3\u30fc\u30c9\u3092\u63b2\u8f09\u3057\u3066\u3044\u307e\u3059\u3002"},"categories":[102],"tags":[],"area":[],"class_list":["post-26389","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-troubleshooting"],"_links":{"self":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/26389","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/comments?post=26389"}],"version-history":[{"count":7,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/26389\/revisions"}],"predecessor-version":[{"id":30784,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/26389\/revisions\/30784"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/media\/26393"}],"wp:attachment":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/media?parent=26389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/categories?post=26389"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/tags?post=26389"},{"taxonomy":"area","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/area?post=26389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}