{"id":334755578,"date":"2025-09-10T18:24:38","date_gmt":"2025-09-10T12:54:38","guid":{"rendered":"https:\/\/dev.smackcoders.com\/create-custom-taxonomies-with-acf.html"},"modified":"2025-09-23T13:01:33","modified_gmt":"2025-09-23T07:31:33","slug":"create-custom-taxonomies-with-acf","status":"publish","type":"post","link":"https:\/\/dev.smackcoders.com\/ja\/blog\/create-custom-taxonomies-with-acf.html","title":{"rendered":"ACF \u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5: \u8a73\u7d30\u30ac\u30a4\u30c9"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"555\" src=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2023\/11\/How_to_Create_Custom_Taxonomies_with_ACF_Plugin-2.webp\" alt=\"\" class=\"wp-image-74922\" srcset=\"https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2023\/11\/How_to_Create_Custom_Taxonomies_with_ACF_Plugin-2.webp 1024w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2023\/11\/How_to_Create_Custom_Taxonomies_with_ACF_Plugin-2-300x163.webp 300w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2023\/11\/How_to_Create_Custom_Taxonomies_with_ACF_Plugin-2-768x416.webp 768w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2023\/11\/How_to_Create_Custom_Taxonomies_with_ACF_Plugin-2-360x195.webp 360w, https:\/\/dev.smackcoders.com\/wp-content\/uploads\/2023\/11\/How_to_Create_Custom_Taxonomies_with_ACF_Plugin-2-600x325.webp 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306f\u3001Web\u30b5\u30a4\u30c8\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u6574\u7406\u304a\u3088\u3073\u5206\u985e\u3059\u308b\u4e0a\u3067\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002\u5e78\u3044\u306a\u3053\u3068\u306b\u3001ACF\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u4f5c\u6210\u3057\u3066\u4efb\u610f\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u5272\u308a\u5f53\u3066\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30d6\u30ed\u30b0\u6295\u7a3f\u3067\u306f\u3001ACF\u3067\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u4f5c\u6210\u3057\u3001\u305d\u308c\u306b\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u30b0\u30eb\u30fc\u30d7\u3092\u5272\u308a\u5f53\u3066\u3001\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306e\u5024\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u3092\u8aac\u660e\u3059\u308b\u3053\u3068\u3067\u3001ACF\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u53ef\u80fd\u6027\u3092\u89e3\u304d\u653e\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306e\u91cd\u8981\u6027<\/h2>\n\n\n\n<p>\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u4f5c\u6210\u3059\u308b\u624b\u9806\u306b\u5165\u308b\u524d\u306b\u3001<a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/dev.smackcoders.com\/ja\/blog\/export-import-advanced-custom-fields-csv-wordpress.html\">ACF\u306e<\/a>\u30d7\u30e9\u30b0\u30a4\u30f3\u3001\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u304c\u3042\u306a\u305f\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u3068\u3063\u3066\u4fa1\u5024\u304c\u3042\u308b\u7406\u7531\u3092\u7406\u89e3\u3059\u308b\u305f\u3081\u306b\u5c11\u3057\u6642\u9593\u3092\u53d6\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u3064\u3064<a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/\">\u30ef\u30fc\u30c9\u30d7\u30ec\u30b9<\/a>\u306b\u306f\u3001\u30ab\u30c6\u30b4\u30ea\u3084\u30bf\u30b0\u306a\u3069\u306e\u7d44\u307f\u8fbc\u307f\u306e\u5206\u985e\u6cd5\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u3089\u306f\u5fc5\u305a\u3057\u3082\u7279\u5b9a\u306e\u8981\u4ef6\u3068\u4e00\u81f4\u3059\u308b\u3068\u306f\u9650\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u3001\u30ab\u30b9\u30bf\u30e0\u5206\u985e\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30cb\u30fc\u30ba\u306b\u3088\u308a\u9069\u3057\u305f\u65b9\u6cd5\u3067\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u5206\u985e\u3067\u304d\u307e\u3059\u3002\u69cb\u9020\u5316\u3055\u308c\u305f\u7d44\u7e54\u30b7\u30b9\u30c6\u30e0\u3092\u63d0\u4f9b\u3057\u3001\u72ec\u81ea\u306e\u8981\u4ef6\u306b\u57fa\u3065\u3044\u3066\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u67d4\u8edf\u306b\u5206\u985e\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306e\u4f5c\u6210\u65b9\u6cd5<\/h2>\n\n\n\n<p>ACF \u3092\u4f7f\u7528\u3057\u3066\u30ab\u30b9\u30bf\u30e0\u5206\u985e\u306e\u4f5c\u6210\u3092\u958b\u59cb\u3059\u308b\u306b\u306f\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u304c Web \u30b5\u30a4\u30c8\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3059\u308b\u3068\u3001\u30b5\u30a4\u30c9\u30d0\u30fc\u306bACF\u30e1\u30cb\u30e5\u30fc\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u624b\u9806\u306b\u5f93\u3063\u3066\u958b\u59cb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>ACF &gt;&gt; Taxonomies \u306b\u79fb\u52d5\u3057\u3001[Add New] \u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u300c\u65b0\u3057\u3044\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u8ffd\u52a0\u300d\u30da\u30fc\u30b8\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u5fc5\u9808\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u5165\u529b\u3057\u3066\u3001\u57fa\u672c\u8a2d\u5b9a\u3092\u69cb\u6210\u3057\u307e\u3059\u3002\u8907\u6570\u5f62\u306e\u30e9\u30d9\u30eb\u3001\u5358\u6570\u5f62\u306e\u30e9\u30d9\u30eb\u3001\u304a\u3088\u3073\u5206\u985e\u30ad\u30fc\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u30bf\u30af\u30bd\u30ce\u30df\u30fc \u30ad\u30fc \u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u3001\u5358\u6570\u5f62\u306e\u30e9\u30d9\u30eb\u306b\u57fa\u3065\u3044\u3066\u81ea\u52d5\u7684\u306b\u751f\u6210\u3055\u308c\u307e\u3059\u304c\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u7de8\u96c6\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li>[\u6295\u7a3f\u30bf\u30a4\u30d7] \u30d5\u30a3\u30fc\u30eb\u30c9\u304b\u3089\u3001\u3053\u306e\u30ab\u30b9\u30bf\u30e0\u5206\u985e\u3092\u5272\u308a\u5f53\u3066\u308b\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u8907\u6570\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u9078\u629e\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306f\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306b\u968e\u5c64\u7684\u306a\u5b50\u5b6b\u3092\u542b\u3081\u308b\u5834\u5408\u306f\u3001\u300c\u968e\u5c64\u300d\u30c8\u30b0\u30eb\u30dc\u30bf\u30f3\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\u8ffd\u52a0\u8a2d\u5b9a\u306e\u69cb\u6210<\/h3>\n\n\n\n<p><a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/dev.smackcoders.com\/ja\/blog\/export-import-advanced-custom-fields-csv-wordpress.html\">ACF\u306e<\/a>\u30d0\u30fc\u3092\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u8ffd\u52a0\u306e\u8a2d\u5b9a\u306b\u3088\u308a\u3001\u69cb\u6210\u30d7\u30ed\u30bb\u30b9\u304c\u7c21\u7d20\u5316\u3055\u308c\u307e\u3059\u3002\u4f7f\u7528\u53ef\u80fd\u306a\u30bf\u30d6\u306e\u6982\u8981\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u5168\u822c\uff1a<\/strong>\u300c\u7528\u8a9e\u306e\u4e26\u3079\u66ff\u3048\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6709\u52b9\u306b\u3057\u3066\u3001\u5206\u985e\u7528\u8a9e\u3092\u4e26\u3079\u66ff\u3048\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u7528\u8a9e\u3092\u6709\u52b9\u306b\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u7528\u8a9e\u540d (\u5fc5\u9808)\u3001\u7528\u8a9e\u30b9\u30e9\u30c3\u30b0\u3001\u304a\u3088\u3073\u7528\u8a9e\u306e\u8aac\u660e\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u5206\u985e\u306e\u4e00\u822c\u7684\u306a\u8aac\u660e\u3092\u5165\u529b\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u300c\u30a2\u30af\u30c6\u30a3\u30d6\u300d\u30c8\u30b0\u30eb\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u524a\u9664\u305b\u305a\u306b\u975e\u30a2\u30af\u30c6\u30a3\u30d6\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30e9\u30d9\u30eb\uff1a<\/strong>\u7ba1\u7406\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u5168\u4f53\u3067\u4f7f\u7528\u3055\u308c\u308b\u5206\u985e\u306e\u30e9\u30d9\u30eb\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u30e9\u30d9\u30eb\u306f\u3001\u57fa\u672c\u8a2d\u5b9a\u3067\u8a2d\u5b9a\u3057\u305f\u5358\u6570\u5f62\u3068\u8907\u6570\u5f62\u306e\u30e9\u30d9\u30eb\u306b\u57fa\u3065\u3044\u3066\u81ea\u52d5\u7684\u306b\u751f\u6210\u3055\u308c\u307e\u3059\u304c\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u7de8\u96c6\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u53ef\u8996\uff1a<\/strong>\u30d5\u30ed\u30f3\u30c8\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3068\u7ba1\u7406\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306e\u5206\u985e\u306e\u8868\u793a\u3092\u5236\u5fa1\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>URL\u3001\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u3001REST API:<\/strong>\u3053\u308c\u3089\u306e\u8a2d\u5b9a\u306f\u4e8b\u524d\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u7279\u5b9a\u306e\u30cb\u30fc\u30ba\u306b\u57fa\u3065\u3044\u3066\u5909\u66f4\u3092\u52a0\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/www.advancedcustomfields.com\/resources\/registering-a-custom-taxonomy\/\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a>\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306b\u95a2\u3059\u308bACF\u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8.<\/p>\n\n\n\n<p>\u8a2d\u5b9a\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001[\u5909\u66f4\u3092\u4fdd\u5b58]\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092ACF\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3078\u306e\u5024\u306e\u8ffd\u52a0<\/h2>\n\n\n\n<p>\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306b\u5024\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u8907\u6570\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u30021 \u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u3001\u30ab\u30b9\u30bf\u30e0\u5206\u985e\u3092\u5272\u308a\u5f53\u3066\u305f\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u4efb\u610f\u306e\u30ec\u30b3\u30fc\u30c9\u306e [\u65b0\u898f\u8ffd\u52a0] \u307e\u305f\u306f [\u7de8\u96c6] \u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306f\u3001\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u306e\u4e0b\u306b\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u3068\u3057\u3066\u30ea\u30b9\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u300cCTax1\u300d\u3092\u300c\u6295\u7a3f\u300d\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u5272\u308a\u5f53\u3066\u305f\u5834\u5408\u3001\u300c\u6295\u7a3f\u300d\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u306e\u4e0b\u306b\u300cCtax1\u300d\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u304c\u4e00\u89a7\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u305d\u3053\u304b\u3089\u3001\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30ab\u30b9\u30bf\u30e0\u5206\u985e\u3078\u306e\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5272\u308a\u5f53\u3066<\/h2>\n\n\n\n<p>\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306b\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u30b0\u30eb\u30fc\u30d7\u3092\u5272\u308a\u5f53\u3066\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3092\u884c\u3046\u306b\u306f\u3001\u6b21\u306e\u624b\u9806\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>ACF &gt;&gt; Field Groups\u306b\u79fb\u52d5\u3057\u3001\u300cAdd New\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u30d5\u30a3\u30fc\u30eb\u30c9 \u30b0\u30eb\u30fc\u30d7\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u30d5\u30a3\u30fc\u30eb\u30c9\u30bf\u30a4\u30d7\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u30d5\u30a3\u30fc\u30eb\u30c9\u30bf\u30a4\u30d7\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u30d5\u30a3\u30fc\u30eb\u30c9\u30e9\u30d9\u30eb\u3001\u30d5\u30a3\u30fc\u30eb\u30c9\u540d\u3001\u304a\u3088\u3073\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>[\u8a2d\u5b9a]\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u3001\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u304b\u3089[\u5206\u985e]\u3092\u9078\u629e\u3057\u3001[\u6b21\u306e\u5024\u3068\u7b49\u3057\u3044]&gt;&gt;[\u6b21\u306e\u5024\u3068\u4e00\u81f4\u3059\u308b]&gt;&gt;[your_taxonomy]\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u300c\u5909\u66f4\u3092\u4fdd\u5b58\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n\n<p>\u3053\u308c\u3067\u3001\u4f5c\u6210\u3057\u305f\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u3001Web\u30b5\u30a4\u30c8\u306e\u67d4\u8edf\u6027\u3068\u6a5f\u80fd\u304c\u5f37\u5316\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3068\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306e\u9055\u3044<\/h2>\n\n\n\n<p>Advanced Custom Fields(ACF)\u3067\u306f\u3001\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3068\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306e\u4e21\u65b9\u3092\u4f7f\u7528\u3057\u3066\u3001\u6295\u7a3f\u3001\u30da\u30fc\u30b8\u3001\u30ab\u30b9\u30bf\u30e0<a href=\"https:\/\/dev.smackcoders.com\/ja\/blog\/blog-create-and-import-custom-post-types-in-wordpress.html?p=334756486\">\u6295\u7a3f\u30bf\u30a4\u30d7<\/a>\u3001\u307e\u305f\u306f\u305d\u306e\u4ed6\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u30bf\u30a4\u30d7\u306b\u30c7\u30fc\u30bf\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001WordPress\u30b3\u30f3\u30c6\u30f3\u30c4\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3092\u62e1\u5f35\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ACF \u3067\u306f\u3001\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3084\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u3055\u307e\u3056\u307e\u306a\u76ee\u7684\u3084\u69cb\u9020\u3092\u6301\u3064\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u5b9a\u7fa9\u3057\u3001\u305d\u308c\u3089\u3092\u7279\u5b9a\u306e\u6295\u7a3f\u3084\u30b3\u30f3\u30c6\u30f3\u30c4\u30bf\u30a4\u30d7\u306b\u5272\u308a\u5f53\u3066\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u3001\u6295\u7a3f\u3084\u305d\u306e\u4ed6\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u30bf\u30a4\u30d7\u306b\u6dfb\u4ed8\u3067\u304d\u308b\u500b\u3005\u306e\u30c7\u30fc\u30bf\u3067\u3059\u3002<\/li>\n\n\n\n<li>\u3053\u308c\u306b\u3088\u308a\u3001\u30c6\u30ad\u30b9\u30c8\u3001\u6570\u5024\u3001\u65e5\u4ed8\u3001\u753b\u50cf\u3001\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u306e\u7279\u5b9a\u306e\u30c7\u30fc\u30bf\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u5b9a\u7fa9\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4f5c\u6210\u307e\u305f\u306f\u7de8\u96c6\u3059\u308b\u3068\u304d\u306b\u5165\u529b\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u901a\u5e38\u3001\u88fd\u54c1\u306e\u4fa1\u683c\u3001\u8457\u8005\u306e\u7d4c\u6b74\u3001\u30a4\u30d9\u30f3\u30c8\u306e\u65e5\u4ed8\u306a\u3069\u3001\u5404\u6295\u7a3f\u307e\u305f\u306f\u30da\u30fc\u30b8\u306b\u56fa\u6709\u306e\u8ffd\u52a0\u60c5\u5831\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<strong>\u5206\u985e<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306f\u3001WordPress\u3067\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u30b0\u30eb\u30fc\u30d7\u5316\u304a\u3088\u3073\u6574\u7406\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/li>\n\n\n\n<li>\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u3055\u307e\u3056\u307e\u306a\u30ab\u30c6\u30b4\u30ea\u3001\u30bf\u30b0\u3001\u307e\u305f\u306f\u30ab\u30b9\u30bf\u30e0\u968e\u5c64\u69cb\u9020\u306b\u5206\u985e\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306e\u4f8b\u3068\u3057\u3066\u306f\u3001\u30ab\u30c6\u30b4\u30ea (\u968e\u5c64)\u3001\u30bf\u30b0 (\u975e\u968e\u5c64)\u3001\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc (\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u5b9a\u7fa9\u53ef\u80fd) \u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3068\u540c\u69d8\u306b\u3001\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306f\u500b\u3005\u306e\u30c7\u30fc\u30bf\u30d5\u30a3\u30fc\u30eb\u30c9\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u4ee3\u308f\u308a\u306b\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u9805\u76ee\u9593\u306e\u3088\u308a\u5e83\u7bc4\u306a\u5206\u985e\u307e\u305f\u306f\u95a2\u4fc2\u3092\u8868\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>ACF\u3067\u306f\u3001\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u4f5c\u6210\u3057\u3001\u305d\u308c\u3089\u3092\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u95a2\u9023\u4ed8\u3051\u308b\u3053\u3068\u3067\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u3088\u308a\u69cb\u9020\u5316\u3055\u308c\u305f\u65b9\u6cd5\u3067\u6574\u7406\u304a\u3088\u3073\u5206\u985e\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>\u8981\u7d04\u3059\u308b\u3068\u3001\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u3001\u500b\u3005\u306e\u6295\u7a3f\u307e\u305f\u306f\u30b3\u30f3\u30c6\u30f3\u30c4\u30a2\u30a4\u30c6\u30e0\u306b\u7279\u5b9a\u306e\u30c7\u30fc\u30bf\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u5206\u985e\u6cd5\u306f\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u3088\u308a\u5e83\u7bc4\u306a\u30ab\u30c6\u30b4\u30ea\u307e\u305f\u306f\u5206\u985e\u306b\u30b0\u30eb\u30fc\u30d7\u5316\u304a\u3088\u3073\u6574\u7406\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3068\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306f\u3069\u3061\u3089\u3082\u3001WordPress\u30b5\u30a4\u30c8\u306e\u6a5f\u80fd\u3068\u7d44\u7e54\u3092\u62e1\u5f35\u3059\u308b\u305f\u3081\u306e\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3067\u3042\u308a\u3001\u591a\u304f\u306e\u5834\u5408\u3001\u3053\u308c\u3089\u3092\u4e00\u7dd2\u306b\u4f7f\u7528\u3057\u3066\u3001\u30ea\u30c3\u30c1\u3067\u69cb\u9020\u5316\u3055\u308c\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u3092\u4f5c\u6210\u3067\u304d\u307e\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\">\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u306e\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3068\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3067\u6295\u7a3f\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3059\u308b\u65b9\u6cd5\u306f?<\/h2>\n\n\n\n<p>WordPress\u306e\u30a2\u30c9\u30d0\u30f3\u30b9\u30c8\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9(ACF)\u3092\u4f7f\u7528\u3057\u3066\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u306e\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3068\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3067\u6295\u7a3f\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3059\u308b\u306b\u306f\u3001\u30ab\u30b9\u30bf\u30e0\u30af\u30a8\u30ea\u3092\u4f7f\u7528\u3057\u3066WordPress\u306e\u30e1\u30a4\u30f3\u30eb\u30fc\u30d7\u3092\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306e\u30b9\u30c6\u30c3\u30d7\u30d0\u30a4\u30b9\u30c6\u30c3\u30d7\u306e\u30ac\u30a4\u30c9\u3092\u6b21\u306b\u793a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3068\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306e\u4f5c\u6210<\/strong>: \u307e\u305a\u3001\u9ad8\u5ea6\u306a\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3068\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u4f5c\u6210\u3057\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002ACF\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u4f7f\u7528\u3057\u3066\u6295\u7a3f\u306e\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u4f5c\u6210\u3057\u305f\u308a\u3001\u30c6\u30fc\u30de\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u5185\u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u767b\u9332\u3057\u305f\u308a\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30e1\u30a4\u30f3 \u30af\u30a8\u30ea\u3092\u5909\u66f4\u3059\u308b<\/strong>: \u30c6\u30fc\u30de\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u307e\u305f\u306f\u30ab\u30b9\u30bf\u30e0\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u8ffd\u52a0\u3057\u3066\u3001\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3092\u9069\u7528\u3059\u308b\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u306e\u30e1\u30a4\u30f3WordPress\u30af\u30a8\u30ea\u3092\u5909\u66f4\u3057\u307e\u3059\u3002\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<strong>pre_get_posts<\/strong>\u3053\u306e\u76ee\u7684\u306e\u305f\u3081\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u30d5\u30c3\u30af\u3002<br><\/li>\n<\/ol>\n\n\n\n<p><strong>PHP\u306e<\/strong><\/p>\n\n\n\n<p><strong>\u95a2\u6570 custom_archive_query( $query ) {<\/strong><\/p>\n\n\n\n<p><strong>if ( $query-&gt;is_archive() &amp; $query-&gt;is_main_query() ) {<\/strong><\/p>\n\n\n\n<p><strong>\u8981\u4ef6\u306b\u5fdc\u3058\u3066\u30af\u30a8\u30ea\u3092\u5909\u66f4\u3057\u307e\u3059<\/strong><\/p>\n\n\n\n<p><strong>\u4f8b: \u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u300ccustom_field_name\u300d\u3067\u6295\u7a3f\u3092\u7d5e\u308a\u8fbc\u3080<\/strong><\/p>\n\n\n\n<p><strong>$query-&gt;set( &#8216;meta_key&#8217;, &#8216;custom_field_name&#8217; );<\/strong><\/p>\n\n\n\n<p><strong>$query-&gt;set( &#8216;meta_value&#8217;, &#8216;desired_value&#8217; );<\/strong><\/p>\n\n\n\n<p><strong>\u4f8b: \u30ab\u30b9\u30bf\u30e0\u5206\u985e\u300ccustom_taxonomy_name\u300d\u3067\u6295\u7a3f\u3092\u7d5e\u308a\u8fbc\u3080<\/strong><\/p>\n\n\n\n<p><strong>$query-&gt;set( &#8216;tax_query&#8217;, array(<\/strong><\/p>\n\n\n\n<p><strong>\u914d\u5217(<\/strong><\/p>\n\n\n\n<p><strong>&#8216;taxonomy&#8217; =&gt; &#8216;custom_taxonomy_name&#8217;,<\/strong><\/p>\n\n\n\n<p><strong>&#8216;\u30d5\u30a3\u30fc\u30eb\u30c9&#8217; =&gt; &#8216;\u30b9\u30e9\u30c3\u30b0&#8217;,<\/strong><\/p>\n\n\n\n<p><strong>&#8216;terms&#8217; =&gt; &#8216;desired_term&#8217;,<\/strong><\/p>\n\n\n\n<p><strong>\/\/&nbsp; &nbsp; ),<\/strong><\/p>\n\n\n\n<p><strong>\/\/ ));<\/strong><\/p>\n\n\n\n<p><strong>}<\/strong><\/p>\n\n\n\n<p><strong>}<\/strong><\/p>\n\n\n\n<p><strong>add_action( &#8216;pre_get_posts&#8217;, &#8216;custom_archive_query&#8217; );<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u30b3\u30e1\u30f3\u30c8\u89e3\u9664\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/strong>: \u30b3\u30e1\u30f3\u30c8\u3092\u89e3\u9664\u3057\u3001<strong>custom_archive_query<\/strong>\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3068\u5206\u985e\u6cd5\u3067\u6295\u7a3f\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3059\u308b\u95a2\u6570\u3002\u53d6\u308a\u66ff\u3048\u308b<strong>&#8216;custom_field_name&#8217;\u3001&#8217;desired_value&#8217;\u3001&#8217;custom_taxonomy_name&#8217;<\/strong><strong>,<\/strong>\u305d\u3057\u3066<strong>\u300cdesired_term\u300d<\/strong>\u3092 ACF \u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u9069\u5207\u306a\u5024\u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u5909\u66f4\u3092\u4fdd\u5b58\u3057\u3066\u30c6\u30b9\u30c8<\/strong>: functions.php \u307e\u305f\u306f\u30ab\u30b9\u30bf\u30e0 \u30d7\u30e9\u30b0\u30a4\u30f3 \u30d5\u30a1\u30a4\u30eb\u3078\u306e\u5909\u66f4\u3092\u4fdd\u5b58\u3057\u3001\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3092\u9069\u7528\u3057\u305f\u30a2\u30fc\u30ab\u30a4\u30d6 \u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002\u6295\u7a3f\u304c\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3068\u5206\u985e\u306b\u5f93\u3063\u3066\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n\n<p>\u3053\u308c\u3089\u306e\u624b\u9806\u306b\u5f93\u3046\u3068\u3001WordPress\u306eACF\u3092\u4f7f\u7528\u3057\u3066\u3001\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u306e\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3068\u5206\u985e\u6cd5\u3067\u6295\u7a3f\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>ACF\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u753b\u50cf\u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b?<\/strong><\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306f\u3001ACF(Advanced Custom Fields)\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u30a4\u30e1\u30fc\u30b8\u3092\u53d6\u5f97\u3059\u308b\u624b\u9806\u3067\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u4f5c\u6210<\/strong>:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u307e\u305a\u3001ACF \u30d5\u30a3\u30fc\u30eb\u30c9 \u30b0\u30eb\u30fc\u30d7\u306b\u30bf\u30af\u30bd\u30ce\u30df\u30fc \u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u4f5c\u6210\u3059\u308b\u3068\u304d\u306f\u3001\u5fc5\u305a\u300c\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u300d\u30d5\u30a3\u30fc\u30eb\u30c9\u30bf\u30a4\u30d7\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u9069\u5207\u306a\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306b\u5272\u308a\u5f53\u3066\u307e\u3059<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u4f5c\u6210\u3057\u305f\u3089\u3001\u76ee\u7684\u306e\u30bf\u30af\u30bd\u30ce\u30df\u30fc(\u30ab\u30c6\u30b4\u30ea\u3001\u30bf\u30b0\u3001\u4f5c\u6210\u3057\u305f\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306a\u3069)\u306b\u5272\u308a\u5f53\u3066\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u753b\u50cf\u9078\u629e\u7528\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8a2d\u5b9a\u3059\u308b<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\u30d5\u30a3\u30fc\u30eb\u30c9\u8a2d\u5b9a\u5185\u3067\u3001\u753b\u50cf\u9078\u629e\u3092\u8a31\u53ef\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u3053\u308c\u3092\u884c\u3046\u306b\u306f\u3001\u9069\u5207\u306a\u30d5\u30a3\u30fc\u30eb\u30c9\u30bf\u30a4\u30d7(\u753b\u50cf\u3084\u30d5\u30a1\u30a4\u30eb\u306a\u3069)\u3092\u9078\u629e\u3057\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u305d\u306e\u4ed6\u306e\u8a2d\u5b9a\u3092\u69cb\u6210\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5185\u306e\u753b\u50cf\u3092\u53d6\u5f97\u3059\u308b<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8a2d\u5b9a\u3057\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u5272\u308a\u5f53\u3066\u3089\u308c\u305f\u3089\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8 \u30d5\u30a1\u30a4\u30eb\u5185\u306e\u5206\u985e\u7528\u8a9e\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305f\u753b\u50cf\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li>ACF \u3092\u4f7f\u7528\u3057\u3066\u3001\u30bf\u30af\u30bd\u30ce\u30df\u30fc \u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5024\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<strong>get_field()<\/strong>\u6a5f\u80fd\u3002\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u540d\u524d\u3068\u30bf\u30af\u30bd\u30ce\u30df\u7528\u8a9e ID \u3092\u6e21\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p>\u4f8b\u3048\u3070<br>PHP\u306e<\/p>\n\n\n\n<p><strong>$image_id = get_field(&#8216;taxonomy_image&#8217;, &#8216;category_&#8217; . get_queried_object_id());<\/strong><\/p>\n\n\n\n<p><strong>$image_url = up_get_attachment_image_url($image_id, &#8216;full&#8217;);<\/strong><\/p>\n\n\n\n<p><strong>\u753b\u50cf\u3092\u8868\u793a\u3059\u308b<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u753b\u50cf\u306eURL\u3092\u53d6\u5f97\u3057\u305f\u3089\u3001\u305d\u308c\u3092\u4f7f\u7528\u3057\u3066\u3001HTML\u307e\u305f\u306f\u305d\u306e\u4ed6\u306e\u4efb\u610f\u306e\u30de\u30fc\u30af\u30a2\u30c3\u30d7\u3092\u4f7f\u7528\u3057\u3066\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u753b\u50cf\u3092\u8868\u793a\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070<\/li>\n<\/ul>\n\n\n\n<p><strong>PHP\u306e<\/strong><\/p>\n\n\n\n<p><strong>if ($image_url) {<\/strong><\/p>\n\n\n\n<p><strong>echo &#8216;&lt;img src=&#8221;&#8216; . esc_url($image_url) . &#8216;&#8221; alt=&#8221;\u5206\u985e\u753b\u50cf&#8221;&gt;&#8217;;<\/strong><\/p>\n\n\n\n<p><strong>}<\/strong><\/p>\n\n\n\n<p>\u53d6\u308a\u66ff\u3048\u308b<strong>\u300ctaxonomy_image\u300d<\/strong>ACF\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5b9f\u969b\u306e\u540d\u524d\/\u30ad\u30fc\u3068<strong>\u300ccategory_\u300d<\/strong>\u3092\u3001\u5206\u985e\u306e\u9069\u5207\u306a\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9 (\u4f8b: &#8216;category_&#8217;\u3001&#8217;post_tag_&#8217;\u3001&#8217;your_custom_taxonomy_&#8217;) \u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3089\u306e\u624b\u9806\u306b\u5f93\u3044\u3001get_field() \u306a\u3069\u306e ACF \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001WordPress \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3067\u30ab\u30b9\u30bf\u30e0\u5206\u985e\u7528\u8a9e\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305f\u5206\u985e\u753b\u50cf\u3092\u7c21\u5358\u306b\u53d6\u5f97\u3057\u3066\u8868\u793a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u3088\u304f\u3042\u308b\u8cea\u554f(FAQ)<br><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>WordPress\u3067\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u30ab\u30c6\u30b4\u30ea\u540d\u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>WordPress\u3067\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u30ab\u30c6\u30b4\u30ea\u306e\u540d\u524d\u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\u3001<strong>get_queried_object()<\/strong>\u95a2\u6570\u3068\u7d44\u307f\u5408\u308f\u305b\u305f<strong>-&gt;\u540d<\/strong>\u8ca1\u7523\u3002\u3053\u308c\u306f\u3001\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8(\u4f8b:<strong>taxonomy.php<\/strong>)\u307e\u305f\u306f\u7279\u5b9a\u306e\u5206\u985e\u7528\u8a9e\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305f\u5358\u4e00\u306e\u6295\u7a3f\u3092\u8868\u793a\u3059\u308b\u5834\u5408\u3002\u3053\u3053\u3067\u306f\u3001\u305d\u306e\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>PHP\u306e<\/p>\n\n\n\n<p><strong>$term = get_queried_object();<\/strong><\/p>\n\n\n\n<p><strong>if($term){<\/strong><\/p>\n\n\n\n<p><strong>$category_name = $term-&gt;\u540d\u524d;<\/strong><\/p>\n\n\n\n<p><strong>\u30a8\u30b3\u30fc $category_name;<\/strong><\/p>\n\n\n\n<p><strong>}<\/strong><\/p>\n\n\n\n<p>\u8aac\u660e\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>get_queried_object()<\/strong>\u73fe\u5728\u30af\u30a8\u30ea\u30fc\u3055\u308c\u3066\u3044\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 (\u30bf\u30af\u30bd\u30ce\u30df\u30fc \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u307e\u305f\u306f\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u7528\u8a9e\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305f 1 \u3064\u306e\u6295\u7a3f\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3067\u306f\u3001\u30bf\u30af\u30bd\u30ce\u30df\u30fc \u30bf\u30fc\u30e0 \u30aa\u30d6\u30b8\u30a7\u30af\u30c8) \u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u6b21\u306b\u3001\u6b21\u306e\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<strong>$term<\/strong>\u304c\u7a7a\u3067\u306a\u3044(\u3064\u307e\u308a\u3001\u7528\u8a9e\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305f\u5206\u985e\u30da\u30fc\u30b8\u307e\u305f\u306f\u6295\u7a3f\u306b\u3044\u308b)\u305f\u3081\u3001\u7a7a\u306e\u5834\u5408\u306f\u3001<strong>$term-&gt;\u540d\u524d\u3002<\/strong><\/li>\n\n\n\n<li>\u6700\u5f8c\u306b\u3001\u30a8\u30b3\u30fc\u307e\u305f\u306f\u4f7f\u7528\u3057\u307e\u3059<strong>$category_name<\/strong>\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u3001\u30ab\u30b9\u30bf\u30e0\u5206\u985e\u30ab\u30c6\u30b4\u30ea\u306e\u540d\u524d\u3092\u8868\u793a\u307e\u305f\u306f\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u30a8\u30b3\u30fc $term-&gt;\u540d;\u540d\u524d\u3092\u8868\u793a\u3059\u308b\u306b\u306f<\/strong><\/p>\n\n\n\n<p><strong>\u30a8\u30b3\u30fc$term-&gt;\u5206\u985e\u5b66;\u5206\u985e\u3092\u8868\u793a\u3059\u308b\u306b\u306f<\/strong><\/p>\n\n\n\n<p><strong>\u30a8\u30b3\u30fc$term-&gt;\u30b9\u30e9\u30c3\u30b0;\u5206\u985e\u5b66\u306e\u30b9\u30e9\u30c3\u30b0\u3092\u8868\u793a\u3059\u308b\u306b\u306f<\/strong><\/p>\n\n\n\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306f\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8 \u30d5\u30a1\u30a4\u30eb (<strong>taxonomy.php<\/strong>\u53c8\u306f<strong>single.php<\/strong>\u306a\u3069) \u30ab\u30b9\u30bf\u30e0\u5206\u985e\u30ab\u30c6\u30b4\u30ea\u306e\u540d\u524d\u3092\u8868\u793a\u3059\u308b\u5834\u6240\u3002\u73fe\u5728\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306b\u57fa\u3065\u3044\u3066\u540d\u524d\u3092\u52d5\u7684\u306b\u30d5\u30a7\u30c3\u30c1\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30c7\u30fc\u30bf\u3092\u8868\u793a\u3059\u308b\u306b\u306f\u3001<br><\/p>\n\n\n\n<p><strong>&lt;?php $term = get_queried_object(); ?&gt;<\/strong><\/p>\n\n\n\n<p><strong>&lt;h1 class=&#8221;category-title&#8221;&gt;&lt;?php echo $term-&gt;name; ?&gt;&lt;span class=&#8221;taxonomy-label&#8221;&gt;&lt;?php echo $term-&gt;taxonomy; ?&gt; (&lt;?php echo $term-&gt;count; ?&gt; articles)&lt;\/span&gt;&lt;\/h1&gt;<\/strong><\/p>\n\n\n\n<p><strong>&lt;p class=&#8221;category-description&#8221;&gt;&lt;?php echo $term-&gt;description; ?&gt;&lt;\/p&gt;<\/strong><\/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<p><strong>2. the_field()\u3068get_field()\u306e\u9055\u3044\u306f\u4f55\u3067\u3059\u304b?<\/strong><\/p>\n\n\n\n<p>WordPress \u306e Advanced Custom Fields (ACF) \u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u306f\u3001\u4e21\u65b9<strong>the_field()<\/strong>\u305d\u3057\u3066<strong>get_field()<\/strong>\u306f\u3001\u4f5c\u6210\u3057\u305f\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5024\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u51fa\u529b\u306e\u51e6\u7406\u65b9\u6cd5\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>the_field()<\/strong>\u30d5\u30a3\u30fc\u30eb\u30c9\u5024\u3092\u66f8\u5f0f\u8a2d\u5b9a\u3057\u3066\u76f4\u63a5\u51fa\u529b\u3057\u307e\u3059\u304c\u3001<strong>get_field()<\/strong>\u5024\u3092\u5909\u6570\u3068\u3057\u3066\u53d6\u5f97\u3057\u3001\u3055\u3089\u306b\u51e6\u7406\u3057\u307e\u3059\u3002\u30d5\u30a3\u30fc\u30eb\u30c9\u5024\u3092\u3059\u3050\u306b\u51fa\u529b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u3001\u6700\u521d\u306b\u64cd\u4f5c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u306b\u57fa\u3065\u3044\u3066\u3001\u9069\u5207\u306a\u95a2\u6570\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u4e00\u822c\u7684\u306a\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u624b\u9806\u3068\u8003\u616e\u4e8b\u9805<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u5206\u985e\u30ec\u30d9\u30eb\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u30b0\u30eb\u30fc\u30d7<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\u30d5\u30a3\u30fc\u30eb\u30c9\u30b0\u30eb\u30fc\u30d7\u304c\u9069\u5207\u306a\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u30d5\u30a3\u30fc\u30eb\u30c9\u30b0\u30eb\u30fc\u30d7\u3092\u4f5c\u6210\u307e\u305f\u306f\u7de8\u96c6\u3059\u308b\u3068\u304d\u306f\u3001\u300c\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u300d\u8a2d\u5b9a\u3067\u95a2\u9023\u3059\u308b\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u9078\u629e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u30d5\u30a3\u30fc\u30eb\u30c9 \u30b0\u30eb\u30fc\u30d7\u304c\u6709\u52b9\u3067\u30a2\u30af\u30c6\u30a3\u30d6\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u3001\u30d5\u30a3\u30fc\u30eb\u30c9\u30b0\u30eb\u30fc\u30d7\u304c\u8aa4\u3063\u3066\u7121\u52b9\u306b\u306a\u3063\u305f\u308a\u3001\u7279\u5b9a\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u5236\u9650\u3055\u308c\u305f\u308a\u3057\u3066\u3001\u8868\u793a\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3067\u6a5f\u80fd\u3057\u306a\u3044\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u53d6\u5f97<\/strong>:\n<ul class=\"wp-block-list\">\n<li>get_field() \u304c\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3067\u6a5f\u80fd\u3057\u306a\u3044\u5834\u5408\u306f\u3001\u6b63\u3057\u3044\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u7528\u8a9e ID \u307e\u305f\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 ID \u3092\u95a2\u6570\u306b\u6e21\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u518d\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u6b63\u3057\u3044\u5206\u985e\u56fa\u6709\u306e\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066 ID \u3092\u53d6\u5f97\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u30d5\u30a3\u30fc\u30eb\u30c9\u30fb\u30ad\u30fc\u307e\u305f\u306f\u30d5\u30a3\u30fc\u30eb\u30c9\u540d\u304c\u6b63\u3057\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u30d5\u30a3\u30fc\u30eb\u30c9\u30ad\u30fc\u307e\u305f\u306f\u540d\u524d\u306b\u5165\u529b\u30df\u30b9\u304c\u3042\u308b\u3068\u3001get_field() \u304c\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3067\u304d\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u30bf\u30af\u30bd\u30ce\u30df\u30fc \u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3057\u306a\u3044<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u30c7\u30fc\u30bf\u304c\u4fdd\u5b58\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u30d5\u30a3\u30fc\u30eb\u30c9\u30b0\u30eb\u30fc\u30d7\u306e\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u9069\u5207\u306a\u30d5\u30a3\u30fc\u30eb\u30c9\u30bf\u30a4\u30d7\u3068\u8a2d\u5b9a\u3067\u6b63\u3057\u304f\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u4ed6\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3084\u30c6\u30fc\u30de\u3068\u306e\u7af6\u5408\u304c\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u7af6\u5408\u3059\u308b\u30b3\u30fc\u30c9\u3084\u4ed6\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\/\u30c6\u30fc\u30de\u304b\u3089\u306e\u30d5\u30c3\u30af\u304cACF\u306e\u6a5f\u80fd\u3092\u59a8\u3052\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>ACF\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306b\u8868\u793a\u3055\u308c\u306a\u3044\u5834\u5408\u3001\u4f55\u304c\u3067\u304d\u308b\u3067\u3057\u3087\u3046\u304b<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u304c\u30c6\u30fc\u30de\u307e\u305f\u306f\u30d7\u30e9\u30b0\u30a4\u30f3\u30b3\u30fc\u30c9\u306b\u6b63\u3057\u304f\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30d5\u30a3\u30fc\u30eb\u30c9\u30b0\u30eb\u30fc\u30d7\u306f\u3001WordPress\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u30bf\u30af\u30bd\u30ce\u30df\u306b\u306e\u307f\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/li>\n\n\n\n<li>ACF \u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u30b5\u30a4\u30c8\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3001\u30a2\u30af\u30c6\u30a3\u30d6\u5316\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002ACF\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u306a\u3044\u3068\u3001\u30d5\u30a3\u30fc\u30eb\u30c9\u30b0\u30eb\u30fc\u30d7\u306f\u6b63\u3057\u304f\u6a5f\u80fd\u3057\u307e\u305b\u3093\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u5206\u985e\u6cd5\u306b\u3088\u308b\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u53d6\u5f97\u3067\u304d\u306a\u3044\u5834\u5408\u306e\u5bfe\u51e6\u65b9\u6cd5<\/strong>:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306e\u7528\u8a9e\u306b\u57fa\u3065\u3044\u3066\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\u3001\u9069\u5207\u306a\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6307\u5b9a\u3057\u3066WP_Query\u307e\u305f\u306fget_posts()\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u6b63\u3057\u3044\u5206\u985e\u540d\u3068\u7528\u8a9e ID \u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n\n\n\n<li>\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u767b\u9332\u30b3\u30fc\u30c9\u3092\u518d\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u304c\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u6b63\u3057\u304f\u95a2\u9023\u4ed8\u3051\u3089\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u7d50\u8ad6<\/h2>\n\n\n\n<p>ACF\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3057\u3066\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3068\u3001\u7279\u5b9a\u306e\u30cb\u30fc\u30ba\u306b\u5fdc\u3058\u3066Web\u30b5\u30a4\u30c8\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u6574\u7406\u304a\u3088\u3073\u5206\u985e\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30ac\u30a4\u30c9\u3067\u6982\u8aac\u3055\u308c\u3066\u3044\u308b\u624b\u9806\u306b\u5f93\u3046\u3053\u3068\u3067\u3001\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306e\u4f5c\u6210\u3001\u30d5\u30a3\u30fc\u30eb\u30c9\u30b0\u30eb\u30fc\u30d7\u306e\u5272\u308a\u5f53\u3066\u3001\u5024\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u3092\u884c\u3044\u3001WordPress\u30b5\u30a4\u30c8\u306b\u69cb\u9020\u5316\u3055\u308c\u305f\u52b9\u7387\u7684\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3092\u63d0\u4f9b\u3067\u304d\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066<a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/dev.smackcoders.com\/documentation\/wp-ultimate-csv-importer-pro\/acf-import\">ACF\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u3068\u30a8\u30af\u30b9\u30dd\u30fc\u30c8<\/a>\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u5024\u306b\u3064\u3044\u3066\u306f\u3001<a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/dev.smackcoders.com\/ja\/wp-ultimate-csv-importer-pro.html\">CSV\u30a4\u30f3\u30dd\u30fc\u30bf\u30fc\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u3053\u3061\u3089<\/a>.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306f\u3001Web\u30b5\u30a4\u30c8\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u6574\u7406\u304a\u3088\u3073\u5206\u985e\u3059\u308b\u4e0a\u3067\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002\u5e78\u3044\u306a\u3053\u3068\u306b\u3001ACF\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30ab\u30b9\u30bf\u30e0\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u4f5c\u6210\u3057\u3066\u4efb\u610f\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u5272\u308a\u5f53\u3066\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30d6\u30ed\u30b0\u6295\u7a3f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":74922,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3463],"tags":[],"class_list":["post-334755578","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-import-to-custom-fields"],"acf":[],"_links":{"self":[{"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/posts\/334755578","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=334755578"}],"version-history":[{"count":7,"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/posts\/334755578\/revisions"}],"predecessor-version":[{"id":334774464,"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/posts\/334755578\/revisions\/334774464"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/media\/74922"}],"wp:attachment":[{"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/media?parent=334755578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/categories?post=334755578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.smackcoders.com\/ja\/wp-json\/wp\/v2\/tags?post=334755578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}