<?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>
									ブログカードのタイトルを32文字で制御したい - CSSカスタマイズ相談				            </title>
            <link>https://wp-cocoon.com/community/customs/%e3%83%96%e3%83%ad%e3%82%b0%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%82%9232%e6%96%87%e5%ad%97%e3%81%a7%e5%88%b6%e5%be%a1%e3%81%97%e3%81%9f%e3%81%84/</link>
            <description>Cocoon ディスカッション掲示板</description>
            <language>ja</language>
            <lastBuildDate>Sun, 11 Oct 2026 11:58:35 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: ブログカードのタイトルを32文字で制御したい</title>
                        <link>https://wp-cocoon.com/community/customs/%e3%83%96%e3%83%ad%e3%82%b0%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%82%9232%e6%96%87%e5%ad%97%e3%81%a7%e5%88%b6%e5%be%a1%e3%81%97%e3%81%9f%e3%81%84/#post-27046</link>
                        <pubDate>Sat, 25 Jan 2020 03:22:18 +0000</pubDate>
                        <description><![CDATA[うまくいったようでよかったです ?]]></description>
                        <content:encoded><![CDATA[<p>うまくいったようでよかったです ? </p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/customs/">CSSカスタマイズ相談</category>                        <dc:creator>わいひら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/customs/%e3%83%96%e3%83%ad%e3%82%b0%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%82%9232%e6%96%87%e5%ad%97%e3%81%a7%e5%88%b6%e5%be%a1%e3%81%97%e3%81%9f%e3%81%84/#post-27046</guid>
                    </item>
				                    <item>
                        <title>RE: ブログカードのタイトルを32文字で制御したい</title>
                        <link>https://wp-cocoon.com/community/customs/%e3%83%96%e3%83%ad%e3%82%b0%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%82%9232%e6%96%87%e5%ad%97%e3%81%a7%e5%88%b6%e5%be%a1%e3%81%97%e3%81%9f%e3%81%84/#post-27009</link>
                        <pubDate>Fri, 24 Jan 2020 12:55:40 +0000</pubDate>
                        <description><![CDATA[@yhiraさん大変申し訳ございません。FTPでのアップロードが途中で止まっていたようで、再度アップロードしたら意図したような表示になりました。ありがとうございました。]]></description>
                        <content:encoded><![CDATA[<p>@yhiraさん</p><p>大変申し訳ございません。FTPでのアップロードが途中で止まっていたようで、再度アップロードしたら意図したような表示になりました。</p><p>ありがとうございました。</p><p> </p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/customs/">CSSカスタマイズ相談</category>                        <dc:creator>Misumi</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/customs/%e3%83%96%e3%83%ad%e3%82%b0%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%82%9232%e6%96%87%e5%ad%97%e3%81%a7%e5%88%b6%e5%be%a1%e3%81%97%e3%81%9f%e3%81%84/#post-27009</guid>
                    </item>
				                    <item>
                        <title>RE: ブログカードのタイトルを32文字で制御したい</title>
                        <link>https://wp-cocoon.com/community/customs/%e3%83%96%e3%83%ad%e3%82%b0%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%82%9232%e6%96%87%e5%ad%97%e3%81%a7%e5%88%b6%e5%be%a1%e3%81%97%e3%81%9f%e3%81%84/#post-27001</link>
                        <pubDate>Fri, 24 Jan 2020 12:16:42 +0000</pubDate>
                        <description><![CDATA[前回の返信の案内にあるように、テーマをGitHubからダウンロードしてFTPでアップデートしましたか？アップデートしているならバージョンは2.0.6.1にならはずなんですが
&nbsp;2020-01-24_21h16_03.png]]></description>
                        <content:encoded><![CDATA[<p>前回の返信の案内にあるように、テーマをGitHubからダウンロードしてFTPでアップデートしましたか？<br />アップデートしているならバージョンは2.0.6.1にならはずなんですが。<br />https://sakurabashi.dental/test/wp-content/themes/cocoon-master/style.css</p>
<div id="wpfa-14440" class="wpforo-attached-file"><a class="wpforo-default-attachment" href="//wp-cocoon.com/wp-content/uploads/wpforo/default_attachments/1579868202-2020-01-24_21h16_03.png" target="_blank"><i class="fas fa-paperclip"></i>&nbsp;2020-01-24_21h16_03.png</a></div>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/customs/">CSSカスタマイズ相談</category>                        <dc:creator>わいひら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/customs/%e3%83%96%e3%83%ad%e3%82%b0%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%82%9232%e6%96%87%e5%ad%97%e3%81%a7%e5%88%b6%e5%be%a1%e3%81%97%e3%81%9f%e3%81%84/#post-27001</guid>
                    </item>
				                    <item>
                        <title>RE: ブログカードのタイトルを32文字で制御したい</title>
                        <link>https://wp-cocoon.com/community/customs/%e3%83%96%e3%83%ad%e3%82%b0%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%82%9232%e6%96%87%e5%ad%97%e3%81%a7%e5%88%b6%e5%be%a1%e3%81%97%e3%81%9f%e3%81%84/#post-26999</link>
                        <pubDate>Fri, 24 Jan 2020 11:28:45 +0000</pubDate>
                        <description><![CDATA[@yhiraさんありがとうございます。早速試してみたのですが以前の表示のままです。shift+F5を押してみても表示が変わりません]]></description>
                        <content:encoded><![CDATA[<p>@yhiraさん</p><p>ありがとうございます。早速試してみたのですが以前の表示のままです。</p><p>shift+F5を押してみても表示が変わりません。</p><p><a href="https://sakurabashi.dental/test/2020/01/22/test/">https://sakurabashi.dental/test/2020/01/22/test/</a></p><p> </p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/customs/">CSSカスタマイズ相談</category>                        <dc:creator>Misumi</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/customs/%e3%83%96%e3%83%ad%e3%82%b0%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%82%9232%e6%96%87%e5%ad%97%e3%81%a7%e5%88%b6%e5%be%a1%e3%81%97%e3%81%9f%e3%81%84/#post-26999</guid>
                    </item>
				                    <item>
                        <title>RE: ブログカードのタイトルを32文字で制御したい</title>
                        <link>https://wp-cocoon.com/community/customs/%e3%83%96%e3%83%ad%e3%82%b0%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%82%9232%e6%96%87%e5%ad%97%e3%81%a7%e5%88%b6%e5%be%a1%e3%81%97%e3%81%9f%e3%81%84/#post-26998</link>
                        <pubDate>Fri, 24 Jan 2020 11:11:24 +0000</pubDate>
                        <description><![CDATA[まずは、以下のファイルでアップデートします。-----------------------------------------------
add_filter(&#039;cocoon_blogcard_title&#039;, function ($title){
  if (mb_strlen($title) &gt; 32) {
    $title = mb_substr($titl...]]></description>
                        <content:encoded><![CDATA[<p>まずは、以下のファイルでアップデートします。<br />------------------------------------------------<br />https://github.com/yhira/cocoon<br />最新ファイルをダウンロードする場合は、上記ページのダウンロードボタンからzipファイルをダウンロードしてください。<br />https://wp-cocoon.com/wp-content/uploads/2019/01/github-zip.png<br />FTPでのアップデート方法はこちら。<br />https://wp-cocoon.com/ftp-update/<br />------------------------------------------------</p><p>その後子テーマのfunctions.phpに以下を追記すればできるかと思います。</p><pre>//内部・外部ブログカードのタイトルを32文字で切り出し
add_filter('cocoon_blogcard_title', function ($title){
  if (mb_strlen($title) &gt; 32) {
    $title = mb_substr($title, 0, 32).'...';
  }
  return $title;
}); </pre>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/customs/">CSSカスタマイズ相談</category>                        <dc:creator>わいひら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/customs/%e3%83%96%e3%83%ad%e3%82%b0%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%82%9232%e6%96%87%e5%ad%97%e3%81%a7%e5%88%b6%e5%be%a1%e3%81%97%e3%81%9f%e3%81%84/#post-26998</guid>
                    </item>
				                    <item>
                        <title>ブログカードのタイトルを32文字で制御したい</title>
                        <link>https://wp-cocoon.com/community/customs/%e3%83%96%e3%83%ad%e3%82%b0%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%82%9232%e6%96%87%e5%ad%97%e3%81%a7%e5%88%b6%e5%be%a1%e3%81%97%e3%81%9f%e3%81%84/#post-26984</link>
                        <pubDate>Fri, 24 Jan 2020 02:53:53 +0000</pubDate>
                        <description><![CDATA[いつも大変お世話になっております。【カスタマイズ相談内容】ブログカードで50~60文字のタイトル全て表示すると特にスマホでうるさい感じを与えてしまうので、32文字で制御し残りは・・・みたいなものにできますでしょうか？【相談背景】私が運営しているサイトはタイトルが50-60文字のものが多いです。Google的には32文字までなのはわかっていますが、自分なりにABテストをした結果、...]]></description>
                        <content:encoded><![CDATA[<p>いつも大変お世話になっております。</p><p>【カスタマイズ相談内容】</p><p>ブログカードで50~60文字のタイトル全て表示すると特にスマホでうるさい感じを与えてしまうので、32文字で制御し残りは・・・みたいなものにできますでしょうか？</p><p>【相談背景】</p><p>私が運営しているサイトはタイトルが50-60文字のものが多いです。Google的には32文字までなのはわかっていますが、自分なりにABテストをした結果、検索結果には32文字程度しか表示されなかったり、長いタイトルが短縮されて置き換わったりするものの、検索結果から記事をクリックしてもらった後は、50-60文字のほうがむしろスクロールして本文を読んでくれる傾向にあります。</p><p>※前半32文字までに見せたいものを詰め込んでいます</p><p>とはいえ、ブログカードにタイトル全てが表示されてしまうとうるささが出てしまうので32文字とかで制御したいなと思っている次第です。</p><p> </p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/customs/">CSSカスタマイズ相談</category>                        <dc:creator>Misumi</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/customs/%e3%83%96%e3%83%ad%e3%82%b0%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%82%9232%e6%96%87%e5%ad%97%e3%81%a7%e5%88%b6%e5%be%a1%e3%81%97%e3%81%9f%e3%81%84/#post-26984</guid>
                    </item>
							        </channel>
        </rss>
		