<?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>
									人気記事カードのテンプレート化のご提案 - Cocoonテーマに関する質問				            </title>
            <link>https://wp-cocoon.com/community/cocoon-theme/%e4%ba%ba%e6%b0%97%e8%a8%98%e4%ba%8b%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e5%8c%96%e3%81%ae%e3%81%94%e6%8f%90%e6%a1%88/</link>
            <description>Cocoon ディスカッション掲示板</description>
            <language>ja</language>
            <lastBuildDate>Fri, 17 Jul 2026 23:45:52 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: 人気記事カードのテンプレート化のご提案</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e4%ba%ba%e6%b0%97%e8%a8%98%e4%ba%8b%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e5%8c%96%e3%81%ae%e3%81%94%e6%8f%90%e6%a1%88/#post-88702</link>
                        <pubDate>Mon, 11 May 2026 16:39:13 +0000</pubDate>
                        <description><![CDATA[----------------------------------------------テーマ名：Cocoonバージョン：2.9.2.11カテゴリー数：18タグ数：124投稿数：1749固定ページ数：12ユーザー数：1----------------------------------------------
以下がテンプレート化されたことを簡単ですが、確認しました。
...]]></description>
                        <content:encoded><![CDATA[<p>----------------------------------------------<br />テーマ名：Cocoon<br />バージョン：2.9.2.11<br />カテゴリー数：18<br />タグ数：124<br />投稿数：1749<br />固定ページ数：12<br />ユーザー数：1<br />----------------------------------------------</p>
<p>以下がテンプレート化されたことを簡単ですが、確認しました。</p>
<ul>
<li>新着記事</li>
<li>人気記事</li>
<li>おすすめカード</li>
<li>ナビカード</li>
<li>関連記事</li>
<li>プロフィール</li>
</ul>]]></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/%e4%ba%ba%e6%b0%97%e8%a8%98%e4%ba%8b%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e5%8c%96%e3%81%ae%e3%81%94%e6%8f%90%e6%a1%88/#post-88702</guid>
                    </item>
				                    <item>
                        <title>RE: 人気記事カードのテンプレート化のご提案</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e4%ba%ba%e6%b0%97%e8%a8%98%e4%ba%8b%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e5%8c%96%e3%81%ae%e3%81%94%e6%8f%90%e6%a1%88/#post-88696</link>
                        <pubDate>Mon, 11 May 2026 13:53:50 +0000</pubDate>
                        <description><![CDATA[@yhira さん
先述の通り、クローズとします。
本件ですが、私の方で確認する予定はありません。設計段階からの品質作り込み、テストでの漏れがないか十分な確認を願います。]]></description>
                        <content:encoded><![CDATA[<p>@yhira さん</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/%e4%ba%ba%e6%b0%97%e8%a8%98%e4%ba%8b%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e5%8c%96%e3%81%ae%e3%81%94%e6%8f%90%e6%a1%88/#post-88696</guid>
                    </item>
				                    <item>
                        <title>RE: 人気記事カードのテンプレート化のご提案</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e4%ba%ba%e6%b0%97%e8%a8%98%e4%ba%8b%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e5%8c%96%e3%81%ae%e3%81%94%e6%8f%90%e6%a1%88/#post-88689</link>
                        <pubDate>Mon, 11 May 2026 13:09:10 +0000</pubDate>
                        <description><![CDATA[ご提案いただきありがとうございます。ご指摘のあったところをテンプレート化させてみました]]></description>
                        <content:encoded><![CDATA[<p>ご提案いただきありがとうございます。<br />ご指摘のあったところをテンプレート化させてみました。<br />https://github.com/xserver-inc/cocoon/commit/6bc6fe41ef1920a7a76e0e4ed96ca2a17ab6602e<br />https://github.com/xserver-inc/cocoon/commit/db4620ee8538faeea09005a456a6de87a406b630</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/%e4%ba%ba%e6%b0%97%e8%a8%98%e4%ba%8b%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e5%8c%96%e3%81%ae%e3%81%94%e6%8f%90%e6%a1%88/#post-88689</guid>
                    </item>
				                    <item>
                        <title>RE: 人気記事カードのテンプレート化のご提案</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e4%ba%ba%e6%b0%97%e8%a8%98%e4%ba%8b%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e5%8c%96%e3%81%ae%e3%81%94%e6%8f%90%e6%a1%88/#post-88676</link>
                        <pubDate>Sat, 09 May 2026 13:54:26 +0000</pubDate>
                        <description><![CDATA[●ご参考
処理を単一の関数にまとめるのではなく、「データ取得（入力）」「加工（編集）」「表示（出力）」へと機能分割すべきです。特に表示部分をテンプレート化することで、既存の出力フックを利用する手法に比べ、より一貫した操作で直感的なカスタマイズが可能になると考えています。
プロフィールについても考えてみました。
●generate_author_box_tag]]></description>
                        <content:encoded><![CDATA[<p><span style="font-size: 14pt"><strong>●ご参考</strong></span></p>
<p>処理を単一の関数にまとめるのではなく、「データ取得（入力）」「加工（編集）」「表示（出力）」へと機能分割すべきです。<br />特に表示部分をテンプレート化することで、既存の出力フックを利用する手法に比べ、より一貫した操作で直感的なカスタマイズが可能になると考えています。</p>
<p>プロフィールについても考えてみました。</p>
<p><span style="font-size: 12pt"><strong>●generate_author_box_tag</strong></span></p>
<p>https://notepad.pw/share/ayfow6ds<br /><br /><span style="font-size: 12pt"><strong>●tmp/author-box.php</strong></span></p>
<p>https://notepad.pw/share/yg113qbz9</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/%e4%ba%ba%e6%b0%97%e8%a8%98%e4%ba%8b%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e5%8c%96%e3%81%ae%e3%81%94%e6%8f%90%e6%a1%88/#post-88676</guid>
                    </item>
				                    <item>
                        <title>人気記事カードのテンプレート化のご提案</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/%e4%ba%ba%e6%b0%97%e8%a8%98%e4%ba%8b%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e5%8c%96%e3%81%ae%e3%81%94%e6%8f%90%e6%a1%88/#post-88666</link>
                        <pubDate>Thu, 07 May 2026 11:26:15 +0000</pubDate>
                        <description><![CDATA[----------------------------------------------テーマ名：Cocoonバージョン：2.9.2.8カテゴリー数：18タグ数：124投稿数：1750固定ページ数：12ユーザー数：1----------------------------------------------
ご提案のみで本件はクローズとします。
現在、新着記事・ナビカー...]]></description>
                        <content:encoded><![CDATA[<p>----------------------------------------------<br />テーマ名：Cocoon<br />バージョン：2.9.2.8<br />カテゴリー数：18<br />タグ数：124<br />投稿数：1750<br />固定ページ数：12<br />ユーザー数：1<br />----------------------------------------------</p>
<p><strong>ご提案のみで本件はクローズとします。</strong></p>
<p>現在、新着記事・ナビカード・人気記事の各構造がハードコーディングされています。<br />今後、エントリーカードと同様にテンプレートパーツ化するのが望ましいと思います。<br />これにより、共通のテンプレートフックを通じた一括操作が可能となり、カスタマイズ性と保守性が大幅に向上すると考えます。</p>
<hr />
<p><span style="font-size: 14pt"><strong>●ご参考</strong></span></p>
<p>今回、人気記事の部分をテンプレート化してみました。<br />cocoon_template_partに追加された<span style="color: #ff0000">argsを活用</span>することで、これらのカードを1本化できるかと思います。</p>
<p><strong>●html-forms.php</strong></p>
<p>https://github.com/xserver-inc/cocoon/blob/add4cd367aedeafb4629a450b940a1d2525d6620/lib/html-forms.php#L987-L1134</p>
<p>↓　変更</p>
<p>https://notepad.pw/share/62dcgn3r<br /><br /><strong>●popuar-card.php</strong></p>
<p>追加</p>
<p>https://notepad.pw/share/dwp6nmiq2</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/%e4%ba%ba%e6%b0%97%e8%a8%98%e4%ba%8b%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ae%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e5%8c%96%e3%81%ae%e3%81%94%e6%8f%90%e6%a1%88/#post-88666</guid>
                    </item>
							        </channel>
        </rss>
		