{"id":27283,"date":"2024-08-21T07:25:00","date_gmt":"2024-08-20T22:25:00","guid":{"rendered":"https:\/\/motoki-design.co.jp\/wordpress\/?p=27283"},"modified":"2026-10-04T08:24:09","modified_gmt":"2026-10-03T23:24:09","slug":"swell-hide-toc-headings","status":"publish","type":"post","link":"https:\/\/motoki-design.co.jp\/wordpress\/swell-hide-toc-headings\/","title":{"rendered":"SWELL\u2502\u76ee\u6b21\u306b\u5bfe\u3057\u3066\u7279\u5b9a\u306e\u9805\u76ee\u3092\u8868\u793a\u975e\u8868\u793a\u3059\u308b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba"},"content":{"rendered":"<p class=\"wp-block-paragraph\">\u5c11\u6570\u306e\u898b\u51fa\u3057\u3060\u3051\u3092\u9664\u5916\u3059\u308b\u306a\u3089\u3001\u898b\u51fa\u3057\u30d6\u30ed\u30c3\u30af\u306e\u300c\u9ad8\u5ea6\u306a\u8a2d\u5b9a\u300d\u2192\u8ffd\u52a0CSS\u30af\u30e9\u30b9\u3078swl-toc-off\u3092\u4ed8\u3051\u308b\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002SWELL 2.19.0\u306e\u76ee\u6b21\u51e6\u7406\u3067\u3053\u306e\u30af\u30e9\u30b9\u3092\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306fACF\u306e\u9078\u629e\u6b04\u304b\u3089\u307e\u3068\u3081\u3066\u6307\u5b9a\u3057\u305f\u3044\u5834\u5408\u306e\u5b9f\u88c5\u3067\u3059\u3002<\/p><p class=\"wp-block-paragraph\">SWELL\u306e\u76ee\u6b21\u304b\u3089\u7279\u5b9a\u306e\u898b\u51fa\u3057\u3092\u5916\u3057\u305f\u3044\u3068\u304d\u306b\u3001ACF\u306e\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3067\u5bfe\u8c61\u3092\u9078\u3076\u4f8b\u3067\u3059\u3002\u672c\u6587\u306e\u898b\u51fa\u3057\u306f\u6b8b\u3057\u3001\u76ee\u6b21\u306e\u30ea\u30f3\u30af\u9805\u76ee\u3060\u3051\u3092\u96a0\u3057\u307e\u3059\u3002\u898b\u51fa\u3057\u306b\u4ed8\u3051\u305fHTML\u30a2\u30f3\u30ab\u30fc\u3092\u4f7f\u3046\u305f\u3081\u3001\u9806\u756a\u3092\u5909\u3048\u3066\u3082\u540c\u3058\u898b\u51fa\u3057\u3092\u8b58\u5225\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2 class=\"wp-block-heading\">\u898b\u51fa\u3057\u306bHTML\u30a2\u30f3\u30ab\u30fc\u3092\u4ed8\u3051\u308b<\/h2>\n<p class=\"wp-block-paragraph\">\u5bfe\u8c61\u306eH2\u307e\u305f\u306fH3\u306e\u300c\u9ad8\u5ea6\u306a\u8a2d\u5b9a\u300d\u3067HTML\u30a2\u30f3\u30ab\u30fc\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p class=\"wp-block-paragraph\">overview\u3084detail\u306e\u3088\u3046\u306b\u82f1\u5b57\u3067\u59cb\u307e\u308b\u534a\u89d2\u82f1\u6570\u5b57\u30fb\u30cf\u30a4\u30d5\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30b9\u30b3\u30a2\u3092\u4f7f\u3044\u3001\u540c\u3058\u8a18\u4e8b\u3067\u91cd\u8907\u3055\u305b\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u540c\u671f\u30d1\u30bf\u30fc\u30f3\u5185\u306e\u898b\u51fa\u3057\u306b\u3082\u30a2\u30f3\u30ab\u30fc\u3092\u4ed8\u3051\u3001\u30d1\u30bf\u30fc\u30f3\u3068\u4f7f\u7528\u3059\u308b\u8a18\u4e8b\u306e\u4e21\u65b9\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u30ab\u30b9\u30bf\u30e0HTML\u3084\u4efb\u610f\u306e\u52d5\u7684\u30d6\u30ed\u30c3\u30af\u304c\u751f\u6210\u3059\u308b\u898b\u51fa\u3057\u306f\u3001\u3053\u306e\u9078\u629e\u80a2\u306b\u306f\u542b\u3081\u307e\u305b\u3093\u3002<\/p>\n<h2 class=\"wp-block-heading\">ACF\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u7528\u610f\u3059\u308b<\/h2>\n<p class=\"wp-block-paragraph\">ACF\u3067\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u4f5c\u308a\u3001\u540d\u524d\u3092omit_headings\u3001\u623b\u308a\u5024\u3092\u300c\u5024\u300d\u306b\u3057\u307e\u3059\u3002\u5bfe\u8c61\u306e\u8a18\u4e8b\u7de8\u96c6\u753b\u9762\u306b\u8868\u793a\u3059\u308b\u6761\u4ef6\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u9078\u629e\u80a2\u306f\u6b21\u306e\u30b3\u30fc\u30c9\u3067\u3001\u4fdd\u5b58\u6e08\u307f\u672c\u6587\u306e\u30a2\u30f3\u30ab\u30fc\u304b\u3089\u751f\u6210\u3057\u307e\u3059\u3002\u307e\u305a\u898b\u51fa\u3057\u3092\u4fdd\u5b58\u3057\u3001\u7de8\u96c6\u753b\u9762\u3092\u958b\u304d\u76f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u30d5\u30a3\u30fc\u30eb\u30c9\u5024\u3068\u8ffd\u52a0\u30b3\u30fc\u30c9\u3092\u5909\u66f4\u524d\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u9078\u629e\u80a2\u3068\u4fdd\u5b58\u5024\u306b\u306f\u898b\u51fa\u3057\u306e\u30a2\u30f3\u30ab\u30fc\u540d\u3092\u4f7f\u3044\u307e\u3059\u3002\u756a\u53f7\u304b\u3089\u30a2\u30f3\u30ab\u30fc\u540d\u3078\u81ea\u52d5\u5909\u63db\u3059\u308b\u51e6\u7406\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h2 class=\"wp-block-heading\">\u5b50\u30c6\u30fc\u30de\u306efunctions.php\u306b\u8ffd\u52a0\u3059\u308b<\/h2>\n<p class=\"wp-block-paragraph\">\u5b50\u30c6\u30fc\u30de\u306efunctions.php\u3078\u6b21\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u65e2\u5b58\u306ePHP\u30d5\u30a1\u30a4\u30eb\u3078\u8ffd\u8a18\u3059\u308b\u3068\u304d\u306f\u5148\u982d\u306e&lt;?php\u3092\u91cd\u306d\u307e\u305b\u3093\u3002ACF\u304c\u505c\u6b62\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u4f55\u3082\u51fa\u529b\u3057\u307e\u305b\u3093\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>&lt;?php\n\/\/ ACF\u306e\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9: omit_headings \/ \u623b\u308a\u5024\u306f\u300c\u5024\u300d\u3002\nadd_filter('acf\/load_field\/name=omit_headings', function ($field) {\n    if (!is_admin()) return $field;\n    $id = isset($_GET['post']) ? absint($_GET['post']) : get_the_ID();\n    $field['choices'] = [];\n    if (!$id) return $field;\n    $visited = [];\n    $walk = function ($blocks, $depth = 0) use (&amp;$walk, &amp;$field, &amp;$visited) {\n        if ($depth &gt;= 8) return;\n        foreach ($blocks as $block) {\n            if (($block['blockName'] ?? '') === 'core\/heading') {\n                $level = (int) ($block['attrs']['level'] ?? 2);\n                $anchor = $block['attrs']['anchor'] ?? '';\n                if (in_array($level, [2, 3], true) &amp;&amp; preg_match('\/^[A-Za-z][A-Za-z0-9_-]*$\/D', $anchor)) {\n                    $field['choices'][$anchor] = 'H'.$level.': '.wp_strip_all_tags($block['innerHTML']).' (#'.$anchor.')';\n                }\n            }\n            if (($block['blockName'] ?? '') === 'core\/block') {\n                $ref = absint($block['attrs']['ref'] ?? 0);\n                if ($ref &amp;&amp; !isset($visited[$ref])) {\n                    $visited[$ref] = true;\n                    $shared = get_post($ref);\n                    if ($shared &amp;&amp; $shared-&gt;post_type === 'wp_block' &amp;&amp; $shared-&gt;post_status === 'publish' &amp;&amp; $shared-&gt;post_password === '') {\n                        $walk(parse_blocks($shared-&gt;post_content), $depth + 1);\n                    }\n                }\n            }\n            if (!empty($block['innerBlocks'])) $walk($block['innerBlocks'], $depth + 1);\n        }\n    };\n    $walk(parse_blocks(get_post_field('post_content', $id)));\n    return $field;\n});\nadd_filter('render_block_core\/heading', function ($content, $block) {\n    if (is_admin() || !is_singular() || !function_exists('get_field')) return $content;\n    $anchor = $block['attrs']['anchor'] ?? '';\n    $level = (int) ($block['attrs']['level'] ?? 2);\n    if (!in_array($level, [2, 3], true) || !is_string($anchor) || !preg_match('\/^[A-Za-z][A-Za-z0-9_-]*$\/D', $anchor)) return $content;\n    $values = get_field('omit_headings', get_queried_object_id());\n    if (!is_array($values) || !in_array($anchor, $values, true)) return $content;\n    if (!class_exists('WP_HTML_Tag_Processor')) return $content;\n    $html = new WP_HTML_Tag_Processor($content);\n    if ($html-&gt;next_tag('H'.$level)) $html-&gt;add_class('swl-toc-off');\n    return $html-&gt;get_updated_html();\n}, 10, 2);\n<\/code><\/pre><\/div><h2 class=\"wp-block-heading\">ACF\u306e\u9078\u629e\u3092\u4fdd\u5b58\u3057\u3066\u76ee\u6b21\u3078\u306e\u53cd\u6620\u3092\u78ba\u8a8d\u3059\u308b<\/h2>\n<p class=\"wp-block-paragraph\">\u672c\u6587\u306e\u898b\u51fa\u3057\u306bHTML\u30a2\u30f3\u30ab\u30fc\u3092\u4fdd\u5b58\u3057\u3066\u304b\u3089\u3001\u6295\u7a3f\u306e\u7de8\u96c6\u753b\u9762\u3092\u958b\u304d\u76f4\u3057\u307e\u3059\u3002<\/p>\n<p class=\"wp-block-paragraph\">ACF\u306e\u300c\u76ee\u6b21\u304b\u3089\u9664\u5916\u3059\u308b\u898b\u51fa\u3057\u300d\u3067\u5bfe\u8c61\u3092\u9078\u629e\u3057\u3001\u6295\u7a3f\u3092\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u7de8\u96c6\u753b\u9762\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3057\u3066\u30c1\u30a7\u30c3\u30af\u304c\u6b8b\u308b\u3053\u3068\u3092\u78ba\u304b\u3081\u305f\u3089\u3001\u516c\u958b\u753b\u9762\u306e\u672c\u6587\u3068\u76ee\u6b21\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u672c\u6587\u306e\u898b\u51fa\u3057\u306f\u6b8b\u3057\u3001\u305d\u306e\u898b\u51fa\u3057\u3078\u306e\u30ea\u30f3\u30af\u3060\u3051\u304c\u76ee\u6b21\u304b\u3089\u6d88\u3048\u308b\u3053\u3068\u304c\u78ba\u8a8d\u306e\u57fa\u6e96\u3067\u3059\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u9694\u96e2\u3057\u305fWordPress 7.1.2 \/ SWELL 2.19.0\u306b\u516c\u5f0fACF 6.8.10\u3092\u5c0e\u5165\u3057\u3001\u540c\u671f\u30d1\u30bf\u30fc\u30f3\u5185\u306eH3\u3092\u9078\u629e\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3057\u305f\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u4fdd\u5b58\u3057\u305f\u30c1\u30a7\u30c3\u30af\u304c\u518d\u8aad\u307f\u8fbc\u307f\u5f8c\u3082\u6b8b\u308a\u3001\u5b9f\u969b\u306eACF\u4fdd\u5b58\u5024\u306b\u5f93\u3063\u3066\u898b\u51fa\u3057\u3078swl-toc-off\u304c\u4ed8\u304d\u3001\u6a19\u6e96\u76ee\u6b21\u304b\u3089\u8a72\u5f53\u30ea\u30f3\u30af\u304c\u5916\u308c\u307e\u3057\u305f\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u9078\u629e\u3092\u89e3\u9664\u3057\u3066\u518d\u3073\u66f4\u65b0\u3059\u308b\u3068\u3001\u898b\u51fa\u3057\u306e\u9664\u5916\u7528\u30af\u30e9\u30b9\u304c\u5916\u308c\u3001\u76ee\u6b21\u306e\u30ea\u30f3\u30af\u3082\u623b\u308a\u307e\u3057\u305f\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u30a2\u30f3\u30ab\u30fc\u540d\u3092\u5909\u3048\u305f\u5834\u5408\u306f\u9078\u629e\u3057\u76f4\u3059\u3053\u3068\u3092\u3001\u3053\u306e\u624b\u9806\u3068\u4f75\u305b\u3066\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u5b9a\u7fa9\u306fPHP\u3067\u767b\u9332\u3057\u3001\u9078\u629e\u5024\u306f\u5f93\u6765\u306e\u6295\u7a3f\u7de8\u96c6\u753b\u9762\u304b\u3089\u4fdd\u5b58\u3057\u307e\u3057\u305f\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u30d5\u30a3\u30fc\u30eb\u30c9\u30b0\u30eb\u30fc\u30d7\u3092\u7ba1\u7406\u753b\u9762\u3067\u4f5c\u6210\u3059\u308b\u64cd\u4f5c\u3001\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u7de8\u96c6\u64cd\u4f5c\u3001Pjax\u3068\u30b9\u30de\u30db\u306e\u8868\u793a\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-reader-27283-20261003.jpg\"><img decoding=\"async\" width=\"1265\" height=\"712\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-reader-27283-20261003.jpg\" alt=\"\u516c\u5f0fACF\u306e\u6295\u7a3f\u7de8\u96c6\u753b\u9762\u3067\u540c\u671f\u30d1\u30bf\u30fc\u30f3\u5185\u306e\u898b\u51fa\u3057\u3092\u9078\u629e\u3057\u305f\u753b\u9762\" class=\"wp-image-30529\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-reader-27283-20261003.jpg 1265w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-reader-27283-20261003-382x215.jpg 382w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-reader-27283-20261003-812x457.jpg 812w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-reader-27283-20261003-768x432.jpg 768w\" sizes=\"(max-width: 1265px) 100vw, 1265px\" \/><\/a><figcaption class=\"wp-element-caption\">\u516c\u5f0fACF\u306e\u6295\u7a3f\u7de8\u96c6\u753b\u9762\u3067\u540c\u671f\u30d1\u30bf\u30fc\u30f3\u5185\u306e\u898b\u51fa\u3057\u3092\u9078\u629e\u3057\u305f\u753b\u9762\u30022026\u5e7410\u67083\u65e5\u3001\u9694\u96e2\u3057\u305fWordPress 7.1.2 \/ SWELL 2.19.0\u3067\u64ae\u5f71\u3002\u30d5\u30a3\u30fc\u30eb\u30c9\u5b9a\u7fa9\u306fPHP\u3067\u767b\u9332\u3057\u3001\u9078\u629e\u5024\u3092\u7de8\u96c6\u753b\u9762\u304b\u3089\u4fdd\u5b58\u3057\u307e\u3057\u305f\u3002<\/figcaption><\/figure><h2 class=\"wp-block-heading\">\u4f7f\u3046\u3068\u304d\u306e\u5236\u7d04<\/h2>\n<p class=\"wp-block-paragraph\">\u672c\u6587\u306e\u898b\u51fa\u3057\u306bSWELL\u304c\u8a8d\u8b58\u3059\u308bswl-toc-off\u30af\u30e9\u30b9\u3092\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u8ffd\u52a0\u3057\u3001\u6a19\u6e96\u306e\u76ee\u6b21\u751f\u6210\u51e6\u7406\u3067\u9664\u5916\u3057\u307e\u3059\u3002\u72ec\u81ea\u306e\u76ee\u6b21\u66f8\u304d\u63db\u3048JavaScript\u306f\u4e0d\u8981\u3067\u3059\u3002PHP\u306eHTML Tag Processor\u3092\u4f7f\u3046\u305f\u3081WordPress 6.2\u4ee5\u4e0a\u304c\u5fc5\u8981\u3067\u3059\u3002H2\u3060\u3051\u3092\u5916\u3059\u3068H3\u306e\u6240\u5c5e\u304c\u5909\u308f\u308b\u5834\u5408\u304c\u3042\u308b\u305f\u3081\u3001\u7bc0\u5168\u4f53\u3092\u5916\u3059\u3068\u304d\u306f\u914d\u4e0b\u306eH3\u3082\u9078\u3093\u3067\u304f\u3060\u3055\u3044\u3002\u30a2\u30f3\u30ab\u30fc\u540d\u3092\u5909\u66f4\u3057\u305f\u5834\u5408\u3082\u9078\u3073\u76f4\u3057\u307e\u3059\u3002Pjax\u3084\u4ed6\u306e\u76ee\u6b21\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u4eca\u56de\u672a\u691c\u8a3c\u3067\u3059\u3002<\/p>\n<h2 class=\"wp-block-heading\">\u78ba\u8a8d\u3057\u305f\u5185\u5bb9<\/h2>\n<p class=\"wp-block-paragraph\">2026\u5e7410\u67081\u65e5\u3001\u5b9fWordPress\u306eparse_blocks\u3067\u4fdd\u5b58\u6e08\u307f\u898b\u51fa\u3057\u3092\u89e3\u6790\u3057\u3001\u9806\u756a\u3092\u5165\u308c\u66ff\u3048\u3066\u3082\u9078\u629e\u5024detail\u304c\u540c\u3058\u898b\u51fa\u3057\u3092\u6307\u3059\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002\u3055\u3089\u306b\u5b9fWordPress\u3067\u3001\u5bfe\u8c61\u30a2\u30f3\u30ab\u30fc\u3001\u5bfe\u8c61\u5916\u3001\u756a\u53f7\u3060\u3051\u306e\u5024\u3001\u5024\u306a\u3057\u3001\u5bfe\u8c61\u5916\u30ec\u30d9\u30eb\u306e5\u5206\u5c90\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n<p class=\"wp-block-paragraph\">SWELL 2.19.0\u306e\u6a19\u6e96\u76ee\u6b21\u3067\u3001\u901a\u5e38\u306eH2\u30fbH3\u306b\u7d9a\u3044\u3066\u30b0\u30eb\u30fc\u30d7\u5185\u306e\u540c\u671fH3\u3082\u9664\u5916\u3067\u304d\u308b\u3053\u3068\u3092PC\u3068\u30b9\u30de\u30db\u3067\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n\n<p class=\"wp-block-paragraph\">\u516c\u5f0fACF 6.8.10\u3092\u4f7f\u3044\u3001\u6295\u7a3f\u7de8\u96c6\u753b\u9762\u3067\u306e\u9078\u629e\u30fb\u66f4\u65b0\u30fb\u518d\u8aad\u307f\u8fbc\u307f\u3068\u9078\u629e\u89e3\u9664\u307e\u3067\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2 class=\"wp-block-heading\">\u540c\u671f\u30d1\u30bf\u30fc\u30f3\u5185\u306e\u898b\u51fa\u3057\u3092\u9078\u3076<\/h2>\n\n<p class=\"wp-block-paragraph\">core\/block\u306eref\u304b\u3089\u516c\u958b\u6e08\u307fwp_block\u306e\u672c\u6587\u3082\u89e3\u6790\u3057\u307e\u3059\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u540c\u3058\u53c2\u7167\u5148\u306f\u4e00\u5ea6\u3060\u3051\u89e3\u6790\u3057\u3001\u30b0\u30eb\u30fc\u30d7\u3068\u53c2\u7167\u3092\u542b\u30808\u6bb5\u968e\u3067\u8d70\u67fb\u3092\u6b62\u3081\u307e\u3059\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u4e0b\u66f8\u304d\u30fb\u30d1\u30b9\u30ef\u30fc\u30c9\u4fdd\u8b77\u30fb\u5225\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u53c2\u7167\u5148\u306f\u9078\u629e\u80a2\u3078\u8ffd\u52a0\u3057\u307e\u305b\u3093\u3002<\/p>\n<p class=\"wp-block-paragraph\">2026\u5e7410\u67082\u65e5\u306e\u5b9fWordPress\u30d5\u30a3\u30eb\u30bf\u30fc\u691c\u8a3c\u3067\u540c\u671fH3\u304c\u9078\u629e\u80a2\u306b\u8ffd\u52a0\u3055\u308c\u3001\u975e\u516c\u958b\u30fb\u4fdd\u8b77\u30fb\u5faa\u74b0\u53c2\u7167\u304c\u5019\u88dc\u3092\u5897\u3084\u3055\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n<p class=\"wp-block-paragraph\">PC1280px\u3068\u30b9\u30de\u30db390px\u306e\u6a19\u6e96\u76ee\u6b21\u3067\u3001\u540c\u671fH3\u3092\u672c\u6587\u306b\u6b8b\u3057\u306a\u304c\u3089\u76ee\u6b21\u304b\u3089\u9664\u5916\u3057\u3001Enter\u3067\u7d50\u8ad6\u3078\u79fb\u52d5\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p class=\"wp-block-paragraph\">2026\u5e7410\u67082\u65e5\u306e\u8868\u793a\u753b\u9762\u306f\u3001ACF\u306e\u623b\u308a\u5024\u3092\u691c\u8a3c\u7528\u30e1\u30bf\u30c7\u30fc\u30bf\u306b\u7f6e\u304d\u63db\u3048\u305f\u9694\u96e2\u74b0\u5883\u3067\u3059\u3002\u516c\u5f0fACF\u3067\u306e\u4fdd\u5b58\u78ba\u8a8d\u306f\u524d\u8ff0\u306e\u624b\u9806\u3067\u884c\u3063\u3066\u3044\u307e\u3059\u3002Pjax\u9023\u643a\u306f\u672a\u691c\u8a3c\u3067\u3059\u3002<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"375\" height=\"865\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-related-batch-20261002-toc-mobile.jpg\" alt=\"\u540c\u671f\u30d6\u30ed\u30c3\u30af\u306e\u898b\u51fa\u3057\u304c\u672c\u6587\u306b\u6b8b\u308a\u76ee\u6b21\u304b\u3089\u5916\u308c\u305f\u9694\u96e2\u753b\u9762\" class=\"wp-image-30380\"\/><figcaption class=\"wp-element-caption\">2026\u5e7410\u67082\u65e5\u64ae\u5f71\u3001WordPress 7.1.2\u30fbSWELL 2.19.0\u306e\u9694\u96e2\u74b0\u5883\u3002<\/figcaption><\/figure>\n<h2 class=\"wp-block-heading\">\u5143\u306b\u623b\u3059<\/h2>\n<p class=\"wp-block-paragraph\">\u9078\u629e\u3092\u3059\u3079\u3066\u89e3\u9664\u3057\u3066\u4fdd\u5b58\u3059\u308b\u304b\u3001\u8ffd\u52a0\u3057\u305f2\u3064\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u505c\u6b62\u3057\u3001\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002HTML\u30a2\u30f3\u30ab\u30fc\u306f\u30ea\u30f3\u30af\u5148\u3068\u3057\u3066\u4f7f\u308f\u308c\u3066\u3044\u308c\u3070\u6b8b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u898b\u51fa\u3057\u3092\u691c\u7d22\u5bfe\u7b56\u306e\u305f\u3081\u306b\u5897\u3084\u3057\u3066\u76ee\u6b21\u3060\u3051\u96a0\u3059\u306e\u3067\u306f\u306a\u304f\u3001\u8aad\u8005\u304c\u8aad\u307f\u9032\u3081\u3084\u3059\u3044\u898b\u51fa\u3057\u69cb\u6210\u3092\u5148\u306b\u6574\u3048\u307e\u3059\u3002<\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"375\" height=\"812\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/waza-native-toc-test-20261001.jpg\" alt=\"\u76ee\u6b21\u306e\u8a73\u7d30\u30ea\u30f3\u30af\u3060\u3051\u3092\u96a0\u3057\u3001\u672c\u6587\u306e\u8a73\u7d30\u898b\u51fa\u3057\u3092\u6b8b\u3057\u305f\u691c\u8a3c\u753b\u9762\" class=\"wp-image-29709\"\/><figcaption class=\"wp-element-caption\">2026\u5e7410\u67081\u65e5\u64ae\u5f71\u3002\u5b9fSWELL\u304c\u76ee\u6b21\u3092\u751f\u6210\u3057\u305f\u30ed\u30fc\u30ab\u30eb\u691c\u8a3c\u3002\u672c\u6587\u3068ACF\u623b\u308a\u5024\u306f\u691c\u8a3c\u7528\u3067\u3001ACF\u7de8\u96c6\u753b\u9762\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/figcaption><\/figure>","protected":false},"excerpt":{"rendered":"<p>\u5c11\u6570\u306e\u898b\u51fa\u3057\u3060\u3051\u3092\u9664\u5916\u3059\u308b\u306a\u3089\u3001\u898b\u51fa\u3057\u30d6\u30ed\u30c3\u30af\u306e\u300c\u9ad8\u5ea6\u306a\u8a2d\u5b9a\u300d\u2192\u8ffd\u52a0CSS\u30af\u30e9\u30b9\u3078swl-toc-off\u3092\u4ed8\u3051\u308b\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002SWELL 2.19.0\u306e\u76ee\u6b21\u51e6\u7406\u3067\u3053\u306e\u30af\u30e9\u30b9\u3092\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306fACF\u306e\u9078\u629e\u6b04\u304b\u3089\u307e\u3068 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":27288,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","book_review_data":"","footnotes":"","ssp_meta_title":"SWELL\u3067\u76ee\u6b21\u306e\u7279\u5b9a\u9805\u76ee\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u65b9\u6cd5","ssp_meta_description":"WordPress\u30c6\u30fc\u30de\u300cSWELL\u300d\u3067\u7279\u5b9a\u306eH2\u30fbH3\u76ee\u6b21\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3002ACF\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8a2d\u5b9a\u3057\u3001functions.php\u3078\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u8a18\u4e8b\u7de8\u96c6\u753b\u9762\u306e\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u304b\u3089\u9664\u5916\u3059\u308b\u624b\u9806\u304c\u8aad\u3081\u307e\u3059\u3002"},"categories":[110],"tags":[],"area":[],"class_list":["post-27283","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-swell-customize"],"_links":{"self":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/27283","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=27283"}],"version-history":[{"count":10,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/27283\/revisions"}],"predecessor-version":[{"id":30803,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/27283\/revisions\/30803"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/media\/27288"}],"wp:attachment":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/media?parent=27283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/categories?post=27283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/tags?post=27283"},{"taxonomy":"area","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/area?post=27283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}