<?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>
									パンくずリストにフック追加の要望 - 開発者向けフォーラム				            </title>
            <link>https://wp-cocoon.com/community/developer/%e3%83%91%e3%83%b3%e3%81%8f%e3%81%9a%e3%83%aa%e3%82%b9%e3%83%88%e3%81%ab%e3%83%95%e3%83%83%e3%82%af%e8%bf%bd%e5%8a%a0%e3%81%ae%e8%a6%81%e6%9c%9b/</link>
            <description>Cocoon ディスカッション掲示板</description>
            <language>ja</language>
            <lastBuildDate>Sat, 14 Mar 2026 02:36:45 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: パンくずリストにフック追加の要望</title>
                        <link>https://wp-cocoon.com/community/developer/%e3%83%91%e3%83%b3%e3%81%8f%e3%81%9a%e3%83%aa%e3%82%b9%e3%83%88%e3%81%ab%e3%83%95%e3%83%83%e3%82%af%e8%bf%bd%e5%8a%a0%e3%81%ae%e8%a6%81%e6%9c%9b/#post-18655</link>
                        <pubDate>Sat, 22 Jun 2019 08:02:06 +0000</pubDate>
                        <description><![CDATA[動作確認ありがとうございます ?]]></description>
                        <content:encoded><![CDATA[<p>動作確認ありがとうございます ? </p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/developer/">開発者向けフォーラム</category>                        <dc:creator>わいひら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/developer/%e3%83%91%e3%83%b3%e3%81%8f%e3%81%9a%e3%83%aa%e3%82%b9%e3%83%88%e3%81%ab%e3%83%95%e3%83%83%e3%82%af%e8%bf%bd%e5%8a%a0%e3%81%ae%e8%a6%81%e6%9c%9b/#post-18655</guid>
                    </item>
				                    <item>
                        <title>RE: パンくずリストにフック追加の要望</title>
                        <link>https://wp-cocoon.com/community/developer/%e3%83%91%e3%83%b3%e3%81%8f%e3%81%9a%e3%83%aa%e3%82%b9%e3%83%88%e3%81%ab%e3%83%95%e3%83%83%e3%82%af%e8%bf%bd%e5%8a%a0%e3%81%ae%e8%a6%81%e6%9c%9b/#post-18641</link>
                        <pubDate>Fri, 21 Jun 2019 19:09:35 +0000</pubDate>
                        <description><![CDATA[確認しました。これでパンくずのタイトルがきれいに調節できます。追加ありがとうございます。]]></description>
                        <content:encoded><![CDATA[<p>確認しました。</p><p>これでパンくずのタイトルがきれいに調節できます。<br />追加ありがとうございます。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/developer/">開発者向けフォーラム</category>                        <dc:creator>ろこ</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/developer/%e3%83%91%e3%83%b3%e3%81%8f%e3%81%9a%e3%83%aa%e3%82%b9%e3%83%88%e3%81%ab%e3%83%95%e3%83%83%e3%82%af%e8%bf%bd%e5%8a%a0%e3%81%ae%e8%a6%81%e6%9c%9b/#post-18641</guid>
                    </item>
				                    <item>
                        <title>RE: パンくずリストにフック追加の要望</title>
                        <link>https://wp-cocoon.com/community/developer/%e3%83%91%e3%83%b3%e3%81%8f%e3%81%9a%e3%83%aa%e3%82%b9%e3%83%88%e3%81%ab%e3%83%95%e3%83%83%e3%82%af%e8%bf%bd%e5%8a%a0%e3%81%ae%e8%a6%81%e6%9c%9b/#post-18573</link>
                        <pubDate>Thu, 20 Jun 2019 06:39:45 +0000</pubDate>
                        <description><![CDATA[承知いたしました。フックを追加しておきました。-----------------------------------------------]]></description>
                        <content:encoded><![CDATA[<p>承知いたしました。<br />フックを追加しておきました。<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><br />フィルターフック名はこちらになります。</p><p>投稿パンくずリストホーム（breadcrumbs_single_root_text）<br />https://github.com/yhira/cocoon/blob/13db27f4f8ea0dfb3b630d43386d2c98bac64809/tmp/breadcrumbs.php#L16</p><p>固定ページパンくずリストホーム（breadcrumbs_page_root_text）<br />https://github.com/yhira/cocoon/blob/13db27f4f8ea0dfb3b630d43386d2c98bac64809/tmp/breadcrumbs-page.php#L14<br />固定ページ個別記事タイトル（breadcrumbs_page_title）<br />https://github.com/yhira/cocoon/blob/13db27f4f8ea0dfb3b630d43386d2c98bac64809/tmp/breadcrumbs-page.php#L24</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/developer/">開発者向けフォーラム</category>                        <dc:creator>わいひら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/developer/%e3%83%91%e3%83%b3%e3%81%8f%e3%81%9a%e3%83%aa%e3%82%b9%e3%83%88%e3%81%ab%e3%83%95%e3%83%83%e3%82%af%e8%bf%bd%e5%8a%a0%e3%81%ae%e8%a6%81%e6%9c%9b/#post-18573</guid>
                    </item>
				                    <item>
                        <title>パンくずリストにフック追加の要望</title>
                        <link>https://wp-cocoon.com/community/developer/%e3%83%91%e3%83%b3%e3%81%8f%e3%81%9a%e3%83%aa%e3%82%b9%e3%83%88%e3%81%ab%e3%83%95%e3%83%83%e3%82%af%e8%bf%bd%e5%8a%a0%e3%81%ae%e8%a6%81%e6%9c%9b/#post-18548</link>
                        <pubDate>Wed, 19 Jun 2019 16:17:01 +0000</pubDate>
                        <description><![CDATA[__( &#039;ホーム&#039;, THEME_NAME &#039;ホーム&#039;, THEME_NAME また、同様にパンくずリストに関する要望で、固定ページを階層化した場合に親ページのリンクテキストを変更できるフックを用意することは可能でしょうか？親ページのタイトルが長いと冗長になってしまうので、カテゴリー名のような感じで簡略化したテキストを入れられるようにしたいです。【例】$page = get_p...]]></description>
                        <content:encoded><![CDATA[<pre>__( <span class="pl-s"><span class="pl-pds">'</span>ホーム<span class="pl-pds">'</span></span>, <span class="pl-c1">THEME_NAME</span> )</pre><p><a href="https://github.com/yhira/cocoon/blob/master/tmp/breadcrumbs.php" target="true">https://github.com/yhira/cocoon/blob/master/tmp/breadcrumbs.php</a></p><pre>_e( <span class="pl-s"><span class="pl-pds">'</span>ホーム<span class="pl-pds">'</span></span>, <span class="pl-c1">THEME_NAME</span> )</pre><p><a href="https://github.com/yhira/cocoon/blob/master/tmp/breadcrumbs-page.php" target="true">https://github.com/yhira/cocoon/blob/master/tmp/breadcrumbs-page.php</a></p><p>パンくずリストのトップページへのリンクテキストは「ホーム」で統一されていますが、テキストが変更できるようにフックを用意してもらえると助かります。</p><p> </p><p>また、同様にパンくずリストに関する要望で、固定ページを階層化した場合に親ページのリンクテキストを変更できるフックを用意することは可能でしょうか？</p><p>親ページのタイトルが長いと冗長になってしまうので、カテゴリー名のような感じで簡略化したテキストを入れられるようにしたいです。</p><p>【例】</p><pre>$page = get_post($par_id);<br />$title = $page-&gt;post_title;<br />$title = apply_filters('breadcrumbs_page_title', $title, $page);</pre><p><a href="https://github.com/yhira/cocoon/blob/master/tmp/breadcrumbs-page.php" target="true">https://github.com/yhira/cocoon/blob/master/tmp/breadcrumbs-page.php</a></p><p>（ついでですが、<a href="https://developer.wordpress.org/reference/functions/get_page/" target="true">get_page関数</a>は非推奨になっているので、例ではget_post関数を用いています。）</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/developer/">開発者向けフォーラム</category>                        <dc:creator>ろこ</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/developer/%e3%83%91%e3%83%b3%e3%81%8f%e3%81%9a%e3%83%aa%e3%82%b9%e3%83%88%e3%81%ab%e3%83%95%e3%83%83%e3%82%af%e8%bf%bd%e5%8a%a0%e3%81%ae%e8%a6%81%e6%9c%9b/#post-18548</guid>
                    </item>
							        </channel>
        </rss>
		