<?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>
									カスタム投稿を　子テーマのfunction.phpでカスタマイズ - CSSカスタマイズ相談				            </title>
            <link>https://wp-cocoon.com/community/customs/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%82%92%e3%80%80%e5%ad%90%e3%83%86%e3%83%bc%e3%83%9e%e3%81%aefunction-php%e3%81%a7%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%9e%e3%82%a4%e3%82%ba/</link>
            <description>Cocoon ディスカッション掲示板</description>
            <language>ja</language>
            <lastBuildDate>Thu, 14 May 2026 14:27:25 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: カスタム投稿を　子テーマのfunction.phpでカスタマイズ</title>
                        <link>https://wp-cocoon.com/community/customs/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%82%92%e3%80%80%e5%ad%90%e3%83%86%e3%83%bc%e3%83%9e%e3%81%aefunction-php%e3%81%a7%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%9e%e3%82%a4%e3%82%ba/#post-12325</link>
                        <pubDate>Tue, 12 Feb 2019 09:03:12 +0000</pubDate>
                        <description><![CDATA[参考サイトのコードをそのままコピペすると、シングルクォーテーションが全て全角になります。なので、半角に修正しないといけません。参考にされるサイトは、下記のページの方がいいと思います。カスタム投稿タイプ【WordPress】カスタム投稿タイプの追加方法]]></description>
                        <content:encoded><![CDATA[<p>参考サイトのコードをそのままコピペすると、シングルクォーテーションが全て全角になります。なので、半角に修正しないといけません。</p><p>参考にされるサイトは、下記のページの方がいいと思います。</p><p><a href="https://wpdocs.osdn.jp/%E6%8A%95%E7%A8%BF%E3%82%BF%E3%82%A4%E3%83%97#.E3.82.AB.E3.82.B9.E3.82.BF.E3.83.A0.E6.8A.95.E7.A8.BF.E3.82.BF.E3.82.A4.E3.83.97" target="true">カスタム投稿タイプ</a></p><p><a href="https://qiita.com/sola-msr/items/a715f02265acd4864b03" target="true">【WordPress】カスタム投稿タイプの追加方法</a></p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/customs/">CSSカスタマイズ相談</category>                        <dc:creator>Akira</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/customs/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%82%92%e3%80%80%e5%ad%90%e3%83%86%e3%83%bc%e3%83%9e%e3%81%aefunction-php%e3%81%a7%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%9e%e3%82%a4%e3%82%ba/#post-12325</guid>
                    </item>
				                    <item>
                        <title>カスタム投稿を　子テーマのfunction.phpでカスタマイズ</title>
                        <link>https://wp-cocoon.com/community/customs/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%82%92%e3%80%80%e5%ad%90%e3%83%86%e3%83%bc%e3%83%9e%e3%81%aefunction-php%e3%81%a7%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%9e%e3%82%a4%e3%82%ba/#post-12323</link>
                        <pubDate>Tue, 12 Feb 2019 08:22:38 +0000</pubDate>
                        <description><![CDATA[子テーマのfunctoin.phpに下記を記述しても変化しません。// カスタム投稿タイプの追加add_action( ‘init’, ‘create_post_type’ );function create_post_type() {register_post_type( ‘news’, // 投稿タイプ名の定義array(‘labels’ =&gt; array(‘name...]]></description>
                        <content:encoded><![CDATA[<p>子テーマのfunctoin.phpに下記を記述しても変化しません。</p><p>// カスタム投稿タイプの追加<br />add_action( ‘init’, ‘create_post_type’ );<br />function create_post_type() {<br />register_post_type( ‘news’, // 投稿タイプ名の定義<br />array(<br />‘labels’ =&gt; array(<br />‘name’ =&gt; __( ‘新着情報’ ), // 表示する投稿タイプ名<br />‘singular_name’ =&gt; __( ‘新着情報’ )<br />),<br />‘public’ =&gt; true,<br />‘menu_position’ =&gt;5,<br />)<br />);<br />}</p><p>参考URL</p><p>https://techacademy.jp/magazine/2842</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/customs/">CSSカスタマイズ相談</category>                        <dc:creator>hitoshi</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/customs/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%82%92%e3%80%80%e5%ad%90%e3%83%86%e3%83%bc%e3%83%9e%e3%81%aefunction-php%e3%81%a7%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%9e%e3%82%a4%e3%82%ba/#post-12323</guid>
                    </item>
							        </channel>
        </rss>
		