<?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>
									Reddit のシェアボタンを追加してほしい - 要望				            </title>
            <link>https://wp-cocoon.com/community/demands/reddit-%e3%81%ae%e3%82%b7%e3%82%a7%e3%82%a2%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%97%e3%81%a6%e3%81%bb%e3%81%97%e3%81%84/</link>
            <description>Cocoon ディスカッション掲示板</description>
            <language>ja</language>
            <lastBuildDate>Fri, 17 Jul 2026 22:56:19 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Reddit のシェアボタンを追加してほしい</title>
                        <link>https://wp-cocoon.com/community/demands/reddit-%e3%81%ae%e3%82%b7%e3%82%a7%e3%82%a2%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%97%e3%81%a6%e3%81%bb%e3%81%97%e3%81%84/#post-88996</link>
                        <pubDate>Fri, 26 Jun 2026 08:38:59 +0000</pubDate>
                        <description><![CDATA[@yhira さん
サポート済みですよね。]]></description>
                        <content:encoded><![CDATA[<p>@yhira さん</p>
<p>https://github.com/xserver-inc/cocoon/commit/3a2221c90fc16e4c50cd6b59d33ab097948edc14</p>
<p>サポート済みですよね。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/demands/">要望</category>                        <dc:creator>大門未知子</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/demands/reddit-%e3%81%ae%e3%82%b7%e3%82%a7%e3%82%a2%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%97%e3%81%a6%e3%81%bb%e3%81%97%e3%81%84/#post-88996</guid>
                    </item>
				                    <item>
                        <title>RE: Reddit のシェアボタンを追加してほしい</title>
                        <link>https://wp-cocoon.com/community/demands/reddit-%e3%81%ae%e3%82%b7%e3%82%a7%e3%82%a2%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%97%e3%81%a6%e3%81%bb%e3%81%97%e3%81%84/#post-88728</link>
                        <pubDate>Thu, 14 May 2026 13:15:10 +0000</pubDate>
                        <description><![CDATA[ご要望いただきありがとうございます。Redditは僕も検索で最近よく見かけます。調べてみたところ、シェアボタンもフォローボタンも問題なくいけそうですね。試験実装で大きな問題がない限りは実装できればと考えています。ただ実装するにしても、次のバージョンを公開後、その次あたりになるかと思います。よろしくお願いいたします。]]></description>
                        <content:encoded><![CDATA[<p>ご要望いただきありがとうございます。Redditは僕も検索で最近よく見かけます。<br /><br />調べてみたところ、シェアボタンもフォローボタンも問題なくいけそうですね。試験実装で大きな問題がない限りは実装できればと考えています。ただ実装するにしても、次のバージョンを公開後、その次あたりになるかと思います。<br /><br />よろしくお願いいたします。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/demands/">要望</category>                        <dc:creator>わいひら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/demands/reddit-%e3%81%ae%e3%82%b7%e3%82%a7%e3%82%a2%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%97%e3%81%a6%e3%81%bb%e3%81%97%e3%81%84/#post-88728</guid>
                    </item>
				                    <item>
                        <title>RE: Reddit のシェアボタンを追加してほしい</title>
                        <link>https://wp-cocoon.com/community/demands/reddit-%e3%81%ae%e3%82%b7%e3%82%a7%e3%82%a2%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%97%e3%81%a6%e3%81%bb%e3%81%97%e3%81%84/#post-88727</link>
                        <pubDate>Thu, 14 May 2026 12:57:55 +0000</pubDate>
                        <description><![CDATA[@chu-ya 
ありがとうございました！
早速追加します。]]></description>
                        <content:encoded><![CDATA[<p>@chu-ya </p>
<p>ありがとうございました！</p>
<p>早速追加します。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/demands/">要望</category>                        <dc:creator>ketaguri</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/demands/reddit-%e3%81%ae%e3%82%b7%e3%82%a7%e3%82%a2%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%97%e3%81%a6%e3%81%bb%e3%81%97%e3%81%84/#post-88727</guid>
                    </item>
				                    <item>
                        <title>RE: Reddit のシェアボタンを追加してほしい</title>
                        <link>https://wp-cocoon.com/community/demands/reddit-%e3%81%ae%e3%82%b7%e3%82%a7%e3%82%a2%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%97%e3%81%a6%e3%81%bb%e3%81%97%e3%81%84/#post-88723</link>
                        <pubDate>Thu, 14 May 2026 09:46:41 +0000</pubDate>
                        <description><![CDATA[●ご参考
以下をfunctions.phpに追加します。
add_filter(&#039;cocoon_part__tmp/sns-share-buttons&#039;, function($content) {
  // 投稿タイトルとURLを取得
  $title = get_the_title();
  $url = get_permalink();

  // Reddi...]]></description>
                        <content:encoded><![CDATA[<p><span style="font-size: 14pt"><strong>●ご参考</strong></span></p>
<p>以下をfunctions.phpに追加します。</p>
<pre contenteditable="false">add_filter('cocoon_part__tmp/sns-share-buttons', function($content) {
  // 投稿タイトルとURLを取得
  $title = get_the_title();
  $url = get_permalink();

  // Reddit用にエンコード
  $clean_title = wp_specialchars_decode($title, ENT_QUOTES);

  $reddit_url = 'https://reddit.com/submit?url=' .
    rawurlencode($url) .
    '&amp;title=' .
    rawurlencode($clean_title);

  $reddit_title = __('Redditでシェア', THEME_NAME);
  $reddit_caption = __('Reddit', THEME_NAME);

  // RedditシェアボタンHTML
  $reddit_button = &lt;&lt;&lt;EOF
    &lt;a href="{$reddit_url}" 
       class="sns-button share-button reddit-button reddit-share-button-sq"
       title="{$reddit_title}"
       aria-label="{$reddit_title}"
       target="_blank"
       rel="noopener noreferrer"&gt;
      &lt;span class="social-icon icon-reddit"&gt;
        &lt;i class="fa fa-reddit-alien" aria-hidden="true"&gt;&lt;/i&gt;
      &lt;/span&gt;
      &lt;span class="button-caption"&gt;{$reddit_caption}&lt;/span&gt;
      &lt;span class="share-count reddit-share-count"&gt;&lt;/span&gt;
    &lt;/a&gt;
EOF;

  // シェアボタン先頭へ追加
  $search = '/(&lt;div class="sns-share-buttons*&gt;)/';
  $replace = '$1' . $reddit_button;

  return preg_replace($search, $replace, $content);
});
</pre>
<p>以下をstyle.cssに追加します。</p>
<pre contenteditable="false">:root {
  --cocoon-reddit-color: #e95431
}

 .reddit-button {
  --cocoon-sns-color: var(--cocoon-reddit-color);
}
</pre>
<p>&nbsp;</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/demands/">要望</category>                        <dc:creator>大門未知子</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/demands/reddit-%e3%81%ae%e3%82%b7%e3%82%a7%e3%82%a2%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%97%e3%81%a6%e3%81%bb%e3%81%97%e3%81%84/#post-88723</guid>
                    </item>
				                    <item>
                        <title>Reddit のシェアボタンを追加してほしい</title>
                        <link>https://wp-cocoon.com/community/demands/reddit-%e3%81%ae%e3%82%b7%e3%82%a7%e3%82%a2%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%97%e3%81%a6%e3%81%bb%e3%81%97%e3%81%84/#post-88722</link>
                        <pubDate>Thu, 14 May 2026 09:04:45 +0000</pubDate>
                        <description><![CDATA[cocoonの英語版を使わせていただいております。
要望ですがシェアボタンにRedditを追加してほしいです。
Xよりもアクセス数が多い掲示板ですので、拡散のために使いたくぜひご検討をお願いいたします。]]></description>
                        <content:encoded><![CDATA[<p>cocoonの英語版を使わせていただいております。</p>
<p>要望ですがシェアボタンにRedditを追加してほしいです。</p>
<p>Xよりもアクセス数が多い掲示板ですので、拡散のために使いたくぜひご検討をお願いいたします。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/demands/">要望</category>                        <dc:creator>ketaguri</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/demands/reddit-%e3%81%ae%e3%82%b7%e3%82%a7%e3%82%a2%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%97%e3%81%a6%e3%81%bb%e3%81%97%e3%81%84/#post-88722</guid>
                    </item>
							        </channel>
        </rss>
		