<?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>
									掲載画像をすべてbaguetteBoxで一括拡大設定したい - Cocoonテーマに関する質問				            </title>
            <link>https://wp-cocoon.com/community/cocoon-theme/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/</link>
            <description>Cocoon ディスカッション掲示板</description>
            <language>ja</language>
            <lastBuildDate>Sun, 11 Oct 2026 12:14:11 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: 掲載画像をすべてbaguetteBoxで一括拡大設定したい</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85123</link>
                        <pubDate>Mon, 12 May 2025 13:14:15 +0000</pubDate>
                        <description><![CDATA[@chu-ya 様
 
ありがとうございます。
ちょっとこれ以上は追える自信がないので、画像の少ないうちに手動でひとつずつリンク設定したいと思います。]]></description>
                        <content:encoded><![CDATA[<p><a title="大門未知子" href="https://wp-cocoon.com/participant/chu-ya/">@chu-ya</a><span> 様</span></p>
<p> </p>
<p>ありがとうございます。</p>
<p>ちょっとこれ以上は追える自信がないので、画像の少ないうちに手動でひとつずつリンク設定したいと思います。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>xxxciho</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85123</guid>
                    </item>
				                    <item>
                        <title>RE: 掲載画像をすべてbaguetteBoxで一括拡大設定したい</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85122</link>
                        <pubDate>Mon, 12 May 2025 13:01:37 +0000</pubDate>
                        <description><![CDATA[クラシック、Gutenbergともに私の環境では動作しました。
環境情報（サイト情報）の提示がないので、確認、回答できません。また本来、PHP、JSに関連するサポートは対象外です。ヒントは提供したので、これ以上はご自身で対応願います。
無理なら人手でリンク設定してください。]]></description>
                        <content:encoded><![CDATA[<p></p>
<p>URLリンクがすべて無効になってしまうようです。（おそらく自動でサムネ画像つきのリンクになるから？）</p>
<p></p>
<p>クラシック、Gutenbergともに私の環境では動作しました。</p>
<p>環境情報（サイト情報）の提示がないので、確認、回答できません。<br />また本来、PHP、JSに関連するサポートは対象外です。<br />ヒントは提供したので、これ以上はご自身で対応願います。</p>
<p>無理なら人手でリンク設定してください。</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/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85122</guid>
                    </item>
				                    <item>
                        <title>RE: 掲載画像をすべてbaguetteBoxで一括拡大設定したい</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85121</link>
                        <pubDate>Mon, 12 May 2025 12:54:19 +0000</pubDate>
                        <description><![CDATA[@chu-ya 様
度々で申し訳ありません。再度トピックをオープンしました。
 
上記のコードをfunctions.phpに追加したところ、たしかにすべての画像をリンク付きにすることはできたのですが、
URLリンクがすべて無効になってしまうようです。（おそらく自動でサムネ画像つきのリンクになるから？）
どちらかを選択するしかないのでしょうか。]]></description>
                        <content:encoded><![CDATA[<p>@chu-ya 様</p>
<p>度々で申し訳ありません。再度トピックをオープンしました。</p>
<p> </p>
<p>上記のコードをfunctions.phpに追加したところ、たしかにすべての画像をリンク付きにすることはできたのですが、</p>
<p>URLリンクがすべて無効になってしまうようです。（おそらく自動でサムネ画像つきのリンクになるから？）</p>
<p>どちらかを選択するしかないのでしょうか。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>xxxciho</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85121</guid>
                    </item>
				                    <item>
                        <title>RE: 掲載画像をすべてbaguetteBoxで一括拡大設定したい</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85045</link>
                        <pubDate>Sun, 04 May 2025 16:54:39 +0000</pubDate>
                        <description><![CDATA[Gutenbergエディターに関係なく、本文中のリンクのない画像をすべてリンク付きします。
add_filter(&#039;the_content&#039;, function($content) {
  $content = preg_replace_callback(
    // imgタグを対象にする
    &#039;/&lt;img+src=(+...]]></description>
                        <content:encoded><![CDATA[<p>Gutenbergエディターに関係なく、本文中のリンクのない画像をすべてリンク付きします。</p>
<pre contenteditable="false">add_filter('the_content', function($content) {
  $content = preg_replace_callback(
    // imgタグを対象にする
    '/&lt;img+src=(+)*&gt;/i',
    function ($matches) use ($content) {
      $img_tag = $matches;
      $img_src = $matches;

      // 既にaタグで囲まれている場合
      if (preg_match('/&lt;a*&gt;\s*' . preg_quote($img_tag, '/') . '\s*&lt;\/a&gt;/i', $content)) {
        return $img_tag;
      }

      return '&lt;a href="' . esc_url($img_src) . '"&gt;' . $img_tag . '&lt;/a&gt;';
    },
    $content
  );

  return $content;
}, 20);</pre>]]></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/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85045</guid>
                    </item>
				                    <item>
                        <title>RE: 掲載画像をすべてbaguetteBoxで一括拡大設定したい</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85044</link>
                        <pubDate>Sun, 04 May 2025 15:40:42 +0000</pubDate>
                        <description><![CDATA[@chu-ya 承知しました。何度もありがとうございました。]]></description>
                        <content:encoded><![CDATA[@chu-ya <br />承知しました。何度もありがとうございました。]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>xxxciho</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85044</guid>
                    </item>
				                    <item>
                        <title>RE: 掲載画像をすべてbaguetteBoxで一括拡大設定したい</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85043</link>
                        <pubDate>Sun, 04 May 2025 12:03:21 +0000</pubDate>
                        <description><![CDATA[それぐらいはご自身の目で確認願います。]]></description>
                        <content:encoded><![CDATA[<p></p>
<p>教えていただいた方法は、クラシックエディタに戻してしまうと戻ってしまうのでしょうか？</p>
<p></p>
<p>それぐらいはご自身の目で確認願います。</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/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85043</guid>
                    </item>
				                    <item>
                        <title>RE: 掲載画像をすべてbaguetteBoxで一括拡大設定したい</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85042</link>
                        <pubDate>Sun, 04 May 2025 11:54:12 +0000</pubDate>
                        <description><![CDATA[@chu-ya 追記ありがとうございます。「「ギャラリー」ブロックを活用すると一括で画像に同じ設定を適用可能」という意味で捉えました。
しかし、個人的にとてもブロックエディタが使いづらく、未だにクラシックエディタを使っていまして…。一時的にブロックを使用するためにブロックエディタに変更すること自体は苦ではないのですが、教えていただいた方法は、クラシックエディタに戻してしまうと...]]></description>
                        <content:encoded><![CDATA[<p>@chu-ya <br />追記ありがとうございます。<br /><span>「「ギャラリー」ブロックを活用すると一括で画像に同じ設定を適用可能」という意味で捉えました。<br /></span></p>
<p>しかし、個人的にとてもブロックエディタが使いづらく、未だにクラシックエディタを使っていまして…。<br />一時的にブロックを使用するためにブロックエディタに変更すること自体は苦ではないのですが、<br />教えていただいた方法は、クラシックエディタに戻してしまうと戻ってしまうのでしょうか？</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>xxxciho</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85042</guid>
                    </item>
				                    <item>
                        <title>RE: 掲載画像をすべてbaguetteBoxで一括拡大設定したい</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85028</link>
                        <pubDate>Fri, 02 May 2025 04:24:19 +0000</pubDate>
                        <description><![CDATA[@xxxciho さん
●追記
「画像」ブロックは個別に画像ファイルへのリンクを設定する必要があります。
「ギャラリー」ブロックはギャラリー登録した、画像に対し一括で設定（各「画像」ブロックに設定）されます。このため、設定された「画像」ブロックを、「ギャラリー」ブロックの外に出しても、設定は保持されます。
 2025-05-02_13h19_17.png]]></description>
                        <content:encoded><![CDATA[<p>@xxxciho さん</p>
<p><span style="font-size: 14pt"><strong>●追記</strong></span></p>
<p>「画像」ブロックは個別に画像ファイルへのリンクを設定する必要があります。</p>
<p>「ギャラリー」ブロックは<span style="color: #ff0000">ギャラリー登録した、画像に対し一括で設定</span>（各「画像」ブロックに設定）されます。<br />このため、設定された「画像」ブロックを、「ギャラリー」ブロックの外に出しても、設定は保持されます。</p>
<div id="wpfa-43089" class="wpforo-attached-file"><a class="wpforo-default-attachment" title="2025-05-02_13h19_17.png" href="//wp-cocoon.com/wp-content/uploads/wpforo/default_attachments/1746159859-2025-05-02_13h19_17.png" target="_blank" rel="noopener"><i class="fas fa-paperclip"></i> 2025-05-02_13h19_17.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/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85028</guid>
                    </item>
				                    <item>
                        <title>RE: 掲載画像をすべてbaguetteBoxで一括拡大設定したい</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85021</link>
                        <pubDate>Thu, 01 May 2025 12:55:05 +0000</pubDate>
                        <description><![CDATA[@chu-ya 補足までありがとうございます。以前別のテーマでやった際も同様のことがやりたくなり、記事を横断検索して画像のコードの部分だけを一括置換するという力技で乗り切ったことを思い出しました。色々と試してみたいと思います。]]></description>
                        <content:encoded><![CDATA[@chu-ya <br />補足までありがとうございます。<br />以前別のテーマでやった際も同様のことがやりたくなり、記事を横断検索して画像のコードの部分だけを一括置換するという力技で乗り切ったことを思い出しました。色々と試してみたいと思います。]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>xxxciho</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85021</guid>
                    </item>
				                    <item>
                        <title>RE: 掲載画像をすべてbaguetteBoxで一括拡大設定したい</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85013</link>
                        <pubDate>Thu, 01 May 2025 07:43:54 +0000</pubDate>
                        <description><![CDATA[●補足
全ての画像に対し、人手でリンク設定を行う必要があるかと思います。私も同様なことがあったので（笑）]]></description>
                        <content:encoded><![CDATA[<p><span style="font-size: 14pt"><strong>●補足</strong></span></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/%e6%8e%b2%e8%bc%89%e7%94%bb%e5%83%8f%e3%82%92%e3%81%99%e3%81%b9%e3%81%a6baguettebox%e3%81%a7%e4%b8%80%e6%8b%ac%e6%8b%a1%e5%a4%a7%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f%e3%81%84/#post-85013</guid>
                    </item>
							        </channel>
        </rss>
		