{"id":334784012,"date":"2025-12-11T17:55:39","date_gmt":"2025-12-11T12:25:39","guid":{"rendered":"https:\/\/dev.smackcoders.com\/build-dynamic-wordpress-sites-with-custom-post-types-2.html"},"modified":"2026-03-06T11:17:17","modified_gmt":"2026-03-06T05:47:17","slug":"build-dynamic-wordpress-sites-with-custom-post-types","status":"publish","type":"post","link":"https:\/\/dev.smackcoders.com\/ja\/blog\/build-dynamic-wordpress-sites-with-custom-post-types.html","title":{"rendered":"\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3067\u52d5\u7684\u306aWordPress\u30b5\u30a4\u30c8\u306e\u69cb\u7bc9(\u30b9\u30c6\u30c3\u30d7\u30d0\u30a4\u30b9\u30c6\u30c3\u30d7\u30ac\u30a4\u30c9)"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"555\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/Building-Dynamic-WordPress-Sites-with-Custom-Post-Types-1024x555.webp\" alt=\"Building-Dynamic-WordPress-Sites-with-Custom-Post-Types\" class=\"wp-image-334781337\" srcset=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/Building-Dynamic-WordPress-Sites-with-Custom-Post-Types-1024x555.webp 1024w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/Building-Dynamic-WordPress-Sites-with-Custom-Post-Types-300x162.webp 300w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/Building-Dynamic-WordPress-Sites-with-Custom-Post-Types-768x416.webp 768w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/Building-Dynamic-WordPress-Sites-with-Custom-Post-Types-1536x832.webp 1536w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/Building-Dynamic-WordPress-Sites-with-Custom-Post-Types-2048x1109.webp 2048w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/Building-Dynamic-WordPress-Sites-with-Custom-Post-Types-360x195.webp 360w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/Building-Dynamic-WordPress-Sites-with-Custom-Post-Types-600x325.webp 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-rank-math-toc-block has-black-color has-text-color has-background has-link-color wp-elements-26a40d02674af1f7a196affb80b1a747\" style=\"background-color:#fafafa\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ol><li><a href=\"#what-makes-a-word-press-site-dynamic\">WordPress&#12469;&#12452;&#12488;&#12434;&#21205;&#30340;&#12395;&#12377;&#12427;&#12418;&#12398;&#12392;&#12399;&#20309;&#12391;&#12375;&#12423;&#12358;&#12363;?<\/a><\/li><li><a href=\"#how-to-create-a-custom-post-type-in-word-press\">WordPress&#12391;&#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;&#12434;&#20316;&#25104;&#12377;&#12427;&#26041;&#27861;<\/a><ol><li><a href=\"#creating-custom-post-types-with-plugins-no-code-method\">&#12503;&#12521;&#12464;&#12452;&#12531;&#12391;&#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;&#12434;&#20316;&#25104;&#12377;&#12427;(&#12494;&#12540;&#12467;&#12540;&#12489;&#26041;&#24335;)<\/a><ol><li><a href=\"#step-1-install-and-activate-the-plugin\">&#12473;&#12486;&#12483;&#12503;1:&#12503;&#12521;&#12464;&#12452;&#12531;&#12398;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12392;&#26377;&#21177;&#21270;<\/a><\/li><li><a href=\"#step-2-create-your-first-custom-post-type\">&#12473;&#12486;&#12483;&#12503;2:&#26368;&#21021;&#12398;&#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;&#12434;&#20316;&#25104;&#12377;&#12427;<\/a><\/li><\/ol><\/li><li><a href=\"#creating-custom-post-types-without-plugins-manual-dashboard-method\">&#12503;&#12521;&#12464;&#12452;&#12531;&#12394;&#12375;&#12391;&#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;&#12434;&#20316;&#25104;&#12377;&#12427;(&#25163;&#21205;&#12480;&#12483;&#12471;&#12517;&#12508;&#12540;&#12489;&#26041;&#24335;)<\/a><ol><li><a href=\"#step-1-create-a-small-custom-plugin-for-your-cpt\">&#12473;&#12486;&#12483;&#12503;1:CPT&#29992;&#12398;&#23567;&#12373;&#12394;&#12459;&#12473;&#12479;&#12512;&#12503;&#12521;&#12464;&#12452;&#12531;&#12434;&#20316;&#25104;&#12377;&#12427;<\/a><\/li><li><a href=\"#step-2-register-your-custom-post-type\">&#12473;&#12486;&#12483;&#12503;2:&#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;&#12434;&#30331;&#37682;&#12377;&#12427;<\/a><\/li><li><a href=\"#step-3-create-custom-taxonomies-optional\">&#12473;&#12486;&#12483;&#12503;3:&#12459;&#12473;&#12479;&#12512;&#12479;&#12463;&#12477;&#12494;&#12511;&#12540;&#12398;&#20316;&#25104;(&#20219;&#24847;)<\/a><\/li><li><a href=\"#step-4-create-template-files-to-display-your-cpt\">&#12473;&#12486;&#12483;&#12503;4:CPT&#12434;&#34920;&#31034;&#12377;&#12427;&#12486;&#12531;&#12503;&#12524;&#12540;&#12488;&#12501;&#12449;&#12452;&#12523;&#12434;&#20316;&#25104;&#12377;&#12427;<\/a><\/li><\/ol><\/li><li><a href=\"#creating-custom-post-types-programmatically-for-developers\">&#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;&#12434;&#12503;&#12525;&#12464;&#12521;&#12512;&#30340;&#12395;&#20316;&#25104;&#12377;&#12427;(&#38283;&#30330;&#32773;&#21521;&#12369;)<\/a><ol><li><a href=\"#step-1-register-a-custom-post-type-with-code\">&#12473;&#12486;&#12483;&#12503;1:&#12467;&#12540;&#12489;&#20184;&#12365;&#12398;&#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;&#12434;&#30331;&#37682;&#12377;&#12427;<\/a><\/li><li><a href=\"#step-2-add-custom-taxonomies-categories-or-tags\">&#12473;&#12486;&#12483;&#12503;2:&#12459;&#12473;&#12479;&#12512;&#12479;&#12463;&#12477;&#12494;&#12511;&#12540;(&#12459;&#12486;&#12468;&#12522;&#12414;&#12383;&#12399;&#12479;&#12464;)&#12398;&#36861;&#21152;<\/a><\/li><li><a href=\"#step-3-add-custom-fields-programmatically-optional\">&#12473;&#12486;&#12483;&#12503;3:&#12459;&#12473;&#12479;&#12512;&#12501;&#12451;&#12540;&#12523;&#12489;&#12434;&#12503;&#12525;&#12464;&#12521;&#12512;&#12391;&#36861;&#21152;&#12377;&#12427;(&#20219;&#24847;)<\/a><\/li><li><a href=\"#step-4-create-templates-for-your-cpt\">&#12473;&#12486;&#12483;&#12503;4:CPT&#29992;&#12398;&#12486;&#12531;&#12503;&#12524;&#12540;&#12488;&#12434;&#20316;&#25104;&#12377;&#12427;<\/a><\/li><li><a href=\"#step-5-test-and-refine\">&#12473;&#12486;&#12483;&#12503;5:&#12486;&#12473;&#12488;&#12392;&#25913;&#33391;<\/a><\/li><\/ol><\/li><li><a href=\"#advanced-setup-custom-post-types-with-categories-tags-and-relationships\">&#12459;&#12486;&#12468;&#12522;&#12289;&#12479;&#12464;&#12289;&#38306;&#20418;&#24615;&#12434;&#21547;&#12416;&#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;&#12398;&#35443;&#32048;&#35373;&#23450;<\/a><ol><li><a href=\"#step-1-add-categories-or-tags-to-your-custom-post-type\">&#12473;&#12486;&#12483;&#12503;1:&#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;&#12395;&#12459;&#12486;&#12468;&#12522;&#12420;&#12479;&#12464;&#12434;&#36861;&#21152;&#12377;&#12427;<\/a><\/li><li><a href=\"#step-2-create-custom-taxonomies-for-your-cpt\">&#12473;&#12486;&#12483;&#12503;2:CPT&#29992;&#12398;&#12459;&#12473;&#12479;&#12512;&#12479;&#12463;&#12477;&#12494;&#12511;&#12540;&#12434;&#20316;&#25104;&#12377;&#12427;<\/a><\/li><li><a href=\"#step-3-connect-custom-post-types-with-relationships\">&#12473;&#12486;&#12483;&#12503;3:&#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;&#12392;&#38306;&#20418;&#24615;&#12434;&#32080;&#12406;<\/a><\/li><li><a href=\"#step-4-display-relationships-on-the-frontend\">&#12473;&#12486;&#12483;&#12503;4:&#12501;&#12525;&#12531;&#12488;&#12456;&#12531;&#12489;&#12391;&#12398;&#38306;&#20418;&#34920;&#31034;<\/a><\/li><\/ol><\/li><\/ol><\/li><li><a href=\"#best-plugins-for-custom-post-types\">&#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;&#12395;&#26368;&#36969;&#12394;&#12503;&#12521;&#12464;&#12452;&#12531;<\/a><ol><li><a href=\"#1-jet-engine\">1. &#12472;&#12455;&#12483;&#12488;&#12456;&#12531;&#12472;&#12531;<\/a><\/li><li><a href=\"#2-meta-box\">2. &#12513;&#12479;&#12508;&#12483;&#12463;&#12473;<\/a><\/li><li><a href=\"#3-advanced-custom-fields-acf\">3. &#39640;&#24230;&#12459;&#12473;&#12479;&#12512;&#12501;&#12451;&#12540;&#12523;&#12489;(ACF)<\/a><\/li><li><a href=\"#4-pods-framework\">4. &#12509;&#12483;&#12489;&#12501;&#12524;&#12540;&#12512;&#12527;&#12540;&#12463;<\/a><\/li><li><a href=\"#5-toolset-types\">5. &#12484;&#12540;&#12523;&#12475;&#12483;&#12488;&#12398;&#31278;&#39006;<\/a><\/li><li><a href=\"#6-custom-post-type-ui-cpt-ui\">6. &#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;UI(CPT UI)<\/a><\/li><li><a href=\"#final-verdict\">&#26368;&#32066;&#35413;&#27770;<\/a><\/li><\/ol><\/li><li><a href=\"#conclusion-turn-word-press-into-a-fully-dynamic-cms\">&#32080;&#35542;:WordPress&#12434;&#23436;&#20840;&#12394;&#21205;&#30340;CMS&#12395;&#22793;&#12360;&#12427;<\/a><\/li><li><a href=\"#fa-qs-everything-you-need-to-know-about-word-press-custom-post-types\">&#12424;&#12367;&#12354;&#12427;&#36074;&#21839;:WordPress&#12398;&#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;&#12395;&#12388;&#12356;&#12390;&#30693;&#12387;&#12390;&#12362;&#12367;&#12409;&#12365;&#12377;&#12409;&#12390;<\/a><ol><li><a href=\"#faq-question-1765178246421\">1. &#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;&#12392;WordPress&#12398;&#38306;&#20418;&#12399;&#20309;&#12391;&#12377;&#12363;?<\/a><\/li><li><a href=\"#faq-question-1765178335937\">2. &#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;&#12398;&#12467;&#12531;&#12486;&#12531;&#12484;&#12434;&#12501;&#12525;&#12531;&#12488;&#12456;&#12531;&#12489;&#12391;&#12393;&#12398;&#12424;&#12358;&#12395;&#34920;&#31034;&#12377;&#12428;&#12400;&#12424;&#12356;&#12391;&#12377;&#12363;?<\/a><\/li><li><a href=\"#faq-question-1765178377637\">3. &#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;&#12395;&#12459;&#12486;&#12468;&#12522;&#12420;&#12479;&#12464;&#12434;&#36861;&#21152;&#12377;&#12427;&#12395;&#12399;&#12393;&#12358;&#12377;&#12428;&#12400;&#12356;&#12356;&#12391;&#12377;&#12363;?<\/a><\/li><li><a href=\"#faq-question-1765178402085\">4. &#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;&#12392;&#12459;&#12473;&#12479;&#12512;&#12501;&#12451;&#12540;&#12523;&#12489;&#12398;&#36949;&#12356;&#12399;&#20309;&#12391;&#12377;&#12363;?<\/a><\/li><li><a href=\"#faq-question-1765178428797\">5. &#12459;&#12473;&#12479;&#12512;&#25237;&#31295;&#12479;&#12452;&#12503;&#12399;SEO&#12395;&#20778;&#12375;&#12356;&#12363;?<\/a><\/li><li><a href=\"#faq-question-1765178454522\">6. CPT&#12434;&#20182;&#12398;&#12469;&#12452;&#12488;&#12395;&#12456;&#12463;&#12473;&#12509;&#12540;&#12488;&#12414;&#12383;&#12399;&#31227;&#34892;&#12391;&#12365;&#12414;&#12377;&#12363;?<\/a><\/li><\/ol><\/li><\/ol><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-makes-a-word-press-site-dynamic\">WordPress\u30b5\u30a4\u30c8\u3092\u52d5\u7684\u306b\u3059\u308b\u3082\u306e\u3068\u306f\u4f55\u3067\u3057\u3087\u3046\u304b?<\/h2>\n\n\n\n<p>\u3082\u3057WordPress\u306e\u30b5\u30a4\u30c8\u304c\u3042\u307e\u308a\u306b\u3082\u300c\u9759\u7684\u3059\u304e\u308b\u300d\u3068\u611f\u3058\u305f\u3053\u3068\u304c\u3042\u308b\u306a\u3089\u3001\u3042\u306a\u305f\u3060\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u307b\u3068\u3093\u3069\u306e\u30b5\u30a4\u30c8\u306f\u6295\u7a3f\u3084\u30da\u30fc\u30b8\u306b\u4f9d\u5b58\u3057\u3066\u304a\u308a\u3001\u30d6\u30ed\u30b0\u3084\u30b7\u30f3\u30d7\u30eb\u306a\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u306f\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u3088\u308a\u69cb\u9020\u5316\u3055\u308c\u305f\u3082\u306e\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u5236\u9650\u304c\u51fa\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u3053\u3067\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7(CPT)\u304c\u5f79\u7acb\u3061\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u69cb\u6210\u3092\u8d85\u3048\u3066\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u6574\u7406\u3067\u304d\u307e\u3059\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u5c55\u793a\u3057\u305f\u308a\u3001\u30c1\u30fc\u30e0\u30e1\u30f3\u30d0\u30fc\u3092\u5c55\u793a\u3057\u305f\u308a\u3001\u4e0d\u52d5\u7523\u3092\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3057\u305f\u308a\u3001\u30b3\u30fc\u30b9\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u904b\u55b6\u3057\u305f\u308a\u3057\u305f\u3044\u3067\u3059\u304b?CPT\u3092\u4f7f\u3048\u3070\u3001\u3053\u308c\u3089\u3059\u3079\u3066\u304c\u697d\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8981\u3059\u308b\u306b\u3001\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306fWordPress\u3092\u5358\u306a\u308b\u30d6\u30ed\u30b0\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u304b\u3089\u771f\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0(CMS)\u3078\u3068\u5909\u8c8c\u3055\u305b\u307e\u3059\u3002\u305d\u308c\u305e\u308c\u304c\u72ec\u81ea\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3001\u5206\u985e\u6cd5\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u6301\u3064\u7570\u306a\u308b\u7a2e\u985e\u306e\u30c7\u30fc\u30bf\u3092\u72ec\u7acb\u3057\u3066\u7ba1\u7406\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<p>CPT\u3092\u4f7f\u3044\u59cb\u3081\u308b\u3068\u3001\u300c\u305f\u3060\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u300d\u304b\u3089\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u306a\u30b5\u30a4\u30c8\u3078\u3068\u79fb\u884c\u3057\u307e\u3059<a href=\"https:\/\/dev.smackcoders.com\/wordpress.html\">WordPress<\/a>\u6574\u7406\u3055\u308c\u3001\u62e1\u5f35\u53ef\u80fd\u3067\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u304c\u7c21\u5358\u306a\u30b5\u30a4\u30c8\u3002<\/p>\n\n\n\n<p>\u6280\u8853\u7684\u306a\u90e8\u5206\u306b\u5165\u308b\u524d\u306b\u3001\u3053\u306e\u30ac\u30a4\u30c9\u304c\u5206\u304b\u308a\u3084\u3059\u3044\u82f1\u8a9e\u3067\u30b9\u30c6\u30c3\u30d7\u3054\u3068\u306b\u3054\u6848\u5185\u3057\u307e\u3059\u3002\u958b\u767a\u8005\u3067\u3042\u308c\u3001\u3088\u308a\u67d4\u8edf\u306a\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3092\u671b\u3080\u4eba\u3067\u3042\u308c\u3001\u660e\u78ba\u306a\u7b54\u3048\u3068\u5b9f\u8df5\u7684\u306a\u4f8b\u304c\u898b\u3064\u304b\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u6700\u7d42\u7684\u306b\u306f\u3001\u67d4\u8edf\u3067\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u3001\u305d\u3057\u3066SEO\u306b\u9069\u3057\u305f\u52d5\u7684\u306aWordPress\u30b5\u30a4\u30c8\u306e\u69cb\u7bc9\u65b9\u6cd5\u304c\u306f\u3063\u304d\u308a\u308f\u304b\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-create-a-custom-post-type-in-word-press\">WordPress\u3067\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<\/h2>\n\n\n\n<p><a href=\"https:\/\/dev.smackcoders.com\/blog\/create-and-import-custom-post-types-in-wordpress.html\">\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u4f5c\u6210<\/a>WordPress\u306e(CPT)\u306f\u8907\u96d1\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u81ea\u5206\u306e\u30b9\u30ad\u30eb\u30ec\u30d9\u30eb\u306b\u5408\u3063\u305f\u6b63\u3057\u3044\u30a2\u30d7\u30ed\u30fc\u30c1\u304c\u5fc5\u8981\u306a\u3060\u3051\u3067\u3059\u3002\u5b9f\u8a3c\u6e08\u307f\u306e\u65b9\u6cd5\u3082\u3042\u308a\u3001\u30b3\u30fc\u30c9\u306b\u3069\u308c\u3060\u3051\u6163\u308c\u3066\u3044\u308b\u304b\u306b\u3088\u3063\u3066\u306f\u3069\u3061\u3089\u3082\u5f37\u529b\u306a\u7d50\u679c\u3092\u3082\u305f\u3089\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"creating-custom-post-types-with-plugins-no-code-method\">\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u4f5c\u6210\u3059\u308b(\u30ce\u30fc\u30b3\u30fc\u30c9\u65b9\u5f0f)<\/h3>\n\n\n\n<p>\u30b3\u30fc\u30c9\u3092\u4f7f\u308f\u305a\u306b\u52d5\u7684\u306aWordPress\u30b5\u30a4\u30c8\u3092\u4f5c\u308a\u305f\u3044\u306a\u3089\u3001\u3053\u306e\u90e8\u5206\u306f\u304d\u3063\u3068\u6c17\u306b\u5165\u308b\u3067\u3057\u3087\u3046\u3002JetEngine\u3001Meta Box\u3001Advanced Custom Fields(ACF)\u306a\u3069\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u3059\u3079\u3066\u306e\u91cd\u52b4\u50cd\u3092\u3053\u306a\u305b\u307e\u3059\u3002\u305f\u3060\u6307\u3057\u3001\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u4f5c\u6210\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u306f\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u300c\u30b3\u30f3\u30c6\u30f3\u30c4\u30e9\u30a4\u30d6\u30e9\u30ea\u300d\u306b\u65b0\u3057\u3044\u30bb\u30af\u30b7\u30e7\u30f3\u3092\u8ffd\u52a0\u3059\u308b\u3088\u3046\u306a\u3082\u306e\u3060\u3068\u8003\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u3059\u3079\u3066\u3092\u6295\u7a3f\u3084\u30da\u30fc\u30b8\u306b\u7121\u7406\u306b\u307e\u3068\u3081\u308b\u4ee3\u308f\u308a\u306b\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3001\u63a8\u85a6\u6587\u3001\u30b3\u30fc\u30b9\u5c02\u7528\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3088\u308a\u30af\u30ea\u30fc\u30f3\u3067\u3001\u901f\u304f\u3001\u7ba1\u7406\u3082\u305a\u3063\u3068\u7c21\u5358\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4e00\u7dd2\u306b\u4e00\u6b69\u305a\u3064\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-1-install-and-activate-the-plugin\">\u30b9\u30c6\u30c3\u30d71:\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u6709\u52b9\u5316<\/h4>\n\n\n\n<p>\u4eca\u56de\u306fMeta Box AIO\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u3044\u307e\u3057\u3087\u3046\u3002\u3053\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u3001WordPress\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u304b\u3089\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u4f5c\u6210\u30fb\u7ba1\u7406\u3067\u304d\u3001\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3084\u6df7\u4e71\u304c\u4e0d\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>WordPress\u3067\u300c\u30d7\u30e9\u30b0\u30a4\u30f3\u300d\u2192\u300c\u65b0\u3057\u3044\u8ffd\u52a0\u300d\u3078\u884c\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li>Meta Box AIO\u30d7\u30e9\u30b0\u30a4\u30f3\u306ezip\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u62bc\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u4e00\u5ea6\u8d77\u52d5\u3059\u308b\u3068\u3001\u30b5\u30a4\u30c9\u30d0\u30fc\u306b\u300cMeta Box\u300d\u3068\u3044\u3046\u65b0\u3057\u3044\u30e1\u30cb\u30e5\u30fc\u9805\u76ee\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n\n<p>Meta Box\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u3063\u3066\u65b0\u3057\u3044\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u300eProjects\u300f\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u306fWordPress\u3067\u69cb\u9020\u5316\u3055\u308c\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u6574\u7406\u30fb\u8868\u793a\u3059\u308b\u305f\u3081\u306e\u30b7\u30f3\u30d7\u30eb\u3067\u30ce\u30fc\u30b3\u30fc\u30c9\u306a\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-2-create-your-first-custom-post-type\">\u30b9\u30c6\u30c3\u30d72:\u6700\u521d\u306e\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u4f5c\u6210\u3059\u308b<\/h4>\n\n\n\n<p>\u3067\u306f\u3001\u5b9f\u969b\u306b\u3042\u306a\u305f\u306eCPT\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u65b0\u3057\u3044\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u8ffd\u52a0\u2192\u30e1\u30bf\u30dc\u30c3\u30af\u30b9\u2192\u6295\u7a3f\u30bf\u30a4\u30d7\u3078\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n\n\n\n<li>\u540d\u524d\u3001\u30e9\u30d9\u30eb\u3001\u8a73\u7d30\u8a2d\u5b9a\u3001\u5206\u985e\u6cd5\u306a\u3069\u306e\u91cd\u8981\u306a\u60c5\u5831\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n\n\n\n<li>\u300c\u516c\u958b\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u901a\u77e5\u30d0\u30fc\u307e\u305f\u306fMeta Box \u2192 Custom Fields\u304b\u3089\u300cAdd custom fields to the post type\u300d\u30ea\u30f3\u30af\u3092\u9078\u629e\u3057\u3066\u65b0\u3057\u3044\u30d5\u30a3\u30fc\u30eb\u30c9\u30b0\u30eb\u30fc\u30d7\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n\n\n\n<li>\u300c\u65b0\u3057\u3044\u30d5\u30a3\u30fc\u30eb\u30c9\u30b0\u30eb\u30fc\u30d7\u3092\u8ffd\u52a0\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u65b0\u3057\u3044\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u8ffd\u52a0\u3092\u958b\u59cb\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4f5c\u6210\u5f8c\u3001\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u6b04\u3092\u4f7f\u3063\u3066\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u5272\u308a\u5f53\u3066\u3001\u4fdd\u5b58\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u3042\u306a\u305f\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u30b0\u30eb\u30fc\u30d7\u306f\u30ab\u30b9\u30bf\u30e0\u30dd\u30b9\u30c8\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n\n<p>\u30b5\u30a4\u30c9\u30d0\u30fc\u306b\u300c\u6295\u7a3f\u300d\u3084\u300c\u30da\u30fc\u30b8\u300d\u306e\u3088\u3046\u306a\u65b0\u3057\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30bb\u30af\u30b7\u30e7\u30f3\u304c\u3059\u3050\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30af\u30a4\u30c3\u30af\u30c1\u30a7\u30c3\u30af:\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u3059\u3050\u306b\u65b0\u3057\u3044\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u8ffd\u52a0\u3067\u304d\u308b\u304a\u99b4\u67d3\u307f\u306e\u30a8\u30c7\u30a3\u30bf\u30fc\u304c\u958b\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"creating-custom-post-types-without-plugins-manual-dashboard-method\">\u30d7\u30e9\u30b0\u30a4\u30f3\u306a\u3057\u3067\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u4f5c\u6210\u3059\u308b(\u624b\u52d5\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u65b9\u5f0f)<\/h3>\n\n\n\n<p>\u3082\u3046\u5c11\u3057\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u597d\u307f\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u907f\u3051\u305f\u3044\u65b9\u306b\u306f\u3053\u306e\u65b9\u6cd5\u304c\u9069\u3057\u3066\u3044\u307e\u3059\u3002WordPress\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u5185\u3067\u3059\u3079\u3066\u624b\u52d5\u3067\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u3001\u8efd\u91cf\u3067\u30d7\u30e9\u30b0\u30a4\u30f3\u4e0d\u8981\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u91cd\u8996\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u7406\u60f3\u7684\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u65b9\u6cd5\u306f\u3001\u8ffd\u52a0\u306e\u30c4\u30fc\u30eb\u306b\u983c\u308a\u305f\u304f\u306a\u3044\u5834\u5408\u3084\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u5c11\u306a\u3044\u3053\u3068\u3067\u4e92\u63db\u6027\u306e\u554f\u984c\u304c\u5c11\u306a\u3044\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c8\u3092\u958b\u767a\u3059\u308b\u5834\u5408\u306b\u975e\u5e38\u306b\u6709\u52b9\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u308c\u3067\u306f\u3001\u4e00\u6b69\u305a\u3064\u5206\u89e3\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-1-create-a-small-custom-plugin-for-your-cpt\">\u30b9\u30c6\u30c3\u30d71:CPT\u7528\u306e\u5c0f\u3055\u306a\u30ab\u30b9\u30bf\u30e0\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u6210\u3059\u308b<\/h4>\n\n\n\n<p>\u30c6\u30fc\u30de\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u4ee3\u308f\u308a\u306b(\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u6642\u306b\u58ca\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059)\u3001\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u5c02\u7528\u306e\u8efd\u91cf\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>WordPress\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d5\u30a9\u30eb\u30c0\u306f\u30d5\u30a1\u30a4\u30eb\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3084FTP\u3067\u958b\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ol>\n\n\n\n<p>\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3:<br>WP-Content \u2192\u30d7\u30e9\u30b0\u30a4\u30f3<\/p>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>my-custom-post-types\u3068\u3044\u3046\u65b0\u3057\u3044\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u305d\u306e\u4e2d\u306b\u300cmy-custom-post-types.php\u300d\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n\n<p>\u3053\u306e\u30b9\u30bf\u30fc\u30bf\u30fc\u30b3\u30fc\u30c9\u3092\u4e0a\u90e8\u306b\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>&lt;?php<br>\/*** \u30d7\u30e9\u30b0\u30a4\u30f3\u540d:\u79c1\u306e\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7<br><br>* \u8aac\u660e:\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u767b\u9332\u3057\u307e\u3059\u3002<br>* \u30d0\u30fc\u30b8\u30e7\u30f3:1.0<br>* \u8457\u8005:[\u3042\u306a\u305f\u306e\u540d\u524d]<br>*\/<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3001\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u2192\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u884c\u304d\u3001\u300c\u79c1\u306e\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u300d\u3092\u6709\u52b9\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ol>\n\n\n\n<p>\u3053\u308c\u3067CPT\u306e\u5c06\u6765\u6027\u304c\u3042\u308a\u3001\u66f4\u65b0\u306b\u3082\u5b89\u5168\u306a\u30af\u30ea\u30fc\u30f3\u306a\u57fa\u76e4\u304c\u7bc9\u304b\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"367\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/create-custom-post-type-plugin-file-1024x367.webp\" alt=\"create-custom-post-type-plugin-file\" class=\"wp-image-334781368\" srcset=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/create-custom-post-type-plugin-file-1024x367.webp 1024w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/create-custom-post-type-plugin-file-300x108.webp 300w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/create-custom-post-type-plugin-file-768x276.webp 768w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/create-custom-post-type-plugin-file-1536x551.webp 1536w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/create-custom-post-type-plugin-file-360x129.webp 360w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/create-custom-post-type-plugin-file-600x215.webp 600w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/create-custom-post-type-plugin-file.webp 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>WordPress\u3067\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u767b\u9332\u3059\u308b\u305f\u3081\u306ePHP\u30d5\u30a1\u30a4\u30eb\u3092\u542b\u3080wp-content\/plugins\u5185\u306b\u4f5c\u6210\u3055\u308c\u305f\u30ab\u30b9\u30bf\u30e0\u30d7\u30e9\u30b0\u30a4\u30f3\u30d5\u30a9\u30eb\u30c0\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-2-register-your-custom-post-type\">\u30b9\u30c6\u30c3\u30d72:\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u767b\u9332\u3059\u308b<\/h4>\n\n\n\n<p>\u6b21\u306b\u3001CPT\u3092\u767b\u9332\u3059\u308b\u305f\u3081\u306e\u30b3\u30fc\u30c9(\u4f8b\u3048\u3070\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d)\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u3082\u3046\u4e00\u5ea6my-custom-post-types.php\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u3001\u30d8\u30c3\u30c0\u30fc\u306e\u4e0b\u306b\u3053\u308c\u3092\u8cbc\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u95a2\u6570 create_project_post_type() {<br>register_post_type(\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u3001array(<br>&#8216;labels&#8217; =&gt; array(<br>\u300c\u540d\u524d\u300d=&gt; __(\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d)\u3001<br>\u300esingular_name\u300f=&gt;__(\u300e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300f)<br>),<br>\u300cpublic\u300d=&gt;\u771f\u3001<br>\u300ehas_archive\u300f=&gt;\u771f\u3001<br>\u300cshow_in_rest\u300d=&gt;\u771f\u3001<br>\u300cmenu_icon\u300d=&gt;\u300c\u30c0\u30c3\u30b7\u30e5\u30a2\u30a4\u30b3\u30f3\u30fb\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u300d\u3001<br>&#8216;supports&#8217; =&gt; array(&#8216;title&#8217;, &#8216;editor&#8217;, &#8216;thumbnail&#8217;, &#8216;excerpt&#8217;),<br>&#8216;rewrite&#8217; =&gt; array(&#8216;slug&#8217; =&gt; &#8216;projects&#8217;),<br>));<br>}<br>add_action(\u300cinit&#8217;, &#8216;create_project_post_type&#8217;);<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u3053\u306e\u95a2\u6570\u306fWordPress\u306b\u65b0\u3057\u3044\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u3064\u3044\u3066\u5fc5\u8981\u306a\u60c5\u5831\u3092\u3059\u3079\u3066\u4f1d\u3048\u307e\u3059\u3002<br>\u4fdd\u5b58\u5f8c\u3001\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3092\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5\u3059\u308b\u3068\u3001\u30b5\u30a4\u30c9\u30d0\u30fc\u306b\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059!<\/p>\n\n\n\n<p><strong>\u30d2\u30f3\u30c8:<\/strong>\u8a2d\u5b9a\u2192\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u2192\u5909\u66f4\u3092\u4e00\u5ea6\u4fdd\u5b58\u3057\u3066\u3001\u66f8\u304d\u63db\u3048\u30eb\u30fc\u30eb\u3092\u30d5\u30e9\u30c3\u30b7\u30e5\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u65b0\u3057\u3044CPT\u306eURL\u304c\u6b63\u3057\u304f\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"191\" height=\"341\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-dashboard-with-projects-menu.webp\" alt=\"wordpress-dashboard-with-projects-menu\" class=\"wp-image-334781401\" srcset=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-dashboard-with-projects-menu.webp 191w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-dashboard-with-projects-menu-168x300.webp 168w\" sizes=\"(max-width: 191px) 100vw, 191px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-3-create-custom-taxonomies-optional\">\u30b9\u30c6\u30c3\u30d73:<a href=\"https:\/\/dev.smackcoders.com\/blog\/create-custom-taxonomies-with-acf.html\">\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306e\u4f5c\u6210<\/a>(\u4efb\u610f)<\/h4>\n\n\n\n<p>\u65b0\u3057\u3044CPT\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\u3084\u30d5\u30a3\u30eb\u30bf\u30fc\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u767b\u9332\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br>CPT\u30b3\u30fc\u30c9\u306e\u4e0b\u306b\u3053\u308c\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u95a2\u6570 create_project_taxonomy() {<br>register_taxonomy(&#8216;project-type&#8217;, &#8216;project&#8217;, array(<br>\u300clabel\u300d =&gt; __(\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30bf\u30a4\u30d7\u300d)\u3001<br>\u300c\u968e\u5c64\u7684\u300d=&gt;\u771f\u3001<br>&#8216;rewrite&#8217; =&gt; array(&#8216;slug&#8217; =&gt; &#8216;project-type&#8217;),<br>));<br>}<br>add_action(\u300cinit&#8217;, &#8216;create_project_taxonomy&#8217;);<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u3053\u308c\u306b\u3088\u308a\u3001CPT\u30e1\u30cb\u30e5\u30fc\u306e\u4e0b\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30bf\u30a4\u30d7\u306e\u5206\u985e\u6cd5\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<br>\u4eca\u3067\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30bf\u30a4\u30d7\u5225\u306b\u30b0\u30eb\u30fc\u30d7\u5316\u3067\u304d\u307e\u3059(\u4f8b\u3048\u3070\u30a6\u30a7\u30d6\u30c7\u30b6\u30a4\u30f3\u3001\u30d6\u30e9\u30f3\u30c7\u30a3\u30f3\u30b0\u306a\u3069)\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"697\" height=\"381\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-projects-post-list.webp\" alt=\"wordpress-projects-post-list\" class=\"wp-image-334781413\" srcset=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-projects-post-list.webp 697w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-projects-post-list-300x164.webp 300w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-projects-post-list-360x197.webp 360w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-projects-post-list-600x328.webp 600w\" sizes=\"(max-width: 697px) 100vw, 697px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-4-create-template-files-to-display-your-cpt\">\u30b9\u30c6\u30c3\u30d74:CPT\u3092\u8868\u793a\u3059\u308b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b<\/h4>\n\n\n\n<p>\u6700\u5f8c\u306b\u3001\u305d\u308c\u3092\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3067\u898b\u3048\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<br>\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30c6\u30fc\u30de\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u30012\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>single-project.php\u5358\u4e00\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u6295\u7a3f\u3092\u8868\u793a\u3057\u307e\u3059<\/li>\n\n\n\n<li>archive-project.php\u3059\u3079\u3066\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3057\u3066\u3044\u307e\u3059<\/li>\n<\/ul>\n\n\n\n<p>archive-project.php\u3067\u306f\u3001\u4ee5\u4e0b\u304b\u3089\u59cb\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>archive-project.php\u3067\u306f\u3001\u4ee5\u4e0b\u304b\u3089\u59cb\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059:<br>&lt;?php get_header(); ?&gt;<br>&lt;h1&gt;\u79c1\u305f\u3061\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8&lt;\/h1&gt;<br>&lt;?php<br>\u3082\u3057( have_posts() ) :<br>\u4e00\u65b9( ( have_posts() ) ): the_post();<br>the_title(&#8220;&lt;h2&gt;&#8221;&lt;\/h2&gt;&#8221;);<br>the_excerpt();<br>\u30a8\u30f3\u30c9\u30a6\u30a3\u30eb;<br>\u30a8\u30f3\u30c7\u30a3\u30d5;<br>?&gt;<br>&lt;?php get_footer(); ?&gt;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>yourdomain.com\/projects \u3092\u4fdd\u5b58\u3057\u3066\u8a2a\u554f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u65b0\u3057\u3044\u30a2\u30fc\u30ab\u30a4\u30d6\u306f\u81ea\u52d5\u7684\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"351\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-theme-folder-with-project-templates-1024x351.webp\" alt=\"wordpress-theme-folder-with-project-templates\" class=\"wp-image-334781416\" srcset=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-theme-folder-with-project-templates-1024x351.webp 1024w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-theme-folder-with-project-templates-300x103.webp 300w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-theme-folder-with-project-templates-768x264.webp 768w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-theme-folder-with-project-templates-1536x527.webp 1536w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-theme-folder-with-project-templates-360x124.webp 360w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-theme-folder-with-project-templates-600x206.webp 600w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-theme-folder-with-project-templates.webp 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u30ab\u30b9\u30bf\u30e0\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb(archive-project.php\u304a\u3088\u3073single-project.php\u3092\u8868\u793a\u3057\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30a2\u30fc\u30ab\u30a4\u30d6\u3084\u5358\u4e00\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306e\u30a2\u30af\u30c6\u30a3\u30d6\u30c6\u30fc\u30de\u30d5\u30a9\u30eb\u30c0(Twenty Twenty-Four)\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u300d<\/p>\n\n\n\n<p><strong>\u306a\u305c\u30d7\u30e9\u30b0\u30a4\u30f3\u30d5\u30ea\u30fc\u306b\u3059\u308b\u306e\u304b?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u4f9d\u5b58\u3057\u307e\u305b\u3093\u3002<\/li>\n\n\n\n<li>\u3088\u308a\u9ad8\u901f\u306a\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ea\u30b9\u30af\u306e\u4f4e\u6e1b\u3002<\/li>\n\n\n\n<li>\u30c6\u30fc\u30de\u3084\u30b5\u30fc\u30d0\u30fc\u9593\u306e\u79fb\u52d5\u3082\u7c21\u5358\u3067\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u3053\u306e\u65b9\u6cd5\u306f\u8907\u6570\u306eWordPress\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u7ba1\u7406\u3059\u308b\u958b\u767a\u8005\u3084\u30a8\u30fc\u30b8\u30a7\u30f3\u30b7\u30fc\u306b\u6700\u9069\u3067\u3059\u3002\u30b7\u30f3\u30d7\u30eb\u3067\u30af\u30ea\u30fc\u30f3\u304b\u3064\u52b9\u7387\u7684\u3067\u3059\u3002<\/p>\n\n\n\n    <!-- Your HTML content starts here -->\n<section style=\"background-color: #f5f5f5; display:flex; justify-content: center; padding:4% 2%;\">\n\t<div class=\"container\" style=\"display:flex; padding: 1.4rem; border-radius: 10px; flex-wrap:wrap; box-shadow: 0px 0px 45px 0.1px #ddd; width: 70%; background: #fff;\">\n\t\t\t\t\t<div style=\"margin-right: 10px; width: 18%;\">\n\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2023\/11\/WordPress_Ultimate_CSV_-XML_Importer_Pro.webp\" alt=\"WP Ultimate CSV Importer Pro\" width=\"120px\">\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div style=\"width: 80%;\">\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<div class=\"\">\n\t\t\t\t\t\t\t\t<p style=\"margin-top: 0px; font-weight: 600;\">WP Ultimate CSV Importer Pro<\/p>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<p style=\"font-size: 16px; line-height: 1.8em;\">Get Ultimate CSV\/XML Importer to import data on WordPress faster, quicker and safer.<\/p>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div style=\"display: flex; justify-content: center; align-items:center; width:100%;\">\n\t\t\t\t\t\t<button style=\"border-radius: 3px; padding: 10px 20px;border: none; box-shadow: 0px 0px 8px #ccc; background-color: #E91F1F;\">\n\t\t\t\t\t\t\t\t<a href=\"https:\/\/dev.smackcoders.com\/wp-ultimate-csv-importer-pro.html?utm_source=website&amp;utm_medium=sm_cta&amp;utm_campaign=csv_importer_pro_cta_banner\" style=\"color: #fff !important\">\n\t\t\t\t\t\t\t\t\tGrab it Now <b>$299\/-<\/b>\n\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t<\/button>\n\t\t\t\t\t<\/div>\n\t<\/div>\n<\/section>\n    <!-- Shortcode HTML content ends here -->\n\t\n\n\n\n<h3 class=\"wp-block-heading\" id=\"creating-custom-post-types-programmatically-for-developers\">\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u30d7\u30ed\u30b0\u30e9\u30e0\u7684\u306b\u4f5c\u6210\u3059\u308b(\u958b\u767a\u8005\u5411\u3051)<\/h3>\n\n\n\n<p>WordPress\u74b0\u5883\u3092\u5b8c\u5168\u306b\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3057\u305f\u3044\u65b9\u306b\u306f\u3001\u3053\u306e\u30c4\u30fc\u30eb\u304c\u3074\u3063\u305f\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u30d7\u30ed\u30b0\u30e9\u30e0\u7684\u306b\u4f5c\u6210\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u81ea\u5206\u3067\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u3001\u6295\u7a3f\u30bf\u30a4\u30d7\u3001\u30d5\u30a3\u30fc\u30eb\u30c9\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u81ea\u5206\u306e\u671b\u3080\u901a\u308a\u306b\u767b\u9332\u3059\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u3088\u308a\u30af\u30ea\u30fc\u30f3\u3067\u9ad8\u901f\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u8ca0\u62c5\u3082\u907f\u3051\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u306f\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3001\u67d4\u8edf\u6027\u304c\u6700\u3082\u91cd\u8981\u306a\u3068\u304d\u306b\u30d7\u30ed\u306eWordPress\u958b\u767a\u8005\u304c\u597d\u3080\u65b9\u6cd5\u3067\u3059\u3002\u6b63\u3057\u3044\u3084\u308a\u65b9\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-1-register-a-custom-post-type-with-code\">\u30b9\u30c6\u30c3\u30d71:\u30b3\u30fc\u30c9\u4ed8\u304d\u306e\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u767b\u9332\u3059\u308b<\/h4>\n\n\n\n<p>\u81ea\u5206\u5c02\u7528\u306e\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001<strong>functions.php<\/strong>\u30d5\u30a1\u30a4\u30eb(\u307e\u305f\u306f\u5148\u306b\u8aac\u660e\u3057\u305f\u5c0f\u3055\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb)\u3092\u4f7f\u3044\u3001\u3053\u306e\u30b3\u30fc\u30c9\u3092\u8cbc\u308a\u4ed8\u3051\u307e\u3059:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u95a2\u6570 create_portfolio_post_type() {<br>$labels = array(<br>\u300c\u540d\u524d\u300d=&gt;\u300c\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u300d\u3001<br>\u300csingular_name\u300d=&gt;\u300c\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u300d\u3001<br>\u300emenu_name\u300f=&gt;\u300e\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u300f\u3001<br>\u300cadd_new\u300d=&gt;\u300c\u65b0\u3057\u3044\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u3092\u8ffd\u52a0\u300d<br>&#8216;add_new_item&#8217; =&gt; \u300c\u65b0\u3057\u3044\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u3092\u8ffd\u52a0\u300d<br>&#8216;edit_item&#8217; =&gt; &#8216;Edit Portfolio&#8217;,<br>\u300cnew_item\u300d=&gt;\u300c\u65b0\u3057\u3044\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u300d\u3001<br>&#8216;view_item&#8217; =&gt; \u300c\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u3092\u898b\u308b\u300d<br>\u300esearch_items\u300f=&gt;\u300e\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u691c\u7d22\u300f\u3001<br>\u300cnot_found\u300d=&gt;\u300c\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u300d<br>);<br>$args = array(<br>&#8216;labels&#8217; =&gt; $labels,<br>\u300cpublic\u300d=&gt;\u771f\u3001<br>\u300ehas_archive\u300f=&gt;\u771f\u3001<br>&#8216;rewrite&#8217; =&gt; array(&#8216;slug&#8217; =&gt; &#8216;portfolio&#8217;),<br>\u300cmenu_icon\u300d=&gt;\u300c\u30c0\u30c3\u30b7\u30e5\u30a2\u30a4\u30b3\u30f3\u30fb\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u300d\u3001<br>\u300cshow_in_rest\u300d=&gt;\u771f\u3001<br>&#8216;supports&#8217; =&gt; array(&#8216;title&#8217;, &#8216;editor&#8217;, &#8216;thumbnail&#8217;, &#8216;excerpt&#8217;, &#8216;custom-fields&#8217;),<br>);<br>register_post_type(\u300c\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u300d\u3001$args);<br>}<br>add_action(\u300cinit\u300d\u300ccreate_portfolio_post_type&#8217;);<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u3053\u306e\u30b9\u30cb\u30da\u30c3\u30c8\u306f\u3001CPT\u306e\u540d\u524d\u4ed8\u3051\u304b\u3089\u30b0\u30fc\u30c6\u30f3\u30d9\u30eb\u30af\u3084\u30a2\u30fc\u30ab\u30a4\u30d6\u306e\u6709\u52b9\u5316\u307e\u3067\u3001\u3042\u3089\u3086\u308b\u3053\u3068\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<br>\u4fdd\u5b58\u3057\u305f\u3089WordPress\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3092\u66f4\u65b0\u3059\u308b\u3068\u3001\u300c\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u300d\u3068\u3044\u3046\u65b0\u3057\u3044\u30e1\u30cb\u30e5\u30fc\u9805\u76ee\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d2\u30f3\u30c8:<\/strong>\u65b0\u3057\u3044CPT\u3092\u8ffd\u52a0\u3057\u305f\u5f8c\u306f\u3001\u5fc5\u305a\u8a2d\u5b9a\u2192\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u2192\u5909\u66f4\u3092\u4fdd\u5b58\u3057\u3066URL\u69cb\u9020\u3092\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"406\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/register-custom-post-type-plugin-code-and-dashboard-1024x406.webp\" alt=\"register-custom-post-type-plugin-code-and-dashboard\" class=\"wp-image-334781383\" srcset=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/register-custom-post-type-plugin-code-and-dashboard-1024x406.webp 1024w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/register-custom-post-type-plugin-code-and-dashboard-300x119.webp 300w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/register-custom-post-type-plugin-code-and-dashboard-768x305.webp 768w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/register-custom-post-type-plugin-code-and-dashboard-1536x610.webp 1536w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/register-custom-post-type-plugin-code-and-dashboard-360x143.webp 360w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/register-custom-post-type-plugin-code-and-dashboard-600x238.webp 600w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/register-custom-post-type-plugin-code-and-dashboard.webp 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-2-add-custom-taxonomies-categories-or-tags\"><strong>\u30b9\u30c6\u30c3\u30d72:\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc(\u30ab\u30c6\u30b4\u30ea\u307e\u305f\u306f\u30bf\u30b0)\u306e\u8ffd\u52a0<\/strong><\/h4>\n\n\n\n<p>\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306f\u3001\u30d6\u30ed\u30b0\u8a18\u4e8b\u3068\u540c\u69d8\u306bCPT\u9805\u76ee\u3092\u5206\u985e\u3059\u308b\u3053\u3068\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002\u540c\u3058\u30d5\u30a1\u30a4\u30eb\u306eCPT\u767b\u9332\u30b3\u30fc\u30c9\u306e\u4e0b\u306b\u3053\u308c\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044:my-custom-type.php<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u95a2\u6570 create_portfolio_taxonomy() {.<br>register_taxonomy<br>(<br>\u300c\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u30ab\u30c6\u30b4\u30ea\u30fc\u300d<br>\u300c\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u300d\u3001\u914d\u5217<br>(<br>\u300clabel\u300d=&gt; \u300c\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u30ab\u30c6\u30b4\u30ea\u30fc\u300d\u3001<br>\u300c\u968e\u5c64\u7684\u300d=&gt;\u771f\u3001<br>&#8216;rewrite&#8217; =&gt; \u914d\u5217<br>(\u300cslug\u300d=&gt;\u300c\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u30ab\u30c6\u30b4\u30ea\u30fc\u300d)\u3001<br>\u300cshow_in_rest\u300d=&gt;\u771f\u3001<br>));<br>}<br>add_action(\u300cinit&#8217;, &#8216;create_portfolio_taxonomy&#8217;);<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u3053\u308c\u3067\u300c\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u300d\u306b\u3082\u30ab\u30c6\u30b4\u30ea\u304c\u5206\u304b\u308c\u3001\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3084SEO\u306b\u9069\u3057\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u30b0\u30eb\u30fc\u30d7\u5316\u306b\u6700\u9069\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"896\" height=\"728\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-portfolios-custom-post-type-menu.webp\" alt=\"wordpress-portfolios-custom-post-type-menu\" class=\"wp-image-334781404\" srcset=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-portfolios-custom-post-type-menu.webp 896w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-portfolios-custom-post-type-menu-300x244.webp 300w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-portfolios-custom-post-type-menu-768x624.webp 768w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-portfolios-custom-post-type-menu-360x293.webp 360w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-portfolios-custom-post-type-menu-600x488.webp 600w\" sizes=\"(max-width: 896px) 100vw, 896px\" \/><\/figure>\n\n\n\n<p>WordPress\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3067\u3001\u6574\u7406\u3055\u308c\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u7ba1\u7406\u306e\u305f\u3081\u306e\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u30e1\u30cb\u30e5\u30fc\u306b\u63b2\u8f09\u3055\u308c\u305f\u30ab\u30b9\u30bf\u30e0\u306e\u300c\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u30ab\u30c6\u30b4\u30ea\u30fc\u300d\u5206\u985e\u6cd5\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-3-add-custom-fields-programmatically-optional\"><strong>\u30b9\u30c6\u30c3\u30d73:\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u8ffd\u52a0\u3059\u308b(\u4efb\u610f)<\/strong><\/h4>\n\n\n\n<p>\u4e0a\u7d1a\u8005\u5411\u3051\u306b\u306f\u3001\u30e1\u30bf\u30dc\u30c3\u30af\u30b9\u3092\u767b\u9332\u3057\u305f\u308a\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306a\u3057\u3067\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u6a5f\u80fd\u3092\u4f7f\u3063\u305f\u308a\u3067\u304d\u307e\u3059\u3002\u4f8b:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u95a2\u6570 portfolio_meta_box() {<br>add_meta_box(<br>\u300cportfolio_details\u300d<br>\u300c\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u8a73\u7d30\u300d<br>\u300cportfolio_meta_callback\u300d<br>\u300c\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u300d\u3001<br>\u300c\u666e\u901a\u300d\u3001<br>\u300c\u30cf\u30a4\u300d<br>);<br>}<br>add_action(\u300cadd_meta_boxes\u300d\u300cportfolio_meta_box&#8217;);<br>\u95a2\u6570 portfolio_meta_callback($post) {<br>$client = get_post_meta($post-&gt;ID, &#8216;client_name&#8217;, true);<br>echo\u300c&lt;label&gt;\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u540d:&lt;\/label&gt;\u300d;<br>\u30a8\u30b3\u30fc &#8216;&lt;input type=&#8221;text&#8221; name=&#8221;client_name&#8221; value=&#8221;&#8216; . esc_attr($client) . &#8216;&#8221; class=&#8221;widefat&#8221;&gt;&#8217;;<br>}<br>\u95a2\u6570 save_portfolio_meta($post_id) {<br>\u3082\u3057(array_key_exists(&#8216;client_name&#8217;, $_POST))){<br>update_post_meta($post_id, &#8216;client_name&#8217;, $_POST[&#8216;client_name&#8217;]);<br>}<br>}<br>add_action(\u300csave_post\u300d\u300csave_portfolio_meta\u300d);<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u7de8\u96c6\u753b\u9762\u5185\u306b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u540d\u5165\u529b\u30dc\u30c3\u30af\u30b9\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<br>\u3053\u306e\u30ed\u30b8\u30c3\u30af\u306f\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8URL\u300d\u3084\u300c\u5b8c\u4e86\u65e5\u300d\u306a\u3069\u4ed6\u306e\u9805\u76ee\u306b\u3082\u540c\u3058\u3088\u3046\u306b\u4f7f\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<p>WordPress \u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u6295\u7a3f\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30fc\u30bf\u7ba1\u7406\u3092\u6539\u5584\u3059\u308b\u305f\u3081\u306bAdvanced Custom Fields\u3067\u8ffd\u52a0\u3055\u308c\u305f\u30ab\u30b9\u30bf\u30e0\u300c\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u540d\u300d\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-4-create-templates-for-your-cpt\">\u30b9\u30c6\u30c3\u30d74:CPT\u7528\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b<\/h4>\n\n\n\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u7684\u306a\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306f\u3001CPT\u306e\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u898b\u305f\u76ee\u3092\u8a2d\u8a08\u3059\u308b\u307e\u3067\u5b8c\u6210\u3057\u307e\u305b\u3093\u3002<br>\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30c6\u30fc\u30de\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3001\u4ee5\u4e0b\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>single-portfolio.php \u2192 \u5358\u4e00\u306e\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u6295\u7a3f\u3092\u8868\u793a\u3059\u308b<\/li>\n\n\n\n<li>archive-portfolio.php \u2192 \u3059\u3079\u3066\u306e\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u4e00\u89a7\u5316\u3057\u307e\u3059<\/li>\n<\/ul>\n\n\n\n<p>\u3053\u308c\u3092archive-portfolio.php\u306b\u52a0\u3048\u3066\u3001\u59cb\u3081\u306b\u3057\u307e\u3057\u3087\u3046:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>&lt;?php get_header(); ?&gt;<br>&lt;h1&gt;\u5f53\u793e\u306e\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa&lt;\/h1&gt;<br>&lt;?php<br>\u3082\u3057( have_posts() ) :<br>while ( have_posts() ) : the_post(); ?&gt;<br>&lt;article&gt;<br>&lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;\/h2&gt;<br>&lt;?php the_post_thumbnail(&#8216;medium&#8217;); ?&gt;<br>&lt;?php the_excerpt(); ?&gt;<br>&lt;\/article&gt;<br>&lt;?php endwhile;<br>\u30a8\u30f3\u30c7\u30a3\u30d5;<br>?&gt;<br>&lt;?php get_footer(); ?&gt;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u3053\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u3059\u3079\u3066\u306e\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u6295\u7a3f\u3092\u30eb\u30fc\u30d7\u3057\u3001\u30bf\u30a4\u30c8\u30eb\u3001\u753b\u50cf\u3001\u629c\u7c8b\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-5-test-and-refine\">\u30b9\u30c6\u30c3\u30d75:\u30c6\u30b9\u30c8\u3068\u6539\u826f<\/h4>\n\n\n\n<p>\u3055\u3042\u3001\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u884c\u304d\u3001\u3044\u304f\u3064\u304b\u306e\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u4f5c\u6210\u3057\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3067\u30c6\u30b9\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3084\u30d5\u30a3\u30fc\u30eb\u30c9\u8868\u793a\u3092\u30b5\u30a4\u30c8\u306e\u30b9\u30bf\u30a4\u30eb\u306b\u5408\u3046\u307e\u3067\u8abf\u6574\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u6b63\u3057\u304f\u4f7f\u3048\u3070\u3001CPT\u306fWordPress\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u30d1\u30fc\u30c4\u306e\u3088\u3046\u306b\u52d5\u4f5c\u3057\u307e\u3059\u304c\u3001\u3088\u308a\u5f37\u529b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u958b\u767a\u8005\u5411\u3051\u6d1e\u5bdf:<\/strong>\u3053\u306e\u65b9\u6cd5\u306f\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u904e\u5270\u306a\u8ca0\u62c5\u3092\u30bc\u30ed\u306b\u3057\u3001\u6700\u5927\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30d7\u30ed\u306eWordPress\u4ee3\u7406\u5e97\u304c\u9ad8\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u30b5\u30a4\u30c8\u306e\u30ab\u30b9\u30bf\u30e0\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u6271\u3046\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u306a\u305c\u30d7\u30ed\u30b0\u30e9\u30de\u30c6\u30a3\u30c3\u30af\u306b\u3059\u308b\u306e\u304b?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30b9\u30d4\u30fc\u30c9:<\/strong>\u4e0d\u8981\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u3082\u3042\u308a\u307e\u305b\u3093\u3002<\/li>\n\n\n\n<li><strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3:<\/strong>\u30b3\u30fc\u30c9\u306e\u4e00\u884c\u4e00\u884c\u3092\u3042\u306a\u305f\u304c\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3057\u3066\u3044\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30b9\u30b1\u30fc\u30e9\u30d3\u30ea\u30c6\u30a3:<\/strong>\u5927\u898f\u6a21\u3067\u30ab\u30b9\u30bf\u30e0\u306eWordPress\u30d3\u30eb\u30c9\u306b\u6700\u9069\u3067\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"advanced-setup-custom-post-types-with-categories-tags-and-relationships\">\u30ab\u30c6\u30b4\u30ea\u3001\u30bf\u30b0\u3001\u95a2\u4fc2\u6027\u3092\u542b\u3080\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u8a73\u7d30\u8a2d\u5b9a<\/h3>\n\n\n\n<p>\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u304c\u7a3c\u50cd\u3057\u3066\u3044\u307e\u3059\u306d\u3002\u7d20\u6674\u3089\u3057\u3044\u4ed5\u4e8b\u3067\u3059\u3002<br>\u4eca\u3053\u305d\u3001\u30ab\u30c6\u30b4\u30ea\u30fc\u3084\u30bf\u30b0\u3001\u95a2\u4fc2\u6027\u3067\u305d\u308c\u3089\u3092\u3064\u306a\u3052\u3066\u3001\u672c\u5f53\u306b\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u306b\u3059\u308b\u6642\u3067\u3059\u3002\u3053\u3046\u3059\u308b\u3053\u3068\u3067\u3001\u30b5\u30a4\u30c8\u306f\u5358\u306a\u308b\u6295\u7a3f\u306e\u96c6\u307e\u308a\u3067\u306f\u306a\u304f\u3001\u672c\u7269\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u3088\u3046\u306b\u69cb\u9020\u5316\u3055\u308c\u3001\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u304b\u3064\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-1-add-categories-or-tags-to-your-custom-post-type\"><strong>\u30b9\u30c6\u30c3\u30d71:\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u30ab\u30c6\u30b4\u30ea\u3084\u30bf\u30b0\u3092\u8ffd\u52a0\u3059\u308b<\/strong><\/h4>\n\n\n\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u65b0\u3057\u3044CPT\u306b\u306f\u30ab\u30c6\u30b4\u30ea\u3084\u30bf\u30b0\u304c\u4ed8\u3044\u3066\u3044\u307e\u305b\u3093\u304c\u3001WordPress\u3067\u306f\u7c21\u5358\u306b\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b3\u30fc\u30c9\u3067CPT\u3092\u767b\u9332\u3057\u3066\u3044\u308b\u306a\u3089\u3001\u5f15\u6570\u3092\u4fee\u6b63\u3057\u3066$args\u914d\u5217\u5185\u306b\u6b21\u306e\u884c\u3092\u542b\u3081\u308b\u3060\u3051\u3067\u3059:<\/p>\n\n\n\n<p>\u300c\u5206\u985e\u6cd5\u300d=&gt;\u914d\u5217(&#8216;category&#8217;, &#8216;post_tag&#8217;),<\/p>\n\n\n\n<p>\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7UI\u3092\u4f7f\u3063\u3066\u3044\u308b\u306a\u3089\u3001\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u958b\u3044\u3066\u300c\u65e2\u5b58\u306e\u5206\u985e\u6cd5\u3092\u4ed8\u3051\u308b\u300d\u2192\u30ab\u30c6\u30b4\u30ea\u3068\u30bf\u30b0\u306b\u30c1\u30a7\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306f\u65e2\u5b58\u306e\u3059\u3079\u3066\u306e\u30d6\u30ed\u30b0\u30ab\u30c6\u30b4\u30ea\u3084\u30bf\u30b0\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u3068\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306e\u53cc\u65b9\u304c\u3042\u306a\u305f\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u3088\u308a\u3088\u304f\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d2\u30f3\u30c8:<\/strong>\u3088\u308a\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3057\u305f\u3044\u306a\u3089\u3001\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30bf\u30a4\u30d7\u300d\u3084\u300c\u30b3\u30fc\u30b9\u30ec\u30d9\u30eb\u300d\u306a\u3069\u306e\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002\u305d\u308c\u3089\u306f\u30b5\u30a4\u30c8\u306e\u904b\u55b6\u3092\u3088\u308a\u30af\u30ea\u30fc\u30f3\u3067SEO\u306b\u512a\u3057\u3044\u3082\u306e\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"894\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/cpt-ui-create-portfolio-post-type-screen-1024x894.webp\" alt=\"cpt-ui-create-portfolio-post-type-screen\" class=\"wp-image-334781365\" srcset=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/cpt-ui-create-portfolio-post-type-screen-1024x894.webp 1024w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/cpt-ui-create-portfolio-post-type-screen-300x262.webp 300w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/cpt-ui-create-portfolio-post-type-screen-768x671.webp 768w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/cpt-ui-create-portfolio-post-type-screen-360x314.webp 360w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/cpt-ui-create-portfolio-post-type-screen-600x524.webp 600w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/cpt-ui-create-portfolio-post-type-screen.webp 1405w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>CPT UI\u7de8\u96c6\u6295\u7a3f\u30bf\u30a4\u30d7\u753b\u9762\u3067\u3001\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u8868\u793a\u3057\u3001WordPress\u306e\u30ab\u30c6\u30b4\u30ea\u3068\u30bf\u30b0\u3092\u6709\u52b9\u306b\u3057\u3066\u67d4\u8edf\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u6574\u7406\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-2-create-custom-taxonomies-for-your-cpt\"><strong>\u30b9\u30c6\u30c3\u30d72:CPT\u7528\u306e\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u4f5c\u6210\u3059\u308b<\/strong><\/h4>\n\n\n\n<p>\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3067\u306f\u3001\u300c\u672a\u5206\u985e\u300d\u306e\u3088\u3046\u306a\u4e00\u822c\u7684\u306a\u30d5\u30a3\u30eb\u30bf\u30fc\u3067\u306f\u306a\u304f\u3001\u30c9\u30e1\u30a4\u30f3\u56fa\u6709\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3067\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u30b0\u30eb\u30fc\u30d7\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b:\u30b3\u30fc\u30b9\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3092\u4f5c\u3063\u3066\u3044\u308b\u5834\u5408\u3002\u300cCourse Level\u300d\u3068\u3044\u3046\u5206\u985e\u6cd5\u3092\u4f5c\u6210\u3057\u3001\u521d\u5fc3\u8005\u3001\u4e2d\u7d1a\u8005\u3001\u4e0a\u7d1a\u8005\u306a\u3069\u306e\u5024\u3092\u4ed8\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b3\u30fc\u30c9\u306f\u3053\u3061\u3089\u3067\u3059:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u95a2\u6570 create_course_taxonomy() {<br>register_taxonomy(&#8216;\u30b3\u30fc\u30b9\u30ec\u30d9\u30eb&#8217;, &#8216;\u30b3\u30fc\u30b9&#8217;, array(<br>\u300clabel\u300d =&gt; __(\u300c\u30b3\u30fc\u30b9\u30ec\u30d9\u30eb\u300d)\u3001<br>\u300c\u968e\u5c64\u7684\u300d=&gt;\u771f\u3001<br>&#8216;rewrite&#8217; =&gt; array(&#8216;slug&#8217; =&gt; &#8216;course-level&#8217;),<br>\u300eshow_in_rest\u300f=&gt;\u771f<br>));<br>}<br>add_action(\u300cinit&#8217;, &#8216;create_course_taxonomy&#8217;);<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306eCPT\u30e1\u30cb\u30e5\u30fc\u306e\u4e0b\u306b\u65b0\u3057\u3044\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u30bb\u30af\u30b7\u30e7\u30f3\u304c\u3067\u304d\u307e\u3059\u3002<br>\u30b3\u30fc\u30b9\u6295\u7a3f\u3092\u7de8\u96c6\u3059\u308b\u3068\u3001\u300c\u30b3\u30fc\u30b9\u30ec\u30d9\u30eb\u300d\u30dc\u30c3\u30af\u30b9\u304c\u8868\u793a\u3055\u308c\u3001\u7c21\u5358\u306b\u30ec\u30d9\u30eb\u3092\u5272\u308a\u5f53\u3066\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"387\" height=\"188\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-courses-custom-post-type-menu.webp\" alt=\"wordpress-courses-custom-post-type-menu\" class=\"wp-image-334781395\" srcset=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-courses-custom-post-type-menu.webp 387w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-courses-custom-post-type-menu-300x146.webp 300w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-courses-custom-post-type-menu-360x175.webp 360w\" sizes=\"(max-width: 387px) 100vw, 387px\" \/><\/figure>\n\n\n\n<p>WordPress\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3067\u3001\u30b3\u30fc\u30b9\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u4e0b\u306b\u5165\u308c\u5b50\u72b6\u306b\u30ab\u30b9\u30bf\u30e0\u306e\u300c\u30b3\u30fc\u30b9\u30ec\u30d9\u30eb\u300d\u5206\u985e\u6cd5\u304c\u8868\u793a\u3055\u308c\u3001\u3088\u308a\u826f\u3044\u30b3\u30fc\u30b9\u5206\u985e\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-3-connect-custom-post-types-with-relationships\"><strong>\u30b9\u30c6\u30c3\u30d73:\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3068\u95a2\u4fc2\u6027\u3092\u7d50\u3076<\/strong><\/h4>\n\n\n\n<p>\u95a2\u4fc2\u6027\u306f\u3001\u3042\u308bCPT\u540c\u58eb\u3092\u7d50\u3073\u3064\u3051\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002\u4f8b\u3048\u3070:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4f1a\u5834\u306b\u95a2\u9023\u3059\u308b\u30a4\u30d9\u30f3\u30c8<\/li>\n\n\n\n<li>\u8b1b\u5e2b\u306b\u95a2\u9023\u3059\u308b\u30b3\u30fc\u30b9<\/li>\n\n\n\n<li>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u95a2\u9023\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/li>\n<\/ul>\n\n\n\n<p>\u6700\u3082\u7c21\u5358\u306a\u65b9\u6cd5\u306f<a href=\"https:\/\/stackoverflow.com\/questions\/27403089\/acf-relationship-fields-get-field-values-from-other-post-type\" target=\"_blank\" rel=\"noopener\"><strong>ACF\u95a2\u4fc2\u30d5\u30a3\u30fc\u30eb\u30c9<\/strong><\/a>\u307e\u305f\u306f<a href=\"https:\/\/wordpress.org\/plugins\/meta-box\/\" target=\"_blank\" rel=\"noopener\"><strong>\u30e1\u30bf\u30dc\u30c3\u30af\u30b9<\/strong><\/a><strong> <\/strong>\u30d7\u30e9\u30b0\u30a4\u30f3\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u79fb\u52d5\u3057\u3066\u2192\u65b0\u3057\u3044\u3082\u306e\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n\n\n\n<li>\u95a2\u4fc2\u6b04\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n\n\n\n<li>\u30bf\u30fc\u30b2\u30c3\u30c8CPT\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044(\u4f8b:\u30a4\u30d9\u30f3\u30c8\u2192\u4f1a\u5834\u3092\u63a5\u7d9a\u3059\u308b)\u3002<\/li>\n\n\n\n<li>\u4fdd\u5b58\u3057\u3066CPT\u306b\u5272\u308a\u5f53\u3066\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ol>\n\n\n\n<p>\u73fe\u5728\u3001\u30a4\u30d9\u30f3\u30c8\u3092\u7de8\u96c6\u3059\u308b\u969b\u306b\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u304b\u3089\u4f1a\u5834\u3092\u9078\u629e\u3057\u3066\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306b\u30b7\u30f3\u30d7\u30eb\u306aACF\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30bf\u30b0\u3067\u8868\u793a\u3067\u304d\u307e\u3059:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>&lt;?php<br>$related_venues = get_field(&#8216;related_venues&#8217;);<br>\u3082\u3057($related_venues) :<br>foreach ($related_venues as $venue) :<br>\u30a8\u30b3\u30fc\u300c&lt;p&gt;\u300d\u3002get_the_title($venue-&gt;ID)\u3002\u300c&lt;\/p&gt;\u300d&nbsp;<br>\u30a8\u30f3\u30c9\u30d5\u30a9\u30fc\u30ea\u30fc\u30c1;<br>\u30a8\u30f3\u30c7\u30a3\u30d5;<br>?&gt;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u30d7\u30ed\u306e\u30b3\u30c4<\/strong>: \u95a2\u4fc2\u6027\u306f\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u3088\u308a\u30b9\u30de\u30fc\u30c8\u306b\u3057\u3001\u91cd\u8907\u3092\u9632\u304e\u3001\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30ea\u30f3\u30af\u306b\u3088\u308bSEO\u3092\u5411\u4e0a\u3055\u305b\u3001\u30e6\u30fc\u30b6\u30fc\u4f53\u9a13\u306b\u6df1\u307f\u3092\u3082\u305f\u3089\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-4-display-relationships-on-the-frontend\">\u30b9\u30c6\u30c3\u30d74:\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3067\u306e\u95a2\u4fc2\u8868\u793a<\/h4>\n\n\n\n<p>CPT\u304c\u30ea\u30f3\u30af\u3055\u308c\u305f\u3089\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3084\u30b5\u30a4\u30c9\u30d0\u30fc\u3067\u95a2\u9023\u9805\u76ee\u3092\u8868\u793a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b:\u30b3\u30fc\u30b9\u30da\u30fc\u30b8\u306b\u3001\u305d\u306e\u8b1b\u5e2b\u60c5\u5831\u3068\u95a2\u9023\u30b3\u30fc\u30b9\u3092\u8868\u793a\u3057\u307e\u3059\u3002\u3053\u308c\u306f<a href=\"https:\/\/www.advancedcustomfields.com\/resources\/relationship\/\" target=\"_blank\" rel=\"noopener\">ACF\u306e\u95a2\u4fc2\u6a5f\u80fd<\/a>\u307e\u305f\u306f<a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_query\/\" target=\"_blank\" rel=\"noopener\">WP_Query\u30eb\u30fc\u30d7\u3002<\/a><\/p>\n\n\n\n<p><strong>\u7d50\u679c:<\/strong>\u8a2a\u554f\u8005\u306f\u69cb\u9020\u5316\u3055\u308c\u305f\u3064\u306a\u304c\u308a\u304c\u81ea\u52d5\u7684\u306b\u30a8\u30f3\u30b2\u30fc\u30b8\u30e1\u30f3\u30c8\u3068\u5185\u90e8\u30ea\u30f3\u30af\u3092\u9ad8\u3081\u308b\u306e\u3092\u76ee\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u306a\u305c\u30a2\u30c9\u30d0\u30f3\u30b9\u30c8\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u304c\u91cd\u8981\u306a\u306e\u304b<\/strong><\/p>\n\n\n\n<p>\u30ab\u30c6\u30b4\u30ea\u3001\u30bf\u30b0\u3001\u95a2\u4fc2\u6027\u3092\u901a\u3058\u3066CPT\u304c\u7d50\u3073\u3064\u304f\u3053\u3068\u3067\u3001\u3042\u306a\u305f\u306e\u30b5\u30a4\u30c8\u306f\u771f\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u3078\u3068\u5909\u8c8c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u8a2a\u554f\u8005\u306e\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u3068\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u306e\u7c21\u7d20\u5316<\/li>\n\n\n\n<li>\u3088\u308a\u5f37\u529b\u306a\u5185\u90e8\u30ea\u30f3\u30af(SEO\u306e\u52dd\u5229)<\/li>\n\n\n\n<li>\u3088\u308a\u30b9\u30de\u30fc\u30c8\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u7ba1\u7406<\/li>\n<\/ul>\n\n\n\n<p>\u3053\u308c\u306f\u3001\u30d5\u30e9\u30c3\u30c8\u306a\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3068WordPress\u4e0a\u3067\u4f5c\u3089\u308c\u305f\u30d7\u30ed\u30d5\u30a7\u30c3\u30b7\u30e7\u30ca\u30eb\u30b0\u30ec\u30fc\u30c9\u306eCMS\u306e\u9055\u3044\u3067\u3059\u3002<\/p>\n\n\n\n    <!-- Your HTML content starts here -->\n<section style=\"background-color: #f5f5f5; display:flex; justify-content: center; padding:4% 2%;\">\n\t<div class=\"container\" style=\"display:flex; padding: 1.4rem; border-radius: 10px; flex-wrap:wrap; box-shadow: 0px 0px 45px 0.1px #ddd; width: 70%; background: #fff;\">\n\t\t\t\t\t<div style=\"margin-right: 10px; width: 18%;\">\n\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2023\/11\/WordPress_Ultimate_CSV_-XML_Importer_Pro.webp\" alt=\"WP Ultimate CSV Importer Pro\" width=\"120px\">\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div style=\"width: 80%;\">\n\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t<div class=\"\">\n\t\t\t\t\t\t\t\t<p style=\"margin-top: 0px; font-weight: 600;\">WP Ultimate CSV Importer Pro<\/p>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<p style=\"font-size: 16px; line-height: 1.8em;\">Get Ultimate CSV\/XML Importer to import data on WordPress faster, quicker and safer.<\/p>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div style=\"display: flex; justify-content: center; align-items:center; width:100%;\">\n\t\t\t\t\t\t<button style=\"border-radius: 3px; padding: 10px 20px;border: none; box-shadow: 0px 0px 8px #ccc; background-color: #E91F1F;\">\n\t\t\t\t\t\t\t\t<a href=\"https:\/\/dev.smackcoders.com\/wp-ultimate-csv-importer-pro.html?utm_source=website&amp;utm_medium=sm_cta&amp;utm_campaign=csv_importer_pro_cta_banner\" style=\"color: #fff !important\">\n\t\t\t\t\t\t\t\t\tGrab it Now <b>$299\/-<\/b>\n\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t<\/button>\n\t\t\t\t\t<\/div>\n\t<\/div>\n<\/section>\n    <!-- Shortcode HTML content ends here -->\n\t\n\n\n\n<h2 class=\"wp-block-heading\" id=\"best-plugins-for-custom-post-types\">\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u6700\u9069\u306a\u30d7\u30e9\u30b0\u30a4\u30f3<\/h2>\n\n\n\n<p>WordPress\u3067\u306f\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u624b\u52d5\u3067\u4f5c\u6210\u3067\u304d\u307e\u3059\u304c\u3001\u8907\u6570\u306eCPT\u3084\u30d5\u30a3\u30fc\u30eb\u30c9\u3001\u95a2\u4fc2\u3092\u7ba1\u7406\u3059\u308b\u5834\u5408\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u6642\u9593\u3084\u982d\u75db\u306e\u8efd\u6e1b\u306b\u5f79\u7acb\u3064\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001\u52d5\u7684\u306aWordPress\u30b5\u30a4\u30c8\u3092\u5f37\u5316\u3059\u308b\u305f\u3081\u306b\u3001\u6700\u3082\u4fe1\u983c\u6027\u304c\u9ad8\u304f\u3001\u958b\u767a\u8005\u30c6\u30b9\u30c8\u3092\u53d7\u3051\u3001SEO\u306b\u9069\u3057\u305f\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-jet-engine\"><strong>1.<\/strong><a href=\"https:\/\/crocoblock.com\/plugins\/jetengine\/\" target=\"_blank\" rel=\"noopener\">\u30b8\u30a7\u30c3\u30c8\u30a8\u30f3\u30b8\u30f3<\/a><\/h3>\n\n\n\n<p><strong>\u6700\u9069\u306a\u7528\u9014:<\/strong>\u52d5\u7684\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u30d6\u30ed\u30c3\u30af\u3084\u6295\u7a3f\u30ea\u30b9\u30c8\u3092\u6c42\u3081\u308bElementor\u30e6\u30fc\u30b6\u30fc\u3002<\/p>\n\n\n\n<p>JetEngine\u306fElementor\u3068\u9023\u643a\u3057\u3001\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u3001\u6c42\u4eba\u3001\u30ea\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30a4\u30c8\u306b\u6700\u9069\u306aCPT\u3092\u52d5\u7684\u306b\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3088\u308a\u30c7\u30b6\u30a4\u30f3\u5fd7\u5411\u3067\u3001\u958b\u767a\u8005\u304c\u30b3\u30fc\u30c9\u3067\u6301\u3064\u30af\u30ea\u30a8\u30a4\u30c6\u30a3\u30d6\u306a\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u4e0e\u3048\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-meta-box\"><strong>2.<\/strong><a href=\"https:\/\/wordpress.org\/plugins\/meta-box\/\" target=\"_blank\" rel=\"noopener\">\u30e1\u30bf\u30dc\u30c3\u30af\u30b9<\/a><\/h3>\n\n\n\n<p><strong>\u6700\u9069\u306a\u7528\u9014:<\/strong>\u3088\u308a\u591a\u304f\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3068\u9ad8\u901f\u306a\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u6c42\u3081\u308b\u958b\u767a\u8005\u305f\u3061\u3002<\/p>\n\n\n\n<p>Meta Box\u306fACF\u306e\u8efd\u91cf\u306a\u4ee3\u66ff\u54c1\u3067\u3001\u540c\u3058\u6a5f\u80fd\u3067\u8ca0\u8377\u304c\u5c11\u306a\u3044\u3067\u3059\u3002\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3001\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7\u3001\u8a2d\u5b9a\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3067\u304d\u3001\u3059\u3079\u3066\u67d4\u8edf\u306a\u30b3\u30fc\u30c9\u3084UI\u3067\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u958b\u767a\u8005\u304c\u3053\u308c\u3092\u597d\u3080\u7406\u7531:<\/strong>\u30d5\u30a3\u30fc\u30eb\u30c9\u30b0\u30eb\u30fc\u30d7\u3092PHP\u30b3\u30fc\u30c9\u3068\u3057\u3066\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u3001\u30c6\u30fc\u30de\u3084\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u76f4\u63a5\u7d71\u5408\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"450\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/meta-box-plugin-banner-1024x450.webp\" alt=\"meta-box-plugin-banner\" class=\"wp-image-334781374\" srcset=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/meta-box-plugin-banner-1024x450.webp 1024w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/meta-box-plugin-banner-300x132.webp 300w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/meta-box-plugin-banner-768x337.webp 768w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/meta-box-plugin-banner-360x158.webp 360w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/meta-box-plugin-banner-600x264.webp 600w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/meta-box-plugin-banner.webp 1518w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-advanced-custom-fields-acf\"><strong>3.<\/strong><a href=\"https:\/\/wordpress.org\/plugins\/advanced-custom-fields\/\" target=\"_blank\" rel=\"noopener\">\u30a2\u30c9\u30d0\u30f3\u30b9\u30c8\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9(ACF)<\/a><\/h3>\n\n\n\n<p><strong>\u6700\u9069\u306a\u7528\u9014:<\/strong>\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3001\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7\u3001\u30ea\u30d4\u30fc\u30bf\u30fc\u3001\u67d4\u8edf\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u8ffd\u52a0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>ACF\u306f\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u69cb\u6210\u3092\u5b8c\u5168\u306b\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u304b\u3089\u753b\u50cf\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3001\u30ea\u30d4\u30fc\u30bf\u30fc\u30d5\u30a3\u30fc\u30eb\u30c9\u307e\u3067\u3001CPT\u304c\u3042\u3089\u3086\u308b\u30c7\u30fc\u30bf\u3092\u53ce\u96c6\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<br>\u307e\u305f\u3001Gutenberg\u4e92\u63db\u3067\u3001\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u76f4\u63a5\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u4f8b:<\/strong>\u300cProjects\u300d\u306eCPT\u306b\u300c\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u540d\u300d\u3068\u300cProject URL\u300d\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u3060\u3051\u3067\u3001PHP\u306f\u4e0d\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"440\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/advanced-custom-fields-plugin-banner-1024x440.webp\" alt=\"advanced-custom-fields-plugin-banner\" class=\"wp-image-334781362\" srcset=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/advanced-custom-fields-plugin-banner-1024x440.webp 1024w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/advanced-custom-fields-plugin-banner-300x129.webp 300w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/advanced-custom-fields-plugin-banner-768x330.webp 768w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/advanced-custom-fields-plugin-banner-360x155.webp 360w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/advanced-custom-fields-plugin-banner-600x258.webp 600w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/advanced-custom-fields-plugin-banner.webp 1525w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-pods-framework\"><strong>4.<\/strong><a href=\"https:\/\/pods.io\/\" target=\"_blank\" rel=\"noopener\">\u30dd\u30c3\u30c9\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"432\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/pods-custom-content-types-and-fields-plugin-banner-1024x432.webp\" alt=\"pods-custom-content-types-and-fields-plugin-banner\" class=\"wp-image-334781380\" srcset=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/pods-custom-content-types-and-fields-plugin-banner-1024x432.webp 1024w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/pods-custom-content-types-and-fields-plugin-banner-300x126.webp 300w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/pods-custom-content-types-and-fields-plugin-banner-768x324.webp 768w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/pods-custom-content-types-and-fields-plugin-banner-360x152.webp 360w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/pods-custom-content-types-and-fields-plugin-banner-600x253.webp 600w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/pods-custom-content-types-and-fields-plugin-banner.webp 1516w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>\u6700\u9069\u306a\u7528\u9014:<\/strong>CPT\u3001\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3001\u95a2\u4fc2\u6027\u3092\u4e00\u304b\u6240\u306b\u307e\u3068\u3081\u305f\u3001\u5b8c\u5168\u306a\u52d5\u7684\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u3002<\/p>\n\n\n\n<p>Pods\u306f\u30b3\u30fc\u30c9\u306a\u3057\u306e\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3067\u3001CPT\u3092\u4f5c\u6210\u3057\u305f\u308a\u3001\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8ffd\u52a0\u3057\u305f\u308a\u3001\u300c\u30b3\u30fc\u30b9\u300d\u3068\u300c\u30a4\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u30fc\u300d\u3092\u3064\u306a\u3052\u305f\u308a\u3057\u3066\u95a2\u9023\u4ed8\u3051\u308b\u3053\u3068\u3055\u3048\u3067\u304d\u307e\u3059\u3002<br>\u521d\u5fc3\u8005\u306b\u306f\u76f4\u611f\u7684\u3067\u3059\u304c\u3001\u958b\u767a\u8005\u306b\u306f\u5341\u5206\u306b\u5f37\u529b\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30dc\u30fc\u30ca\u30b9:<\/strong>Pods\u306fREST API\u3068\u30ab\u30b9\u30bf\u30e0\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u304a\u308a\u3001\u30d8\u30c3\u30c9\u30ec\u30b9WordPress\u3084\u8907\u96d1\u306a\u30d3\u30eb\u30c9\u306b\u6700\u9069\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"862\" height=\"576\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/pods-create-course-custom-post-type-screen.webp\" alt=\"pods-create-course-custom-post-type-screen\" class=\"wp-image-334781377\" srcset=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/pods-create-course-custom-post-type-screen.webp 862w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/pods-create-course-custom-post-type-screen-300x200.webp 300w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/pods-create-course-custom-post-type-screen-768x513.webp 768w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/pods-create-course-custom-post-type-screen-360x241.webp 360w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/pods-create-course-custom-post-type-screen-600x401.webp 600w\" sizes=\"(max-width: 862px) 100vw, 862px\" \/><\/figure>\n\n\n\n<p>Pods\u7ba1\u7406\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067\u306f\u3001\u300cCourses\u300d\u3068\u547c\u3070\u308c\u308b\u65b0\u3057\u3044\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u4f5c\u6210\u3057\u3001\u30b7\u30f3\u30d7\u30eb\u3067\u30b3\u30fc\u30c9\u4e0d\u8981\u306e\u8a2d\u5b9a\u624b\u9806\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5-toolset-types\"><strong>5.<\/strong><a href=\"https:\/\/toolset.com\/home\/types-manage-post-types-taxonomy-and-custom-fields\/\" target=\"_blank\" rel=\"noopener\">\u30c4\u30fc\u30eb\u30bb\u30c3\u30c8\u306e\u7a2e\u985e<\/a><\/h3>\n\n\n\n<p><strong>\u6700\u9069\u306a\u7528\u9014:<\/strong>CPT\u3092\u8996\u899a\u7684\u306b\u4f5c\u6210\u3001\u8a2d\u8a08\u3001\u8868\u793a\u3067\u304d\u308b\u30aa\u30fc\u30eb\u30a4\u30f3\u30ef\u30f3\u30b7\u30b9\u30c6\u30e0\u3092\u6c42\u3081\u308b\u30e6\u30fc\u30b6\u30fc\u3002<\/p>\n\n\n\n<p>\u30c4\u30fc\u30eb\u30bb\u30c3\u30c8\u30bf\u30a4\u30d7\u306f\u3001\u30b3\u30fc\u30c9\u306a\u3057\u3067\u30d3\u30eb\u30c9\u3092\u597d\u3080\u30e6\u30fc\u30b6\u30fc\u306b\u6700\u9069\u306a\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u306a\u304c\u3089\u3001CPT\u3001\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3001\u95a2\u4fc2\u6027\u306e\u4f5c\u6210\u3092\u652f\u63f4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9:<\/strong>PHP\u30d5\u30a1\u30a4\u30eb\u306b\u89e6\u308c\u305a\u306b\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3001\u4e0d\u52d5\u7523\u30b5\u30a4\u30c8\u3001e\u30e9\u30fc\u30cb\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u3092\u7d20\u65e9\u304f\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"447\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/toolset-plugin-homepage-banner-1024x447.webp\" alt=\"toolset-plugin-homepage-banner\" class=\"wp-image-334781386\" srcset=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/toolset-plugin-homepage-banner-1024x447.webp 1024w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/toolset-plugin-homepage-banner-300x131.webp 300w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/toolset-plugin-homepage-banner-768x335.webp 768w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/toolset-plugin-homepage-banner-1536x671.webp 1536w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/toolset-plugin-homepage-banner-360x157.webp 360w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/toolset-plugin-homepage-banner-600x262.webp 600w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/toolset-plugin-homepage-banner.webp 1587w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"6-custom-post-type-ui-cpt-ui\"><strong>6.<\/strong><a href=\"https:\/\/wordpress.org\/plugins\/custom-post-type-ui\/\" target=\"_blank\" rel=\"noopener\">\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7UI(CPT UI)<\/a><\/h3>\n\n\n\n<p><strong>\u6700\u9069\u306a\u7528\u9014:<\/strong>\u6295\u7a3f\u30bf\u30a4\u30d7\u3084\u5206\u985e\u6cd5\u3092\u8996\u899a\u7684\u306b\u4f5c\u308a\u305f\u3044\u521d\u5fc3\u8005\u3084\u30b5\u30a4\u30c8\u30aa\u30fc\u30ca\u30fc\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u3042\u306a\u305f\u306eCPT\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30bb\u30f3\u30bf\u30fc\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3059\u3002\u65b0\u3057\u3044\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u4f5c\u6210\u3001\u65e2\u5b58\u306e\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306e\u4ed8\u4e0e\u3001\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u304b\u3089\u3059\u3079\u3066\u7ba1\u7406\u3067\u304d\u3001\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306f\u4e0d\u8981\u3067\u3059\u3002<br>\u305d\u308c\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u304f\u3060\u3055\u3044<a href=\"https:\/\/wordpress.org\/plugins\/advanced-custom-fields\/\" target=\"_blank\" rel=\"noopener\"><strong>\u30a2\u30c9\u30d0\u30f3\u30b9\u30c8\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9(ACF)<\/strong> <\/a>\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3084\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306b\u3002<\/p>\n\n\n\n<p><strong>\u30d7\u30ed\u306e\u30d2\u30f3\u30c8:<\/strong>CPT UI\u3092\u4f7f\u3063\u3066\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u767b\u9332\u3057\u3001ACF\u3092\u4f7f\u3063\u3066\u30c7\u30fc\u30bf\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8a2d\u8a08\u3059\u308b\u3068\u3044\u3046\u3001\u975e\u30b3\u30fc\u30c0\u30fc\u306b\u3082\u3074\u3063\u305f\u308a\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"430\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/custom-post-type-ui-plugin-banner-1024x430.webp\" alt=\"custom-post-type-ui-plugin-banner\" class=\"wp-image-334781371\" srcset=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/custom-post-type-ui-plugin-banner-1024x430.webp 1024w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/custom-post-type-ui-plugin-banner-300x126.webp 300w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/custom-post-type-ui-plugin-banner-768x323.webp 768w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/custom-post-type-ui-plugin-banner-1536x645.webp 1536w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/custom-post-type-ui-plugin-banner-360x151.webp 360w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/custom-post-type-ui-plugin-banner-600x252.webp 600w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/custom-post-type-ui-plugin-banner.webp 1540w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"final-verdict\">\u6700\u7d42\u8a55\u6c7a<\/h3>\n\n\n\n<p>\u521d\u5fc3\u8005\u306a\u3089\u3001<strong>CPT UI + ACF<\/strong>.<br>\u958b\u767a\u8005\u306a\u3089\u3001<strong>\u30e1\u30bf\u30dc\u30c3\u30af\u30b9<\/strong>\u307e\u305f\u306f<strong>\u30dd\u30c3\u30c9<\/strong>.<br>\u30c7\u30b6\u30a4\u30ca\u30fc\u3067Elementor\u3092\u4f7f\u3063\u3066\u3044\u308b\u306a\u3089<strong>\u30b8\u30a7\u30c3\u30c8\u30a8\u30f3\u30b8\u30f3<\/strong>\u81ea\u7136\u306b\u611f\u3058\u3089\u308c\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u305d\u308c\u305e\u308c\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u76ee\u6a19\u306f\u540c\u3058\u3067\u3059\u3002\u305d\u308c\u306f\u3001\u6469\u64e6\u306a\u304f\u69cb\u9020\u5316\u3055\u308c\u3001\u52d5\u7684\u3067\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u306aWordPress\u30b5\u30a4\u30c8\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion-turn-word-press-into-a-fully-dynamic-cms\">\u7d50\u8ad6:WordPress\u3092\u5b8c\u5168\u306a\u52d5\u7684CMS\u306b\u5909\u3048\u308b<\/h2>\n\n\n\n<p>\u79c1\u305f\u3061\u304c\u53d6\u308a\u4e0a\u3052\u3066\u304d\u305f\u3059\u3079\u3066\u3092\u632f\u308a\u8fd4\u308b\u3068\u3001\u4e00\u3064\u3060\u3051\u306f\u3063\u304d\u308a\u3068\u308f\u304b\u308a\u307e\u3059\u3002\u305d\u308c\u306f\u3001\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3053\u305d\u304cWordPress\u3092\u672c\u5f53\u306b\u7121\u9650\u306b\u3057\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<p>e\u30e9\u30fc\u30cb\u30f3\u30b0\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u304b\u3089\u4e0d\u52d5\u7523\u30ea\u30b9\u30c6\u30a3\u30f3\u30b0\u3001\u4ee3\u7406\u5e97\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u307e\u3067\u3001\u3042\u306a\u305f\u304c\u3053\u308c\u307e\u3067\u306b\u61a7\u308c\u305f\u3042\u3089\u3086\u308b\u30d7\u30ed\u30d5\u30a7\u30c3\u30b7\u30e7\u30ca\u30eb\u30b0\u30ec\u30fc\u30c9\u306e\u30b5\u30a4\u30c8\u306e\u57fa\u76e4\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u305d\u308c\u3089\u304c\u306a\u3051\u308c\u3070\u3001WordPress\u306f\u305f\u3060\u306e\u30d6\u30ed\u30b0\u30c4\u30fc\u30eb\u306b\u904e\u304e\u306a\u304b\u3063\u305f\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u4eca\u3084\u3001\u3042\u306a\u305f\u306f\u4ee5\u4e0b\u306e\u65b9\u6cd5\u3092\u5b66\u3093\u3067\u3044\u307e\u3059:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>CPT UI\u3084ACF\u306e\u3088\u3046\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u3063\u3066CPT\u3092\u4f5c\u3063\u3066\u304f\u3060\u3055\u3044(\u521d\u5fc3\u8005\u306b\u6700\u9069\u3067\u3059)\u3002<\/li>\n\n\n\n<li>CPT\u3092\u624b\u52d5\u307e\u305f\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\u7684\u306b\u4f5c\u6210\u3057\u3001\u5b8c\u5168\u306a\u958b\u767a\u8005\u7ba1\u7406\u304c\u53ef\u80fd\u3067\u3059\u3002<\/li>\n\n\n\n<li>\u5206\u985e\u6cd5\u3001\u30ab\u30c6\u30b4\u30ea\u30fc\u3001\u95a2\u4fc2\u6027\u3092\u6d3b\u7528\u3057\u3066\u3001\u8ce2\u304f\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u69cb\u6210\u3057\u307e\u3057\u3087\u3046\u3002<\/li>\n\n\n\n<li>\u81ea\u5206\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3084\u7d4c\u9a13\u30ec\u30d9\u30eb\u306b\u5408\u3063\u305f\u6700\u9069\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u9078\u3073\u307e\u3057\u3087\u3046\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u3053\u308c\u3089\u3059\u3079\u3066\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001WordPress\u306f\u9ad8\u901f\u3067\u6574\u7406\u3055\u308c\u3001SEO\u6700\u9069\u5316\u3055\u308c\u3001\u6210\u9577\u306b\u5411\u3051\u305f\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u5f37\u8c6a\u306b\u6210\u9577\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u899a\u3048\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044:\u5c0f\u3055\u304f\u59cb\u3081\u307e\u3057\u3087\u3046\u3002\u4f8b\u3048\u3070\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u3084\u300c\u30b3\u30fc\u30b9\u300d\u306e\u3088\u3046\u306aCPT\u30921\u3064\u3060\u3051\u4f7f\u3046\u306e\u3082\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u3069\u308c\u3060\u3051\u30af\u30ea\u30fc\u30f3\u306b\u306a\u308b\u304b\u3092\u5b9f\u611f\u3059\u308c\u3070\u3001\u3082\u3046\u666e\u901a\u306e\u6295\u7a3f\u3067\u3059\u3079\u3066\u3092\u6271\u3046\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u3067\u3059\u304b\u3089\u3001\u3042\u306a\u305f\u304c\u30bd\u30ed\u30d6\u30ed\u30ac\u30fc\u3067\u3042\u308c\u3001\u30d3\u30b8\u30cd\u30b9\u30aa\u30fc\u30ca\u30fc\u3067\u3042\u308c\u3001\u30a6\u30a7\u30d6\u958b\u767a\u8005\u3067\u3042\u308c\u3001\u3053\u308c\u304c\u5408\u56f3\u3067\u3059:\u300c\u96e3\u3057\u304f\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u8ce2\u304f\u4f5c\u308a\u59cb\u3081\u3088\u3046\u300d\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u6700\u521d\u306e\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u4f5c\u6210\u3092\u59cb\u3081\u307e\u3057\u3087\u3046\u3002\u4eca\u3059\u3050WordPress\u306e\u30b5\u30a4\u30c8\u3092\u52d5\u7684\u3067\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u306aCMS\u306b\u5909\u3048\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"394\" height=\"574\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-dashboard-with-multiple-custom-post-types.webp\" alt=\"wordpress-dashboard-with-multiple-custom-post-types\" class=\"wp-image-334781398\" srcset=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-dashboard-with-multiple-custom-post-types.webp 394w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-dashboard-with-multiple-custom-post-types-206x300.webp 206w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2025\/12\/wordpress-dashboard-with-multiple-custom-post-types-351x512.webp 351w\" sizes=\"(max-width: 394px) 100vw, 394px\" \/><\/figure>\n\n\n\n<p>\u300c\u9759\u7684WordPress\u30b5\u30a4\u30c8\u300d(\u6295\u7a3f\u306e\u307f)\u3068\u300c\u52d5\u7684CMS\u30b5\u30a4\u30c8\u300d(\u6295\u7a3f+\u30d7\u30ed\u30b8\u30a7\u30af\u30c8+\u30a4\u30d9\u30f3\u30c8+\u30b3\u30fc\u30b9)\u306e\u9055\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"fa-qs-everything-you-need-to-know-about-word-press-custom-post-types\">\u3088\u304f\u3042\u308b\u8cea\u554f:WordPress\u306e\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u3064\u3044\u3066\u77e5\u3063\u3066\u304a\u304f\u3079\u304d\u3059\u3079\u3066<\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1772775806216\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \">1.<strong>\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3068WordPress\u306e\u95a2\u4fc2\u306f\u4f55\u3067\u3059\u304b?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306fWordPress\u306e\u30b3\u30a2\u69cb\u9020\u3092\u62e1\u5f35\u3057\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u300c\u6295\u7a3f\u300d\u3068\u300c\u30da\u30fc\u30b8\u300d\u304c\u3042\u308a\u307e\u3059\u3002CPT\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3001\u30b3\u30fc\u30b9\u3001\u63a8\u85a6\u6587\u306a\u3069\u3001\u6295\u7a3f\u306e\u3088\u3046\u306b\u632f\u308b\u821e\u3044\u306a\u304c\u3089\u5225\u3005\u306b\u6574\u7406\u3055\u308c\u305f\u65b0\u3057\u3044\u30b3\u30f3\u30c6\u30f3\u30c4\u30bf\u30a4\u30d7\u3092\u5b9a\u7fa9\u3067\u304d\u307e\u3059\u3002\u7c21\u5358\u306b\u8a00\u3048\u3070\u3001\u6295\u7a3f=\u30d6\u30ed\u30b0\u30b3\u30f3\u30c6\u30f3\u30c4\u3002CPT=\u30b5\u30a4\u30c8\u306b\u5fc5\u8981\u306a\u305d\u306e\u4ed6\u306e\u3059\u3079\u3066\u3002<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1772775826191\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>2. \u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3067\u3069\u306e\u3088\u3046\u306b\u8868\u793a\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>CPT\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8868\u793a\u3059\u308b\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059:<br \/>\u81ea\u52d5\u30ea\u30b9\u30c8\u306b\u306fQuery Loop Block(\u30d6\u30ed\u30c3\u30af\u30c6\u30fc\u30de)\u3092\u4f7f\u3044\u307e\u3057\u3087\u3046\u3002<br \/>archive-{cpt}.php \u3068 single-{cpt}.php \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u3066\u5b8c\u5168\u306a\u5236\u5fa1\u3092\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\u3042\u308b\u3044\u306fElementor\u3084Gutenberg\u306e\u3088\u3046\u306a\u52d5\u7684\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u4ed8\u304d\u306e\u30da\u30fc\u30b8\u30d3\u30eb\u30c0\u30fc\u3092\u4f7f\u3046\u306e\u3082\u826f\u3044\u3067\u3057\u3087\u3046\u3002<br \/>\u4f8b:\u3059\u3079\u3066\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30b0\u30ea\u30c3\u30c9\u306b\u8868\u793a\u3059\u308barchive-project.php\u3092\u4f5c\u6210\u3057\u3001\u6ce8\u76ee\u753b\u50cf\u3084\u30ea\u30f3\u30af\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1772775849978\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>3. \u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u30ab\u30c6\u30b4\u30ea\u3084\u30bf\u30b0\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u304b?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>\u65e2\u5b58\u306e\u5206\u985e\u6cd5\u3092\u4ed8\u3051\u308b\u304b\u3001\u65b0\u3057\u3044\u3082\u306e\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059:<br \/>\u65e2\u5b58\u306e\u30ab\u30c6\u30b4\u30ea\u3084\u30bf\u30b0\u306b\u3064\u3044\u3066\u306f\u3001CPT\u306e\u5f15\u6570\u306b\u4ee5\u4e0b\u3092\u542b\u3081\u3066\u304f\u3060\u3055\u3044:<br \/>\u300ctaxonomies\u300d=&gt;\u914d\u5217(\u300c\u30ab\u30c6\u30b4\u30ea\u300d\u3001\u300cpost_tag\u300d)\u3002<br \/><strong>\u30dc\u30fc\u30ca\u30b9\u30d2\u30f3\u30c8:<\/strong>\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30bf\u30a4\u30d7\u300d\u3084\u300c\u30b3\u30fc\u30b9\u30ec\u30d9\u30eb\u300d\u306a\u3069\u306e\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u3001\u30b5\u30a4\u30c8\u306e\u69cb\u9020\u304c\u3088\u308a\u30af\u30ea\u30fc\u30f3\u306b\u306a\u308a\u3001\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u306e\u9078\u629e\u80a2\u3082\u6539\u5584\u3055\u308c\u307e\u3059\u3002<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1772775870034\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>4. \u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3068\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u9055\u3044\u306f\u4f55\u3067\u3059\u304b?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>CPT\u306f\u8ffd\u52a0\u3059\u308b\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u7a2e\u985e(\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3084\u30b3\u30fc\u30b9\u306a\u3069)\u3092\u5b9a\u7fa9\u3057\u3001\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u4fdd\u5b58\u3059\u308b\u8a73\u7d30(\u4f8b\u3048\u3070\u300c\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u540d\u300d\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4e88\u7b97\u300d\u300c\u671f\u9593\u300d)\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u5f7c\u3089\u306f\u5bc6\u63a5\u306b\u9023\u643a\u3057\u3066\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u69cb\u6210\u3057\u3001\u518d\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1772775887243\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>5. \u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306fSEO\u306b\u512a\u3057\u3044\u304b?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>\u78ba\u304b\u306b\u3001\u9069\u5207\u306b\u8a2d\u5b9a\u3059\u308c\u3070SEO\u306e\u5411\u4e0a\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002\u30b3\u30f3\u30c6\u30f3\u30c4\u3084URL(\u4f8b:\/projects\/\u3084\/courses\/)\u3092\u69cb\u6210\u3059\u308b\u3053\u3068\u3067\u3001\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306b\u30b5\u30a4\u30c8\u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3092\u3088\u308a\u660e\u78ba\u306b\u7406\u89e3\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\u305f\u3060\u3057\u3001\u4ee5\u4e0b\u306e\u3053\u3068\u3092\u5fc5\u305a\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044:<br \/>CPT\u767b\u9332\u6642\u306b\u300c\u30a2\u30fc\u30ab\u30a4\u30d6\u304c\u3042\u308b\u300d\u3092\u6709\u52b9\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>Rank Math\u3084Yoast\u306e\u3088\u3046\u306aSEO\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u3063\u3066CPT\u3092\u6700\u9069\u5316\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1772775910209\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>6. CPT\u3092\u4ed6\u306e\u30b5\u30a4\u30c8\u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u307e\u305f\u306f\u79fb\u884c\u3067\u304d\u307e\u3059\u304b?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>\u306f\u3044!\u30c4\u30fc\u30eb<a href=\"https:\/\/dev.smackcoders.com\/wp-ultimate-csv-importer-pro.html?srsltid=AfmBOooHtFRAtll6vOC7i0cWh_izW1K50Ud17aDlRFYp9EHj09oAgyUq\"><strong>WP Ultimate CSV Importer Pro<\/strong> <\/a>CPT\u30c7\u30fc\u30bf\u3001\u30d5\u30a3\u30fc\u30eb\u30c9\u3001\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306e\u5b89\u5168\u79fb\u884c\u3092\u624b\u52a9\u3051\u3067\u304d\u307e\u3059\u3002\u8907\u6570\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c8\u3092\u7ba1\u7406\u3059\u308b\u30a8\u30fc\u30b8\u30a7\u30f3\u30b7\u30fc\u3084\u958b\u767a\u8005\u306b\u6700\u9069\u3067\u3059\u3002<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>WordPress\u30b5\u30a4\u30c8\u3092\u52d5\u7684\u306b\u3059\u308b\u3082\u306e\u3068\u306f\u4f55\u3067\u3057\u3087\u3046\u304b? \u3082\u3057WordPress\u306e\u30b5\u30a4\u30c8\u304c\u3042\u307e\u308a\u306b\u3082\u300c\u9759\u7684\u3059\u304e\u308b\u300d\u3068\u611f\u3058\u305f\u3053\u3068\u304c\u3042\u308b\u306a\u3089\u3001\u3042\u306a\u305f\u3060\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u307b\u3068\u3093\u3069\u306e\u30b5\u30a4\u30c8\u306f\u6295\u7a3f\u3084\u30da\u30fc\u30b8\u306b\u4f9d\u5b58\u3057\u3066\u304a\u308a\u3001\u30d6\u30ed\u30b0\u3084 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":334781337,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,3461],"tags":[],"class_list":["post-334784012","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","category-wordpress-guide"],"acf":[],"_links":{"self":[{"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/posts\/334784012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/comments?post=334784012"}],"version-history":[{"count":8,"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/posts\/334784012\/revisions"}],"predecessor-version":[{"id":334784023,"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/posts\/334784012\/revisions\/334784023"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/media\/334781337"}],"wp:attachment":[{"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/media?parent=334784012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/categories?post=334784012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/tags?post=334784012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}