<?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>
									Table of Contents+で作成した目次の上に広告を出すようにして欲しいです。 - 不具合報告				            </title>
            <link>https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/</link>
            <description>Cocoon ディスカッション掲示板</description>
            <language>ja</language>
            <lastBuildDate>Tue, 12 May 2026 16:38:58 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Table of Contents+で作成した目次の上に広告を出すようにして欲しいです。</title>
                        <link>https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-4250</link>
                        <pubDate>Mon, 18 Jun 2018 10:09:43 +0000</pubDate>
                        <description><![CDATA[確かに、ショートコードを使うとadd_shortcode関数を使うことになるので、また優先度とかでは違ってくるのかも。僕も全く頭にありませんでした。僕も、テストページ用だけ、表示させるのにショートコードで表示させていました^^;ジャム君さんありがとうございます。とりあえず、さくらさんの環境でもうまくいったようでよかったです。僕も、「何故以前動作していたコードが動作しない？？バー...]]></description>
                        <content:encoded><![CDATA[<p>確かに、ショートコードを使うとadd_shortcode関数を使うことになるので、また優先度とかでは違ってくるのかも。<br />僕も全く頭にありませんでした。僕も、テストページ用だけ、表示させるのにショートコードで表示させていました^^;<br />ジャム君さんありがとうございます。</p><p>とりあえず、さくらさんの環境でもうまくいったようでよかったです。<br />僕も、「何故以前動作していたコードが動作しない？？バージョンアップがあったわけでもないのに。」という疑問が晴れてスッキリしました。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>わいひら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-4250</guid>
                    </item>
				                    <item>
                        <title>RE: Table of Contents+で作成した目次の上に広告を出すようにして欲しいです。</title>
                        <link>https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-4233</link>
                        <pubDate>Sun, 17 Jun 2018 15:31:42 +0000</pubDate>
                        <description><![CDATA[ジャムくん様コメントありがとうございます。わいひら様のコードを張り付けてもやっぱりできない！と思っていたのですが、確認していた記事がショートコードで出していました……。基本的に目次は表示しているのですが（ショートコードを使うのは主に非表示）、一部の記事だけは、表示する階層を制御したくてショートコードを使って目次を表示しています。よりによって表示の位置を確認したのがその記事でした...]]></description>
                        <content:encoded><![CDATA[<p>ジャムくん様</p><p>コメントありがとうございます。</p><p>わいひら様のコードを張り付けてもやっぱりできない！と思っていたのですが、確認していた記事がショートコードで出していました……。</p><p>基本的に目次は表示しているのですが（ショートコードを使うのは主に非表示）、一部の記事だけは、表示する階層を制御したくてショートコードを使って目次を表示しています。</p><p>よりによって表示の位置を確認したのがその記事でした……。</p><p>ジャムくん様のおかげで、自分の勘違いに気が付けました。（ショートコードと言われて、そういえば、わたしは確認するときに気にしてなかった……！と）</p><p>わいひら様、お手数をおかけしてすみませんでした。</p><p>そしてありがとうございました。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>さくら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-4233</guid>
                    </item>
				                    <item>
                        <title>RE: Table of Contents+で作成した目次の上に広告を出すようにして欲しいです。</title>
                        <link>https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-4220</link>
                        <pubDate>Sun, 17 Jun 2018 03:08:58 +0000</pubDate>
                        <description><![CDATA[私の環境で試した結果なので、さくらさんの環境でも同様の結果を得られる保証はないのですが、毎回ショートコードを使ってしまってはいませんか。 わいひらさんが書いてくださったコードをfunctions.phpにそのままコピペしたところ、TOC+の設定で「以下のコンテンツタイプを自動挿入」のpostにチェックした状態だけですと、見出しの上に広告が挿入されました記事の数も関係してくるので...]]></description>
                        <content:encoded><![CDATA[<p>私の環境で試した結果なので、さくらさんの環境でも同様の結果を得られる保証はないのですが、毎回ショートコードを使ってしまってはいませんか。</p><p> </p><p>わいひらさんが書いてくださったコードをfunctions.phpにそのままコピペしたところ、TOC+の設定で「以下のコンテンツタイプを自動挿入」のpostにチェックした状態だけですと、見出しの上に広告が挿入されました。</p><p>https://gyazo.com/0c49f6f0a4e3f0703193b08436d505c8</p><p>ただ「以下のコンテンツタイプを自動挿入」のpostのチェック有無にかかわらずのショートコードを使った場合、コードが反映されないようで、見出しの下に広告が挿入されたままになってしまいました。</p><p> </p><p>記事の数も関係してくるので面倒かもしれませんが、見出しがいらない記事でのみを使っていけば、見出しを使いたい記事にTOC+の機能で自動挿入させることでコードが反映されそうなので、postには自動挿入だけ（は書かない）+のショートコードで意図した動作になるか、さくらさんの環境でも試すのはいかがでしょう。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>ジャム君</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-4220</guid>
                    </item>
				                    <item>
                        <title>RE: Table of Contents+で作成した目次の上に広告を出すようにして欲しいです。</title>
                        <link>https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-4217</link>
                        <pubDate>Sat, 16 Jun 2018 18:30:58 +0000</pubDate>
                        <description><![CDATA[わいひらさま、コードまで書いていただきありがとうございます。simplicityで同じような質問があったので試してみたりしたのですが、おっしゃる通りダメで、何が原因なのかいろいろ検討してみたんですけど、全然わからず。時間がたつと、Cocoonユーザー以外のTOC+ユーザーで同じような人がいて、教えてくれる人がいるかもしれないと今は淡い期待をしています。なので、解決したら、その時...]]></description>
                        <content:encoded><![CDATA[<p>わいひらさま、コードまで書いていただきありがとうございます。</p><p>simplicityで同じような質問があったので試してみたりしたのですが、おっしゃる通りダメで、何が原因なのかいろいろ検討してみたんですけど、全然わからず。</p><p>時間がたつと、Cocoonユーザー以外のTOC+ユーザーで同じような人がいて、教えてくれる人がいるかもしれないと今は淡い期待をしています。</p><p>なので、解決したら、その時はまた書き込みに来ます。</p><p>それと、本題とは関係ないですが、正式リリース発表にわたしもうれしくなりました。</p><p>わいひらさま、本当にお疲れさまでした。</p><p> </p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>さくら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-4217</guid>
                    </item>
				                    <item>
                        <title>RE: Table of Contents+で作成した目次の上に広告を出すようにして欲しいです。</title>
                        <link>https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-4022</link>
                        <pubDate>Mon, 11 Jun 2018 11:23:45 +0000</pubDate>
                        <description><![CDATA[以前は、こんな感じでコードを書いて優先度の数字を変更すれば、順番を変えれたような気はするんですが、なぜか変更できなかった。add_action( &#039;init&#039; , &#039;ad_order_demo&#039; );
function ad_order_demo() {
  remove_filter( &#039;the_content&#039;, &#039;add_ads_before_1st_h2&#039;, BEF...]]></description>
                        <content:encoded><![CDATA[<p>以前は、こんな感じでコードを書いて優先度の数字を変更すれば、順番を変えれたような気はするんですが、なぜか変更できなかった。</p><pre>add_action( 'init' , 'ad_order_demo' );
function ad_order_demo() {
  remove_filter( 'the_content', 'add_ads_before_1st_h2', BEFORE_1ST_H2_AD_PRIORITY_STANDARD );
  add_filter('the_content', 'add_ads_before_1st_h2', 9);
  remove_filter('the_content','add_widget_area_before_1st_h2_in_single', BEFORE_1ST_H2_WIDGET_PRIORITY_STANDARD);
  add_filter('the_content','add_widget_area_before_1st_h2_in_single', 9);
} </pre><p>一応、解決済みにしておきます。</p><p>ただ、何か方法があれば書き込めるようにトピックはオープンにしておこうと思います。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>わいひら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-4022</guid>
                    </item>
				                    <item>
                        <title>RE: Table of Contents+で作成した目次の上に広告を出すようにして欲しいです。</title>
                        <link>https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-4011</link>
                        <pubDate>Sun, 10 Jun 2018 17:09:42 +0000</pubDate>
                        <description><![CDATA[わいひら様、こんばんは。お返事をいただいて、自分でphpいじってできれば、ここにその方法を書こうと思っていろいろ調べたりしてみたのですが、ギブアップなので、ひとまずここは閉じていただけますか？お忙しい中申し訳ないですが、どうぞよろしくお願いします。]]></description>
                        <content:encoded><![CDATA[<p>わいひら様、こんばんは。</p><p>お返事をいただいて、自分でphpいじってできれば、ここにその方法を書こうと思っていろいろ調べたりしてみたのですが、ギブアップなので、ひとまずここは閉じていただけますか？</p><p>お忙しい中申し訳ないですが、どうぞよろしくお願いします。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>さくら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-4011</guid>
                    </item>
				                    <item>
                        <title>RE: Table of Contents+で作成した目次の上に広告を出すようにして欲しいです。</title>
                        <link>https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-3848</link>
                        <pubDate>Mon, 04 Jun 2018 09:13:44 +0000</pubDate>
                        <description><![CDATA[とりあえず、うまく動作したようで良かったです。]]></description>
                        <content:encoded><![CDATA[<p>とりあえず、うまく動作したようで良かったです。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>わいひら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-3848</guid>
                    </item>
				                    <item>
                        <title>RE: Table of Contents+で作成した目次の上に広告を出すようにして欲しいです。</title>
                        <link>https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-3814</link>
                        <pubDate>Sun, 03 Jun 2018 00:48:39 +0000</pubDate>
                        <description><![CDATA[わいひらさんいつの間にか実装されていたのですね・・・失礼しました。私はこれで大丈夫です！]]></description>
                        <content:encoded><![CDATA[<p>わいひらさん</p><p>いつの間にか実装されていたのですね・・・失礼しました。</p><p>私はこれで大丈夫です！</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>dalahastjp</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-3814</guid>
                    </item>
				                    <item>
                        <title>RE: Table of Contents+で作成した目次の上に広告を出すようにして欲しいです。</title>
                        <link>https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-3808</link>
                        <pubDate>Sat, 02 Jun 2018 13:00:59 +0000</pubDate>
                        <description><![CDATA[Cocoonデフォルト機能の目次ならば、テーマ設定の「目次の表示順」の設定を変更することで変わらなかったでしょうか。
2018-06-02_21h58_57.png]]></description>
                        <content:encoded><![CDATA[<p>Cocoonデフォルト機能の目次ならば、テーマ設定の「目次の表示順」の設定を変更することで変わらなかったでしょうか。</p>
<div id="wpfa-3333" class="wpforo-attached-file"><a class="wpforo-default-attachment" href="//wp-cocoon.com/wp-content/uploads/wpforo/default_attachments/1527944459-2018-06-0221h5857.png" target="_blank"><i class="fas fa-paperclip"></i>2018-06-02_21h58_57.png</a></div>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>わいひら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-3808</guid>
                    </item>
				                    <item>
                        <title>RE: Table of Contents+で作成した目次の上に広告を出すようにして欲しいです。</title>
                        <link>https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-3802</link>
                        <pubDate>Sat, 02 Jun 2018 08:02:41 +0000</pubDate>
                        <description><![CDATA[私もSimplicity時代よりTable of Contents+をつかって目次を設定しているのですが、特にプラグインにこだわりがないのでCocoonのデフォルトでの目次機能を使いたいと考えています。今のところ目次の下（H2前）に広告ウィジェットが表示されるので、Simplicityのように広告ウィジェットの下に目次を表示できるようなオプションがあれば便利だなと思いました。も...]]></description>
                        <content:encoded><![CDATA[<p>私もSimplicity時代よりTable of Contents+をつかって目次を設定しているのですが、特にプラグインにこだわりがないのでCocoonのデフォルトでの目次機能を使いたいと考えています。</p><p>今のところ目次の下（H2前）に広告ウィジェットが表示されるので、Simplicityのように広告ウィジェットの下に目次を表示できるようなオプションがあれば便利だなと思いました。</p><p>もし先々の機能追加でリクエストできれば幸いです。</p><p>※非表示・表示オプションが追加されていたので、期待しております・・・・</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>dalahastjp</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/table-of-contents%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e7%9b%ae%e6%ac%a1%e3%81%ae%e4%b8%8a%e3%81%ab%e5%ba%83%e5%91%8a%e3%82%92%e5%87%ba%e3%81%99%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%a6/#post-3802</guid>
                    </item>
							        </channel>
        </rss>
		