<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Cocoonの目次機能について。h2⇒h3で階層化しない方法 - Cocoonテーマに関する質問				            </title>
            <link>https://wp-cocoon.com/community/cocoon-theme/cocoon%e3%81%ae%e7%9b%ae%e6%ac%a1%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%80%82h2%e2%87%92h3%e3%81%a7%e9%9a%8e%e5%b1%a4%e5%8c%96%e3%81%97%e3%81%aa%e3%81%84%e6%96%b9%e6%b3%95/</link>
            <description>Cocoon ディスカッション掲示板</description>
            <language>ja</language>
            <lastBuildDate>Sun, 08 Mar 2026 18:05:10 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Cocoonの目次機能について。h2⇒h3で階層化しない方法</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/cocoon%e3%81%ae%e7%9b%ae%e6%ac%a1%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%80%82h2%e2%87%92h3%e3%81%a7%e9%9a%8e%e5%b1%a4%e5%8c%96%e3%81%97%e3%81%aa%e3%81%84%e6%96%b9%e6%b3%95/#post-79644</link>
                        <pubDate>Tue, 18 Jun 2024 01:39:59 +0000</pubDate>
                        <description><![CDATA[chu-yaさんありがとうございます！
試してみたところ、目的のものができました。
教えていただきありがとうございました。]]></description>
                        <content:encoded><![CDATA[<p><a title="chu-ya" href="https://wp-cocoon.com/participant/chu-ya/">chu-ya</a>さんありがとうございます！</p>
<p>試してみたところ、目的のものができました。</p>
<p>教えていただきありがとうございました。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>toousamad</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/cocoon%e3%81%ae%e7%9b%ae%e6%ac%a1%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%80%82h2%e2%87%92h3%e3%81%a7%e9%9a%8e%e5%b1%a4%e5%8c%96%e3%81%97%e3%81%aa%e3%81%84%e6%96%b9%e6%b3%95/#post-79644</guid>
                    </item>
				                    <item>
                        <title>RE: Cocoonの目次機能について。h2⇒h3で階層化しない方法</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/cocoon%e3%81%ae%e7%9b%ae%e6%ac%a1%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%80%82h2%e2%87%92h3%e3%81%a7%e9%9a%8e%e5%b1%a4%e5%8c%96%e3%81%97%e3%81%aa%e3%81%84%e6%96%b9%e6%b3%95/#post-79643</link>
                        <pubDate>Mon, 17 Jun 2024 20:28:59 +0000</pubDate>
                        <description><![CDATA[●回答
→→目次ナンバーの表示「表示しない」とします。CSSを追加し、独自に目次番号を付けます。
.toc {
counter-reset: num 0;
}

.toc .toc-content ul {
padding-left: 0;
}

.toc .toc-content ul li {
margin-left:0
...]]></description>
                        <content:encoded><![CDATA[<p><strong>●回答<br /></strong></p>
<p>→→目次ナンバーの表示「表示しない」<br />とします。<br />CSSを追加し、独自に目次番号を付けます。<br /><br /></p>
<pre contenteditable="false">.toc {
counter-reset: num 0;
}

.toc .toc-content ul {
padding-left: 0;
}

.toc .toc-content ul li {
margin-left:0
}

.toc .toc-content li a:before {
counter-increment: num 1;
content: counter(num) ".";
}</pre>
<div id="wpfa-39352" class="wpforo-attached-file"><a class="wpforo-default-attachment" title="2024-06-18_05h24_19.png" href="//wp-cocoon.com/wp-content/uploads/wpforo/default_attachments/1718656139-2024-06-18_05h24_19.png" target="_blank" rel="noopener"><i class="fas fa-paperclip"></i> 2024-06-18_05h24_19.png</a></div>
<div id="wpfa-39353" class="wpforo-attached-file"><a class="wpforo-default-attachment" title="2024-06-18_05h25_09.png" href="//wp-cocoon.com/wp-content/uploads/wpforo/default_attachments/1718656149-2024-06-18_05h25_09.png" target="_blank" rel="noopener"><i class="fas fa-paperclip"></i> 2024-06-18_05h25_09.png</a></div>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>大門未知子</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/cocoon%e3%81%ae%e7%9b%ae%e6%ac%a1%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%80%82h2%e2%87%92h3%e3%81%a7%e9%9a%8e%e5%b1%a4%e5%8c%96%e3%81%97%e3%81%aa%e3%81%84%e6%96%b9%e6%b3%95/#post-79643</guid>
                    </item>
				                    <item>
                        <title>RE: Cocoonの目次機能について。h2⇒h3で階層化しない方法</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/cocoon%e3%81%ae%e7%9b%ae%e6%ac%a1%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%80%82h2%e2%87%92h3%e3%81%a7%e9%9a%8e%e5%b1%a4%e5%8c%96%e3%81%97%e3%81%aa%e3%81%84%e6%96%b9%e6%b3%95/#post-79642</link>
                        <pubDate>Mon, 17 Jun 2024 18:25:58 +0000</pubDate>
                        <description><![CDATA[目次設定は画像のようにしてます。
&nbsp;eb22bf7a906b7f73af3d68cd620dade7.PNG]]></description>
                        <content:encoded><![CDATA[<p>目次設定は画像のようにしてます。</p>
<div id="wpfa-39351" class="wpforo-attached-file"><a class="wpforo-default-attachment" href="//wp-cocoon.com/wp-content/uploads/wpforo/default_attachments/1718648758-eb22bf7a906b7f73af3d68cd620dade7.png" target="_blank" title="eb22bf7a906b7f73af3d68cd620dade7.PNG"><i class="fas fa-paperclip"></i>&nbsp;eb22bf7a906b7f73af3d68cd620dade7.PNG</a></div>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>toousamad</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/cocoon%e3%81%ae%e7%9b%ae%e6%ac%a1%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%80%82h2%e2%87%92h3%e3%81%a7%e9%9a%8e%e5%b1%a4%e5%8c%96%e3%81%97%e3%81%aa%e3%81%84%e6%96%b9%e6%b3%95/#post-79642</guid>
                    </item>
				                    <item>
                        <title>Cocoonの目次機能について。h2⇒h3で階層化しない方法</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/cocoon%e3%81%ae%e7%9b%ae%e6%ac%a1%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%80%82h2%e2%87%92h3%e3%81%a7%e9%9a%8e%e5%b1%a4%e5%8c%96%e3%81%97%e3%81%aa%e3%81%84%e6%96%b9%e6%b3%95/#post-79641</link>
                        <pubDate>Mon, 17 Jun 2024 18:25:03 +0000</pubDate>
                        <description><![CDATA[Cocoonの目次機能についての質問です。h2、h3、h4のように順番に見出しを使用した場合、階層化(表現があってるか分かりません)しない方法を教えて欲しいです。今までTable of Contents Plusのプラグインを使用してましたが、余計なプラグインを減らすため、Cocoonの目次機能を使用することにしました。ただCocoonの目次機能の場合、h2、h3、h4のように...]]></description>
                        <content:encoded><![CDATA[<p>Cocoonの目次機能についての質問です。<br /><br />h2、h3、h4のように順番に見出しを使用した場合、階層化(表現があってるか分かりません)しない方法を教えて欲しいです。<br /><br />今までTable of Contents Plusのプラグインを使用してましたが、余計なプラグインを減らすため、Cocoonの目次機能を使用することにしました。<br /><br />ただCocoonの目次機能の場合、h2、h3、h4のように順番に使用した場合、画像のように階層化されてしまって困ってます。<br /><br />・Coconnだとこうなる<br />1.ここがh2<br />2.ここがh2<br />　1.ここがh3<br />　2.ここがh3<br />　　1.ここがh4<br />3.ここがh2<br /><br />・Table of Contents Plusだとこうなる<br />1.ここがh2<br />2.ここがh2<br />3.ここがh3<br />4.ここがh3<br />5.ここがh4<br />6.ここがh2<br /><br />h2の後、h3やh4を使用しても、そのまま2.3.4.5.6.と順番に表示したいというのが今回の質問となります。h3とh4の空白部分も気になります。<br /><br />Cocoonの目次設定などで、Table of Contents Plusのような設定に変更することはできるのでしょうか？<br />あるいはカスタマイズになるのでしょうか？</p>
<p>目次ナンバーの表示は数字(デフォルト)を使ってます。</p>
<p>よろしくお願いします。</p>
<p>コンテンツURL：/wp-content<br />インクルードURL：/wp-includes/<br />テンプレートURL：/wp-content/themes/cocoon-master<br />スタイルシートURL：/wp-content/themes/cocoon-child-master<br />親テーマスタイル：/wp-content/themes/cocoon-master/style.css<br />子テーマスタイル：/wp-content/themes/cocoon-child-master/style.css<br />WordPressバージョン：6.5.4<br />PHPバージョン：8.1.22<br />ブラウザ：Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0<br />サーバーソフト：Apache<br />サーバープロトコル：HTTP/1.1<br />言語：ja,en-US;q=0.7,en;q=0.3<br />----------------------------------------------<br />テーマ名：Cocoon<br />バージョン：2.7.3.5<br />カテゴリー数：4<br />タグ数：1<br />ユーザー数：1<br />----------------------------------------------<br />子テーマ名：Cocoon Child<br />バージョン：1.1.3<br />style.cssサイズ：4044 バイト<br />functions.phpサイズ：766 バイト<br />----------------------------------------------<br />Gutenberg：0<br />Font Awesome：4<br />Auto Post Thumbnail：0<br />Retina：0<br />ホームイメージ：https://ninten-switch.com/wp-content/themes/cocoon-master/screenshot.jpg<br />----------------------------------------------<br />ブラウザキャッシュ有効化：1<br />HTML縮小化：0<br />CSS縮小化：1<br />JavaScript縮小化：1<br />Lazy Load：1<br />----------------------------------------------<br />利用中のプラグイン：<br />Category Order and Taxonomy Terms Order 1.8.2<br />Classic Editor 1.6.3<br />EWWW Image Optimizer 7.7.0<br />SiteGuard WP Plugin 1.7.7<br />XML Sitemap &amp; Google News 5.4.9<br />----------------------------------------------</p>
<div id="wpfa-39350" class="wpforo-attached-file"><a class="wpforo-default-attachment" href="//wp-cocoon.com/wp-content/uploads/wpforo/default_attachments/1718648703-44d29d2792be3bad9a9ed98c7bbb20d6.png" target="_blank" title="44d29d2792be3bad9a9ed98c7bbb20d6.PNG"><i class="fas fa-paperclip"></i>&nbsp;44d29d2792be3bad9a9ed98c7bbb20d6.PNG</a></div>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>toousamad</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/cocoon%e3%81%ae%e7%9b%ae%e6%ac%a1%e6%a9%9f%e8%83%bd%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%80%82h2%e2%87%92h3%e3%81%a7%e9%9a%8e%e5%b1%a4%e5%8c%96%e3%81%97%e3%81%aa%e3%81%84%e6%96%b9%e6%b3%95/#post-79641</guid>
                    </item>
							        </channel>
        </rss>
		