<?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>
									スキン制御(CSV)で、設定名に対し、複数値がある時の指定方法について - Cocoonテーマに関する質問				            </title>
            <link>https://wp-cocoon.com/community/cocoon-theme/%e3%82%b9%e3%82%ad%e3%83%b3%e5%88%b6%e5%be%a1csv%e3%81%a7%e8%a8%ad%e5%ae%9a%e5%90%8d%e3%81%ab%e5%af%be%e3%81%97%e8%a4%87%e6%95%b0%e5%80%a4%e3%81%8c%e3%81%82%e3%82%8b%e6%99%82%e3%81%ae%e6%8c%87/</link>
            <description>Cocoon ディスカッション掲示板</description>
            <language>ja</language>
            <lastBuildDate>Sun, 06 Sep 2026 18:55:47 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: スキン制御(CSV)で、設定名に対し、複数値がある時の指定方法について</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e3%82%b9%e3%82%ad%e3%83%b3%e5%88%b6%e5%be%a1csv%e3%81%a7%e8%a8%ad%e5%ae%9a%e5%90%8d%e3%81%ab%e5%af%be%e3%81%97%e8%a4%87%e6%95%b0%e5%80%a4%e3%81%8c%e3%81%82%e3%82%8b%e6%99%82%e3%81%ae%e6%8c%87/#post-72243</link>
                        <pubDate>Fri, 14 Jul 2023 09:37:25 +0000</pubDate>
                        <description><![CDATA[上記の意図理解しました。本件をクローズとします。]]></description>
                        <content:encoded><![CDATA[<p></p>
<p>「カテゴリーID」はサイト運営者がここに設定するものなので、スキン製作者が配列で設定する意味がほぼほぼないからです。</p>
<p></p>
<p>上記の意図理解しました。<br />本件をクローズとします。</p>]]></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/%e3%82%b9%e3%82%ad%e3%83%b3%e5%88%b6%e5%be%a1csv%e3%81%a7%e8%a8%ad%e5%ae%9a%e5%90%8d%e3%81%ab%e5%af%be%e3%81%97%e8%a4%87%e6%95%b0%e5%80%a4%e3%81%8c%e3%81%82%e3%82%8b%e6%99%82%e3%81%ae%e6%8c%87/#post-72243</guid>
                    </item>
				                    <item>
                        <title>RE: スキン制御(CSV)で、設定名に対し、複数値がある時の指定方法について</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e3%82%b9%e3%82%ad%e3%83%b3%e5%88%b6%e5%be%a1csv%e3%81%a7%e8%a8%ad%e5%ae%9a%e5%90%8d%e3%81%ab%e5%af%be%e3%81%97%e8%a4%87%e6%95%b0%e5%80%a4%e3%81%8c%e3%81%82%e3%82%8b%e6%99%82%e3%81%ae%e6%8c%87/#post-72238</link>
                        <pubDate>Fri, 14 Jul 2023 09:24:17 +0000</pubDate>
                        <description><![CDATA[ご確認ありがとうございます。

はい。除外というか&#039;index_category_ids&#039; =&gt; 1みたいな感じで値を設定するかしないかで全体をオン/オフで切り替えるだけにしています。というのもカテゴリを複数選択する設定の値は「カテゴリーID」で設定するからです。「カテゴリーID」はサイト運営者がここに設定するものなので、スキン製作者が配列で設定する意味がほぼほぼない...]]></description>
                        <content:encoded><![CDATA[<p>ご確認ありがとうございます。</p>
<p></p>
<p>→→フロントページタイプ「表示カテゴリー」<br />は除外と言う事ですよね？</p>
<p></p>
<p>はい。除外というか'index_category_ids' =&gt; 1みたいな感じで値を設定するかしないかで全体をオン/オフで切り替えるだけにしています。<br />というのもカテゴリを複数選択する設定の値は「カテゴリーID」で設定するからです。<br />「カテゴリーID」はサイト運営者がここに設定するものなので、スキン製作者が配列で設定する意味がほぼほぼないからです。</p>]]></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/%e3%82%b9%e3%82%ad%e3%83%b3%e5%88%b6%e5%be%a1csv%e3%81%a7%e8%a8%ad%e5%ae%9a%e5%90%8d%e3%81%ab%e5%af%be%e3%81%97%e8%a4%87%e6%95%b0%e5%80%a4%e3%81%8c%e3%81%82%e3%82%8b%e6%99%82%e3%81%ae%e6%8c%87/#post-72238</guid>
                    </item>
				                    <item>
                        <title>RE: スキン制御(CSV)で、設定名に対し、複数値がある時の指定方法について</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e3%82%b9%e3%82%ad%e3%83%b3%e5%88%b6%e5%be%a1csv%e3%81%a7%e8%a8%ad%e5%ae%9a%e5%90%8d%e3%81%ab%e5%af%be%e3%81%97%e8%a4%87%e6%95%b0%e5%80%a4%e3%81%8c%e3%81%82%e3%82%8b%e6%99%82%e3%81%ae%e6%8c%87/#post-72222</link>
                        <pubDate>Thu, 13 Jul 2023 15:15:02 +0000</pubDate>
                        <description><![CDATA[----------------------------------------------テーマ名：Cocoonバージョン：2.6.2.6カテゴリー数：6タグ数：13ユーザー数：1---------------------------------------------2点確認しました。

マニュアルの以下に配列の記述例が追記されている事を確認しました
以下の時、ウィジェ...]]></description>
                        <content:encoded><![CDATA[<p>----------------------------------------------<br />テーマ名：Cocoon<br />バージョン：2.6.2.6<br />カテゴリー数：6<br />タグ数：13<br />ユーザー数：1<br />---------------------------------------------<br />2点確認しました。</p>
<ol>
<li>マニュアルの以下に配列の記述例が追記されている事を確認しました。<br /><a href="https://wp-cocoon.com/option-csv/" target="_blank" rel="noopener">https://wp-cocoon.com/option-csv/</a><br /><a href="https://wp-cocoon.com/skin-functions-php/" target="_blank" rel="noopener">https://wp-cocoon.com/skin-functions-php/</a></li>
<li>以下の時、ウィジェットエリアが、スキン制御で除外される事を確認しました。<br />exclude_widget_area_ids,"single-content-top,single-content-middle"</li>
</ol>
<p><strong>●再確認</strong></p>
<p></p>
<p>ただ現時点でexclude_widget_classesとexclude_widget_area_ids以外は配列として扱う必要はなさそう</p>
<p></p>
<p>→→フロントページタイプ「表示カテゴリー」<br />は除外と言う事ですよね？</p>]]></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/%e3%82%b9%e3%82%ad%e3%83%b3%e5%88%b6%e5%be%a1csv%e3%81%a7%e8%a8%ad%e5%ae%9a%e5%90%8d%e3%81%ab%e5%af%be%e3%81%97%e8%a4%87%e6%95%b0%e5%80%a4%e3%81%8c%e3%81%82%e3%82%8b%e6%99%82%e3%81%ae%e6%8c%87/#post-72222</guid>
                    </item>
				                    <item>
                        <title>RE: スキン制御(CSV)で、設定名に対し、複数値がある時の指定方法について</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e3%82%b9%e3%82%ad%e3%83%b3%e5%88%b6%e5%be%a1csv%e3%81%a7%e8%a8%ad%e5%ae%9a%e5%90%8d%e3%81%ab%e5%af%be%e3%81%97%e8%a4%87%e6%95%b0%e5%80%a4%e3%81%8c%e3%81%82%e3%82%8b%e6%99%82%e3%81%ae%e6%8c%87/#post-72217</link>
                        <pubDate>Thu, 13 Jul 2023 13:48:28 +0000</pubDate>
                        <description><![CDATA[一応設定できるように修正してみました
 2023-07-13_22h44_37.png]]></description>
                        <content:encoded><![CDATA[<p>一応設定できるように修正してみました。<br />https://github.com/xserver-inc/cocoon<br />ダブルクォーテーションで囲むことでカンマを含む文字を値として扱えます。<br />ただ現時点でexclude_widget_classesとexclude_widget_area_ids以外は配列として扱う必要はなさそうなので、それ以外は文字列として扱うようにしてあります。（メタディスクリプション設定や広告除外記事ID設定、意図せずカンマを含むテキストを扱う設定などでカンマを含む文字を扱うため）<br /><br />CSVとfunction.phpの設定例も追記しておきました。</p>
<div id="wpfa-35019" class="wpforo-attached-file"><a class="wpforo-default-attachment" title="2023-07-13_22h44_37.png" href="//wp-cocoon.com/wp-content/uploads/wpforo/default_attachments/1689256108-2023-07-13_22h44_37.png" target="_blank" rel="noopener"><i class="fas fa-paperclip"></i> 2023-07-13_22h44_37.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/%e3%82%b9%e3%82%ad%e3%83%b3%e5%88%b6%e5%be%a1csv%e3%81%a7%e8%a8%ad%e5%ae%9a%e5%90%8d%e3%81%ab%e5%af%be%e3%81%97%e8%a4%87%e6%95%b0%e5%80%a4%e3%81%8c%e3%81%82%e3%82%8b%e6%99%82%e3%81%ae%e6%8c%87/#post-72217</guid>
                    </item>
				                    <item>
                        <title>スキン制御(CSV)で、設定名に対し、複数値がある時の指定方法について</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e3%82%b9%e3%82%ad%e3%83%b3%e5%88%b6%e5%be%a1csv%e3%81%a7%e8%a8%ad%e5%ae%9a%e5%90%8d%e3%81%ab%e5%af%be%e3%81%97%e8%a4%87%e6%95%b0%e5%80%a4%e3%81%8c%e3%81%82%e3%82%8b%e6%99%82%e3%81%ae%e6%8c%87/#post-72205</link>
                        <pubDate>Thu, 13 Jul 2023 02:20:38 +0000</pubDate>
                        <description><![CDATA[●例
→→除外ウィジェットエリア

●質問
スキン制御でCSVの時、設定名に対し、複数値を持つ場合、記述できないのでは？以下を見ると、1行をカンマ区切りで、1カラムは設定名、2カラム目は値として取得しおり
2点あります。YESなら、マニュアルのCSV形式に注記願います。
また、functions.phpも、JSON同様、記述例を転記...]]></description>
                        <content:encoded><![CDATA[<p><strong>●例</strong></p>
<p>→→除外ウィジェットエリア</p>
<hr />
<p><strong>●質問</strong></p>
<p>スキン制御でCSVの時、設定名に対し、<span style="color: #ff0000">複数値を持つ場合、記述できない</span>のでは？<br />以下を見ると、1行をカンマ区切りで、1カラムは設定名、2カラム目は値として取得しおり。<br /><br /><a href="https://github.com/xserver-inc/cocoon/blob/e86a72054932b7250848d5ee8bee15909e7bb149/lib/skin.php#L33-L46" target="_blank" rel="noopener">https://github.com/xserver-inc/cocoon/blob/e86a72054932b7250848d5ee8bee15909e7bb149/lib/skin.php#L33-L46</a><br /><br /><strong>●お願い事項</strong></p>
<p>2点あります。<br />YESなら、マニュアルのCSV形式に注記願います。</p>
<p><a href="https://wp-cocoon.com/option-csv/" target="_blank" rel="noopener">https://wp-cocoon.com/option-csv/</a></p>
<p><br />また、functions.phpも、JSON同様、記述例を転記願えたらと思います。<br /><br /><a href="https://wp-cocoon.com/skin-functions-php/" target="_blank" rel="noopener">https://wp-cocoon.com/skin-functions-php/</a></p>
<hr />
<p><strong>●補足</strong></p>
<p>以前、設定項目がチェックボックスの場合のスキン制御の問合せがあったかと思います。<br />その際、JSONについて以下の例が追記され。</p>
<pre contenteditable="false">"exclude_widget_classes":,
"exclude_widget_area_ids":</pre>
<p><br /><a href="https://wp-cocoon.com/option-json/" target="_blank" rel="noopener">https://wp-cocoon.com/option-json/</a></p>]]></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/%e3%82%b9%e3%82%ad%e3%83%b3%e5%88%b6%e5%be%a1csv%e3%81%a7%e8%a8%ad%e5%ae%9a%e5%90%8d%e3%81%ab%e5%af%be%e3%81%97%e8%a4%87%e6%95%b0%e5%80%a4%e3%81%8c%e3%81%82%e3%82%8b%e6%99%82%e3%81%ae%e6%8c%87/#post-72205</guid>
                    </item>
							        </channel>
        </rss>
		