<?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/demands/%e3%83%9a%e3%83%bc%e3%82%b8%e9%80%81%e3%82%8a%e3%83%8a%e3%83%93%e3%81%a7%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%82%bf%e3%82%af%e3%82%bd%e3%83%8e%e3%83%9f%e3%83%bc%e3%81%ae%e8%80%83%e6%85%ae/</link>
            <description>Cocoon ディスカッション掲示板</description>
            <language>ja</language>
            <lastBuildDate>Sun, 06 Sep 2026 18:33:03 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: ページ送りナビでカスタムタクソノミーの考慮</title>
                        <link>https://wp-cocoon.com/community/demands/%e3%83%9a%e3%83%bc%e3%82%b8%e9%80%81%e3%82%8a%e3%83%8a%e3%83%93%e3%81%a7%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%82%bf%e3%82%af%e3%82%bd%e3%83%8e%e3%83%9f%e3%83%bc%e3%81%ae%e8%80%83%e6%85%ae/#post-83826</link>
                        <pubDate>Tue, 11 Feb 2025 13:15:30 +0000</pubDate>
                        <description><![CDATA[ご確認いただきありがとうございます。そこら辺ほんとむずいっすね。パンくずリストも投稿のより需要はないのに実装はめんどくさくなり、ややこしくもなって高コスト低リターンなんですよね。]]></description>
                        <content:encoded><![CDATA[<p>ご確認いただきありがとうございます。<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/%e3%83%9a%e3%83%bc%e3%82%b8%e9%80%81%e3%82%8a%e3%83%8a%e3%83%93%e3%81%a7%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%82%bf%e3%82%af%e3%82%bd%e3%83%8e%e3%83%9f%e3%83%bc%e3%81%ae%e8%80%83%e6%85%ae/#post-83826</guid>
                    </item>
				                    <item>
                        <title>RE: ページ送りナビでカスタムタクソノミーの考慮</title>
                        <link>https://wp-cocoon.com/community/demands/%e3%83%9a%e3%83%bc%e3%82%b8%e9%80%81%e3%82%8a%e3%83%8a%e3%83%93%e3%81%a7%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%82%bf%e3%82%af%e3%82%bd%e3%83%8e%e3%83%9f%e3%83%bc%e3%81%ae%e8%80%83%e6%85%ae/#post-83816</link>
                        <pubDate>Mon, 10 Feb 2025 13:05:27 +0000</pubDate>
                        <description><![CDATA[----------------------------------------------テーマ名：Cocoonバージョン：2.8.4.2カテゴリー数：19タグ数：125ユーザー数：1----------------------------------------------ありがとうございます。カスタム投稿にページ送りナビが表示されることを確認しました。本件をクローズとしま...]]></description>
                        <content:encoded><![CDATA[<p>----------------------------------------------<br />テーマ名：Cocoon<br />バージョン：2.8.4.2<br />カテゴリー数：19<br />タグ数：125<br />ユーザー数：1<br />----------------------------------------------<br />ありがとうございます。<br />カスタム投稿にページ送りナビが表示されることを確認しました。<br />本件をクローズとします。</p>
<hr />
<p><span style="font-size: 14pt"><strong>●余談</strong></span></p>
<p>折角、get_custum_post_typesでカスタム投稿タイプ含め、一覧には表示できるようになっており。<br />ページ送りナビについても対応できたらと提案させていただきました。</p>
<p>パンくずの要望はありますが、そもそもWordPress取得関数が異なり。<br />また、カスタムタクソノミーの扱いは「カテゴリー」なの？「タグ」なの？と階層設定するか否かで考えが分かれるところだと思います。<br />「タグクラウド」ウィジェットでタクソノミーを選択できるので、私はタグとしました。<br />結果、ぱんクズはホームのみです（笑）<br /><br />https://wp-cocoon.com/community/postid/56391/</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/%e3%83%9a%e3%83%bc%e3%82%b8%e9%80%81%e3%82%8a%e3%83%8a%e3%83%93%e3%81%a7%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%82%bf%e3%82%af%e3%82%bd%e3%83%8e%e3%83%9f%e3%83%bc%e3%81%ae%e8%80%83%e6%85%ae/#post-83816</guid>
                    </item>
				                    <item>
                        <title>RE: ページ送りナビでカスタムタクソノミーの考慮</title>
                        <link>https://wp-cocoon.com/community/demands/%e3%83%9a%e3%83%bc%e3%82%b8%e9%80%81%e3%82%8a%e3%83%8a%e3%83%93%e3%81%a7%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%82%bf%e3%82%af%e3%82%bd%e3%83%8e%e3%83%9f%e3%83%bc%e3%81%ae%e8%80%83%e6%85%ae/#post-83812</link>
                        <pubDate>Mon, 10 Feb 2025 12:50:51 +0000</pubDate>
                        <description><![CDATA[考慮案ありがとうございます。フィルターフックとタクソノミー取得双方とも取り入れさせていただきました]]></description>
                        <content:encoded><![CDATA[<p>考慮案ありがとうございます。<br />フィルターフックとタクソノミー取得双方とも取り入れさせていただきました。<br />https://github.com/xserver-inc/cocoon/commit/6fd564a0732eaad622fe3064b1f5898b79baf2ab</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/%e3%83%9a%e3%83%bc%e3%82%b8%e9%80%81%e3%82%8a%e3%83%8a%e3%83%93%e3%81%a7%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%82%bf%e3%82%af%e3%82%bd%e3%83%8e%e3%83%9f%e3%83%bc%e3%81%ae%e8%80%83%e6%85%ae/#post-83812</guid>
                    </item>
				                    <item>
                        <title>ページ送りナビでカスタムタクソノミーの考慮</title>
                        <link>https://wp-cocoon.com/community/demands/%e3%83%9a%e3%83%bc%e3%82%b8%e9%80%81%e3%82%8a%e3%83%8a%e3%83%93%e3%81%a7%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%82%bf%e3%82%af%e3%82%bd%e3%83%8e%e3%83%9f%e3%83%bc%e3%81%ae%e8%80%83%e6%85%ae/#post-83809</link>
                        <pubDate>Mon, 10 Feb 2025 08:19:32 +0000</pubDate>
                        <description><![CDATA[----------------------------------------------テーマ名：Cocoonバージョン：2.8.4.1カテゴリー数：19タグ数：125ユーザー数：1----------------------------------------------
カスタム投稿（カスタムタクソノミー例えばnews-genre）を追加した。このとき、[Cocoon...]]></description>
                        <content:encoded><![CDATA[<p>----------------------------------------------<br />テーマ名：Cocoon<br />バージョン：2.8.4.1<br />カテゴリー数：19<br />タグ数：125<br />ユーザー数：1<br />----------------------------------------------</p>
<p>カスタム投稿（カスタムタクソノミー例えばnews-genre）を追加した。<br />このとき、→→ページ送りナビ設定<br />「同一カテゴリーのものを表示する」をオフのとき、カスタム投稿でもページ送りナビが表示される。</p>
<p>しかし、<span style="color: #ff0000">オンのときは表示されない</span>。これを改善できたらと思い。<br /><br />以下でWordPress標準タクソノミーは「category」となっている。<br /><br />https://github.com/xserver-inc/cocoon/blob/f37a9228552c5a51de0b7e2f3f187cc68dd323f3/tmp/pager-post-navi.php#L13-L14<br /><br /></p>
<hr />
<p><strong>●案1</strong></p>
<p>フックを追加する？</p>
<pre contenteditable="false">$prevpost = get_adjacent_post($in_same_term, $excluded_terms, true, apply_filters('post_navi_taxonomy', 'category'));
$nextpost = get_adjacent_post($in_same_term, $excluded_terms, false, apply_filters('post_navi_taxonomy', 'category'));</pre>
<p> </p>
<hr />
<p><strong>●案2</strong></p>
<p>現在の投稿に紐づくタクソノミーを取得し、設定する？</p>
<pre contenteditable="false">$post_type = get_post_type();
$taxonomies = get_object_taxonomies($post_type);

$prevpost = get_adjacent_post($in_same_term, $excluded_terms, true, $taxonomies);
$nextpost = get_adjacent_post($in_same_term, $excluded_terms, false, $taxonomies);</pre>
<hr />
<p><strong>●案3</strong></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/%e3%83%9a%e3%83%bc%e3%82%b8%e9%80%81%e3%82%8a%e3%83%8a%e3%83%93%e3%81%a7%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%82%bf%e3%82%af%e3%82%bd%e3%83%8e%e3%83%9f%e3%83%bc%e3%81%ae%e8%80%83%e6%85%ae/#post-83809</guid>
                    </item>
							        </channel>
        </rss>
		